LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 03-18-2002, 08:34 PM   #1
jsurgeson
LQ Newbie
 
Registered: Mar 2002
Location: United Kingdon
Posts: 11

Rep: Reputation: 0
How do I install kernel headers


Please help!!! I am trying to install drivers for my modem but I need to have the kernel headers installed. I think they are meant to be in /usr/src/Rehat...
Are they on the install cd? if so hoe do I install them, I have just installed RH 7.2
:smash:
 
Old 03-19-2002, 12:27 AM   #2
isajera
Senior Member
 
Registered: Jun 2001
Location: San Antonio, TX
Distribution: distro? what's a distro?
Posts: 1,635

Rep: Reputation: 45
the kernel source headers are in /usr/include/linux ...HOWEVER...

that directory is almost always a symlink to a directory in the kernel sources themselves - /usr/src/linux/include/linux
if you don't have the kernel source installed, chances are that you don't have the headers installed either. it's safe to put them both in.
 
Old 03-19-2002, 07:13 AM   #3
jsurgeson
LQ Newbie
 
Registered: Mar 2002
Location: United Kingdon
Posts: 11

Original Poster
Rep: Reputation: 0
Hi
thanks I did not have the header or header source installed and have now managed to do it and complete the build_module and build_rpm for the modem drivers, all is working I just need to work out how the hell to get my dial up connection to work with a linux browser.
 
Old 03-26-2002, 11:02 PM   #4
AdamZappal
LQ Newbie
 
Registered: Mar 2002
Location: Leadville, Colorado at 10,200 feet above sea level
Distribution: Red Hat 7.2 Gnome Kernel 2.4.9-31
Posts: 8

Rep: Reputation: 0
Hi thanks for your message but, how does someone install the headers/source from the CD? When I goto /usr/src the directory is entirely empty. Also /usr/include/linux does not exist. Please, any advice would be great.

Quote:
Originally posted by isajera
the kernel source headers are in /usr/include/linux ...HOWEVER...

that directory is almost always a symlink to a directory in the kernel sources themselves - /usr/src/linux/include/linux
if you don't have the kernel source installed, chances are that you don't have the headers installed either. it's safe to put them both in.
 
Old 03-27-2002, 06:01 AM   #5
jsurgeson
LQ Newbie
 
Registered: Mar 2002
Location: United Kingdon
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by AdamZappal
Hi thanks for your message but, how does someone install the headers/source from the CD? When I goto /usr/src the directory is entirely empty. Also /usr/include/linux does not exist. Please, any advice would be great.

Hi I had the same problem when I tried to install drivers for my win modem, the driver files needed the kernel src and headers to be installed before it would install the drivers, my /usr/include/linux did not exist until I installed the kernel headers from my rh install cd.
Try running the install cd and it should come up with a rpm install program which should show which are and which are not installed look down the list and you should find the kernel headers to install it will make all the missing /usr/include/src etc dir. I am also very new to linux (1month) so please do not take what I say as gospil. Good luck Jeff
 
  


Reply


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
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 10:17 AM
install script can not find kernel-headers abtimoteo Linux - Laptop and Netbook 1 05-01-2005 04:29 AM
Kernel Headers 2.4.22 with new Kernel 2.6.3 Install 2TonCartoon Slackware 4 03-06-2004 05:52 AM
nVidia Driver won't install because Kernel Headers are missing...Whats that me then? Stevetgn Linux - Newbie 3 08-24-2003 09:27 PM
How to install kernel headers for redhat 9.0? Tommi Linux - General 5 07-02-2003 08:15 AM


All times are GMT -5. The time now is 05:07 PM.

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