Fedora Core 4 Kernel Source Installation
Fedora no longer ships with the kernel-source RPM.
The default kernel source can be found through any mirror. Look in the directory "/4/i386/os/SRPMS/". An example from Fedora: http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/SRPMS/ Use the 'uname' command to find your current kernel version: # uname -a
You will find your kernel version. Let's say it is 2.6.11-1.1369_FC4 Download kernel-2.6.11-1.1369_FC4.src.rpm from your favorite source, then install it with the command: # rpm -ivh kernel-2.6.11-1.1369_FC4.src.rpm 1:kernel ########################################### [100%]
Now you have to install the rpm source with the following command: # rpmbuild -bp --target=noarch /usr/src/redhat/SPECS/kernel-2.6.spec The source files will be properly located in '/usr/src/redhat/BUILD/kernel-2.6.11/' You may have to soft link the source back to /usr/src in order to have it in the proper path (depending on what you need the source for). The command would be something like:
# ln -s /usr/src/redhat/BUILD/kernel-2.6.11 /usr/src/linux
Fedora's reference for this is at: FC4 Release Notes - Kernel.


