Ubuntu13.04安装VMware9出错:Kernel Headers for version X.X.XX-XX-generic were not found

如图:


百度了好长时间没解决。。最后还是Google给力,翻了一堆英文网页,找到个解决方案:

sudo apt-get install linux-headers-$(uname -r)
cd /lib/modules/$(uname -r)/build/include/linux
sudo ln -s ../generated/utsrelease.h
sudo ln -s ../generated/autoconf.h
sudo ln -s ../generated/uapi/linux/version.h 

然后又出现了这个问题:

Before you can run VMware, several modules must be compiled and loaded into the kernel CANCEL / INSTALL

Ubuntu13.04安装VMware9出错:Kernel Headers for version X.X.XX-XX-generic were not found_第1张图片

执行如下命令:

sudo apt-get install open-vm-tools open-vm-tools-dev open-vm-dkms open-vm-toolbox open-vm-tools-dev

然后,然后整个世界就清净了。。。

Ubuntu13.04安装VMware9出错:Kernel Headers for version X.X.XX-XX-generic were not found_第2张图片



你可能感兴趣的:(Ubuntu13.04安装VMware9出错:Kernel Headers for version X.X.XX-XX-generic were not found)