From: Suchakra Sharma Date: Fri, 17 Oct 2014 19:51:50 +0000 (-0400) Subject: fedora: add procedure to install LTTng-modules X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a04900a790d5cfe88a96815ebf2bef1ba4399f45;p=lttng-docs.git fedora: add procedure to install LTTng-modules --- diff --git a/contents/installing-lttng/desktop-distributions/fedora.md b/contents/installing-lttng/desktop-distributions/fedora.md index e6cecbc..44e4979 100644 --- a/contents/installing-lttng/desktop-distributions/fedora.md +++ b/contents/installing-lttng/desktop-distributions/fedora.md @@ -10,5 +10,17 @@ sudo yum install lttng-tools sudo yum install lttng-ust -LTTng-modules still needs to be built and installed -[from source](#doc-building-from-source). +LTTng-modules still needs to be built and installed from source. For that, +make sure that the `kernel-devel` package is already installed beforehand: + +
+sudo yum install kernel-devel
+
+ +Proceed on to fetch [LTTng-modules' source](#doc-building-from-source). +Build and install it as follows: + +
+KERNELDIR=/usr/src/kernels/$(uname -r) make
+sudo make modules_install
+