[CentOS-virt] What kernel source and how to download it

Thu Nov 26 17:35:21 UTC 2009
Drew <drew.kay at gmail.com>

Hi Mauro,

My understanding of the situation is that the kernel-devel package has
the source code the kernel is compiled against. If you look at the
output of the yum info you posted the package shows version 2.6.18
which is the kernel version that CentOS is compiled against.
kernel.org is only referenced because they are the upstream creator of
the source code for that package.

So all you need to do to get the CentOS kernel source code is yum
install kernel-devel. You'll get 2.6.18 with the CentOS/RHEL patches.



-- 
Drew

"Nothing in life is to be feared. It is only to be understood."
--Marie Curie