I installed the VMware bundle on my Ubuntu 11.04 successfully but when I open it it gives me this window
and I don't know the path to this C headers.
I installed the VMware bundle on my Ubuntu 11.04 successfully but when I open it it gives me this window
and I don't know the path to this C headers.
After adding the symlink, the path is
/usr/src/linux-headers-$(uname -r)/include
(Thanks @Kariem!)Below commands are very helpful for you:
Step 1 : Ctrl + Alt + T
Step 2 :
sudo apt-get install linux-headers-$(uname -r)
Step 3 : The path to the kernel headers is then
/usr/src/linux-headers-$(uname -r)/include
Before installing Vmware Workstation you need to install build-essential and linux headers
and then
Done thats it, install Vmware Workstation now
There are a few files in locations that the installer doesn't expect, I run this and it works:
My first guess is that you haven't installed the headers. You need to install the appropriate linux-headers package. Most likely, you need to install
linux-headers-generic
. However, if if you're running some kernel other thanlinux-generic
, install the linux-headers package for that kernel.If you've already installed the headers, they should be in
/usr/src
.Problem can be solved in two steps, after installing vmware workstation 9.X.X (in terminal):
sudo apt-get install gcc
sudo vmware-modconfig --console --install-all --appname="VMware Player" --icon="vmware-player"
CTRL+ALT+t
sudo apt-get install linux-headers-generic
Had the same issue, I was running kernel 3.2.0-29 but only had linux-headers-3.2.0-35 in /usr/src/