[CentOS] Where do I get Centos 5 Kernel sources for compiling drivers?

Akemi Yagi amyagi at gmail.com
Thu Jun 28 11:27:16 UTC 2007

On 6/28/07, Richard Chapman <rchapman at aardvark.com.au> wrote:

> Thanks also for the info on kernel-devel - but the snag is my centos
> system isn't on the Internet because the lan driver is broken...:-). We
> seem to have  a bootstrap problem...:-). I therefore assume I can't just
> "yum" for it. Can you tell me where I can find it for the xen enabled
> kernel 2.6.18-8.el5.src? Presumably I can then download it and transfer
> it on a usb drive - then use a local "yum" command? Do you know where to
> find it and how to do the local yum command?

Look in here:


Find the kernel-devel rpm that corresponds to your kernel and run:

rpm -Uvh kernel-devel-xxxx.rpm


More information about the CentOS mailing list