This Simple and Useful Tutorial Guide Through Installing and Checking for the Kernel Headers and is Valid for Most Linux Distros.
Relax and Take the Time of Reading and Executing these Simple Commands on Terminal Console ;)
- Open a Terminal Window
Prepare Fedora for VMware Installation
- Installing some Prerequisite Packages
yum install gcc gcc-c++ make binutils
- Updating the Kernel and Rebooting
yum update kernel
reboot
- Installing the Kernel's Development Packages
su
yum install kernel-headers kernel-devel
- Checking if the Kernel Headers are In Place
Get your kernel type with:
uname -rs
The output will look like: Linux yourKernelVersion
Example: Linux 2.6.34.8-68.fc13
The C headers of your kernel should be founded in:
/lib/modules/$(uname -rs)/build/include
ls /lib/modules/$(uname -rs)/build/include
Should give you an output similar to this below:
acpi crypto Kbuild math-emu net rxrpc trace asm-generic drm keys media pcmcia scsi video config generated linux mtd rdma sound xen
- Installing some Prerequisite Packages