The other day a friend of mine asked me to install VMware Workstation 10 on Ubuntu 12.04 LTS x64 for him so I did and here is how I did it:
1) Open Terminal and cd to the installation directory (ie. cd Downloads/vmware)
2) You need to add execution rights to the bundle for version for my particular version of Vmware Workstation 8 it is following:
chmod +x VMware-Workstation-Full-8.0.1-528992.x86_64.bundle
3) Then you need to run the installer and follow the installation steps:
sudo ./VMware-Workstation-Full-8.0.1-528992.x86_64.bundle
4) run following:
sudo apt-get install build-essential
5) finish the VMware installation:
sudo vmware-modconfig --console --install-all
6) profit!
Note:
if step 5 fails with “Failed to setup build environment.” you need to install correct linux headers:
apt-cache search linux-headers-$(uname -r)
and
apt-get install linux-headers-$(uname -r)
then return to step 5 and try again – it should be alright
来源: http://www.hackerway.ch/2013/09/16/how-to-install-vmware-workstation-10-on-ubuntu-12-04-lts/