LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   kernel headers (https://www.linuxquestions.org/questions/linux-general-1/kernel-headers-82895/)

mmm 08-17-2003 03:44 PM

kernel headers
 
How can I install the kernel headers to some already installed kernel? Do I have to recompile it? Or how? There is now README file:(

vexer 08-17-2003 04:15 PM

I believe you can install kernel headers for the stock kernel using
debian's apt-get. Since I don't know how to use apt-get since I've
never used debian, I can't tell you exacly how to do it. But if it's
for the stock kernel, use apt-get, if you compiled your own kernel
and you some how removed all the headers (make distclean), then
yes you must recompile, (just make dep bzImage modules should
do it).

-vexer

mmm 08-18-2003 08:30 AM

Hi, I used apt-get install kernel-headers, but I just have the kernel headers directory in /usr/src in it are Makefile and include/ and in there are many directories. I was downloading the headers for 2.6.0-test1 because when I was downloading this kernel there weren't any headers with it. And the test2 is not running for me:( I also downloaded the test3 but that one also doesn't have headers(I need the headers for the nvidia driver installer).


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