[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel-source and kernel-header?



Hello

lianliming (<lianliming@realss.com>) wrote:

> i want to compile and install a new kernel. Using aptitude to
> search the "kernel" package, i find there are "kernel-source" and 
> "kernel-header" packages. Should i install the both kernel "source" 
> and "header" to install the new kernel? 

If you use a precompiled kernel and want to compile software that needs
the headers of the kernel you use (e.g. a device driver), you install
the mathing headers package for your kernel. If you compile your own
kernel, you will have the headers you need in the kernel source dir.

best regards
 Andreas Janssen

-- 
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html



Reply to: