Monday, July 7, 2008

Fedora 9: Kernel Headers Installation

Define kernel-headers?

Kernel-headers includes the C header files that specify the interface between the Linux kernel and userspace libraries and programs.  The header files define structures and constants that are needed for building most standard programs and are also needed for rebuilding the glibc package.

If you are planning to build and compile modules, or even install a driver or any other linux applications that require kernel sources and/or kernel headers files, here's a quick post on how to install kernel headers on Fedora box.

Fedora 9: Kernel Headers Installation

Kernel Headers DVD Installation

Kernel headers rpm package is shippe with Fedora 9 DVD. To install kernel headers from F9 DVD, mount your DVD and proceed to Package folder

# mkdir /media/F9

# mount -o loop -t iso9660 /myISO/Fedora-9-i386-DVD.iso /media/F9

# cd /media/F9

# cd Packages ; ls -la kernel-headers*

# rpm -ivh kernel-headers-2.6.25-14.fc9.i386.rpm

Kernel headers installation using yum

# yum -y install kernel-headers

To verify kernel-headers installation

# rpm -qa kernel-headers

To update kernel-headers

# yum -y update kernel-headers

0 comments:

Sign up for PayPal and start accepting credit card payments instantly.
ILoveTux - howtos and news | About | Contact | TOS | Policy