#copy from my sina blog http://blog.sina.com.cn/s/articlelist_1741226685_0_1.html
#default
debian linux have not install kerner headerspacker#so ,if when install vmware , will trouble in “The path "" is not avalid path to the 3.14.0-4-amd64 kernel #headers”
sudo aptitude
update
sudo aptitude
searchlinux-headers-$(uname -r)
sudo aptitude install linux-headers-$(uname -r)
#download VM workstation from VM website
#https://my.vmware.com/web/vmware/info/slug/desktop_end_user_computing/vmware_workstation_pro/12_0
# for linux XXX.bundle
#change permission
chmod +x XXX.bundle
# run app
sudo . /XXX.bundle
#here is method of how to uninstall vmware station
sudo ./VMware-Workstation-Full-12.1.0-3272444.x86_64.bundle--uninstall-product vmware-workstation
#or you can do this:
sudovmware-installer --uninstall-productvmware-workstation