Quick Guide: Installing VMware Tools with Fedora 12

Running on vSphere 4.1, I installed a VM with Fedora 12 on it (Kernel version: and when I tried to install VMware Tools, I kept  getting an error at the step that said:
“What is the location of the directory of C header files that match your running kernel?”

There are countless posts around the internet with people looking for help with this.

I searched and searched online but could not find a solution that worked for me, until I came across this site, which I followed and it worked perfectly!

The steps are copied below for reference (from the above site).

  1. Download Fedora 12.
  2. Install the OS.
  3. Boot up the virtual machine.
  4. Open up the Terminal.
  5. Run “su” and type your root password to gain administrative control.
  6. Run “yum update” to update all the packages to the newest version.
  7. Reboot.
  8. Open up the Terminal.
  9. Run “yum install kernel-devel kernel-headers gcc mkinitrd”
  10. Reboot.
  11. Click the menu option in your VMware application to install VMware tools. This should put a compressed folder on the desktop.
  12. Expand the zip file and using the terminal, navigate into the newly created directory.
  13. As the root user, type “./vmware-install.pl”
  14. When it asks you questions and prompts you for a response, just hit enter. Everything should be properly configured at this point.
  15. Reboot when the script finishes. That’s it!