LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 07: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-18-2002, 11:27 PM   #2
isajera
Senior Member
 
Registered: Jun 2001
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, 06: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, 10: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, 05: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:14 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration