How to install Kernel Headers on Ubuntu Linux, the following guide will show you the easiest way to install Ubuntu Kernel headers.
Tutorial for Ubuntu Kernel Headers Install
The following command will automatically detect the version of the Linux kernel you are running and download the headers via apt.
1
sudo apt-get install linux-headers-$(uname -r)
This should give you an out put similar to the following:
123456789101112
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
linux-headers-2.6.32-38-server
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 0B/822kB of archives.
After this operation, 9,388kB of additional disk space will be used.
Selecting previously deselected package linux-headers-2.6.32-38-server.
(Reading database ... 63398 files and directories currently installed.)Unpacking linux-headers-2.6.32-38-server (from .../linux-headers-2.6.32-38-server_2.6.32-38.83_amd64.deb) ...
Setting up linux-headers-2.6.32-38-server (2.6.32-38.83) ...
You now have Ubuntu kernel headers installed, which should enable you to build software that depends upon them (such as VMware tools).