[CentOS] kernel sourcecode ?

Karanbir Singh mail-lists at karan.org
Wed Oct 19 14:02:24 UTC 2005

Mário Gamito wrote:
> I've just installed CentOS 4.2
> I must recompile the kernel and for that i used to do a "yum install 
> kernel-sourcecode".
> Now, it doesn't works anymore.
> In /usr/src/kernels/... compiling gives an error straight from the start.
> Where is now kernel's source code ?

short answer :  "yum install kernel-devel", if that does not work get 
the .src.rpm for the kernel version and manually install that.

- K
Karanbir Singh : http://www.karan.org/ : 2522219 at icq

More information about the CentOS mailing list