LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I install kernel headers (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-install-kernel-headers-16554/)

jsurgeson 03-18-2002 07:34 PM

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:

isajera 03-18-2002 11:27 PM

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.

jsurgeson 03-19-2002 06:13 AM

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.

AdamZappal 03-26-2002 10:02 PM

Hi thanks for your message but, how does someone install the headers/source from the CD? When I goto /usr/src :confused: 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.


jsurgeson 03-27-2002 05:01 AM

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 :confused: 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


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