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

Peter Kjellstrom cap at nsc.liu.se
Thu Jun 28 11:29:32 UTC 2007


On Thursday 28 June 2007, Richard Chapman wrote:
> Thanks Peter and Akemi. I stand suitably chastised for replying to
> random post. I wont do it again. Maybe this is why I haven't found the
> list as responsive as it seemed to others... Thanks for the information.
> I didn't know about the smarts in the email client.
>
> 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?

No you don't want the source, you want the package:
kernel-devel

to be exact:
http://mirror.nsc.liu.se/centos/5.0/updates/x86_64/RPMS/kernel-xen-devel-2.6.18-8.1.6.el5.x86_64.rpm

(or from another mirror, or an older version if you cant security update, or 
i386 instead of x86_64 if that's the case ...)

> Presumably I can then download it and transfer 
> it on a usb drive - then use a local "yum" command?

The download to usb-stick part sounds ok, but I'm not sure a "yum 
localinstall .." will work since this still assumes network (just that you 
have this here local rpm to install). My suggestion, just do "rpm -ivh 
file.rpm".

Good luck,
 Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.centos.org/pipermail/centos/attachments/20070628/c23dfba0/attachment.bin


More information about the CentOS mailing list