Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-26-2007, 02:44 PM   #1
Registered: Sep 2003
Posts: 57

Rep: Reputation: 15
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.

Old 06-26-2007, 02:51 PM   #2
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
This is covered here:
Old 06-26-2007, 09:02 PM   #3
Junior Hacker
Senior Member
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
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.
Old 06-27-2007, 07:38 AM   #4
Registered: Sep 2003
Posts: 57

Original Poster
Rep: Reputation: 15
Thank you very much guys. I will give that a try.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Source Location pete1234 Linux - Kernel 8 08-27-2006 04:08 PM
Kernel Source Location alltime Linux - General 2 10-18-2005 12:21 AM
Location of kernel source Echo Kilo Linux - General 2 12-19-2004 06:15 PM
kernel source location on Sid 1madstork Debian 8 12-04-2004 08:04 AM
location of kernel source joe_sixpack Linux - General 2 02-19-2004 03:45 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration