Ubuntu: Installing VMware Player


I installed VMware Player-4.0.6-1035888.x86_64 on my x64 Ubuntu 14.04 LTS, but when I run it I get this error message:

C header files matching your running kernel were not found. Refer to your distribution's documentation for installation instructions.

Now, I've run this beforehand:

sudo apt-get install build-essential linux-headers-$(uname -r)  

and the folder named linux-headers-3.13.0-24-generic exists already in /usr/src

Any solutions?

Thanks in advance!


Normally this answer above worked, but how about for situation where the kernel gets upgraded?

I upgraded to Ubuntu 14.04 LTS (lubuntu) and VMWare was requiring a fresh compile. when it got to "vnet" part, it failed and left me with a non working VM. Ugh!

I removed VMWare (VMware-Player-6.0.1.xxxx) and installed VMware-Player-6.0.2. The install went smoothly, no questions asked. Back in business.

Gist is: remove VMWare, install it again.


Try this:

sudo ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/version.h  

This should allow vmplayer to find the linux header path automatically.


The fix is surely to install the most recent version.


Had the same problem, seems like I had downloaded not the latest version. I could only find the latest version through this link.


There is a little box at the top of the download page that determines the version you are about to download

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »