1. 更新或安装linux headers
apt-cache search linux-headers-'uname -r'
sudo apt-get update
$sudo apt-get install build-essential
$ sudo apt-get install linux-headers-`uname -r`
2. 建立软连接
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
3. 运行vmware-config-tools.pl
$ tar zxf /media/cdrom/VMwareTool-5.0.0-*.tar.gz (随版本号改变)
$ cd vmware-tools-distrib
$ sudo ./vmware-install.pl
若执行到一半,路径改为
/usr/src/linux-headers-4.4.0-21-generic/include