LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kernel source directory location (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-source-directory-location-564650/)

gemini728 06-26-2007 02:44 PM

Kernel source directory location
 
Linux newbie here.

I am trying to install TrueCrypt on Fedora 7. They do not have a binary install file for the distro, so I have to download the sources and compile. I followed the instructions, but one of the parameters is the location of the Linux kernel source directory. I do not know where that is. Can anybody help with letting me know where it might be located on Fedora 7?

Thank you in advance.

Greg.

Lenard 06-26-2007 02:51 PM

This is covered here: http://fedoraproject.org/wiki/Docs/CustomKernel

Junior Hacker 06-26-2007 09:02 PM

You need to make sure kernel-devel, gcc, and gcc++ is installed. The source directory for building kernel modules is /lib/modules/uname -r/build. If the "build" is not there means you do not have kernel-devel package matching current running kernel installed. "uname -r" is the name of the current running kernel, typing 'uname -r' in a terminal tells you which one is running.

gemini728 06-27-2007 07:38 AM

Thank you very much guys. I will give that a try.


All times are GMT -5. The time now is 11:39 PM.