我无法在Ubuntu 12.04 64位上安装VMwarePlayer 4.0.3。对于版本4.0.2,我找到了一个脚本,必须运行该脚本以修补VMware Player,使其在我的系统上正常工作,之后我才能安装4.0.2。
是否有类似的解决方案适用于版本4.0.3?
是否有类似的解决方案适用于版本4.0.3?
plreqver=4.0.2
并将其修改为 plreqver=4.0.3
sudo ./patch-modules_3.2.0.sh
如果之前在版本 4.0.2 上运行过相同的补丁,可能会出现以下错误: "/usr/lib/vmware/modules/source/.patched 已找到。你已经对源进行了补丁。退出". 如果看到这个错误,请删除 /usr/lib/vmware/modules/source/.patched
文件,然后重试。
apt-get install patch
。我的最新Kubuntu默认安装中没有它,所以出现了错误。./patch-modules_3.2.0.sh: line 42: patch: command not found
适用于不同版本,我已经测试过4.0.4.744019版本:
在控制台中运行vmware-installer -l
以获取版本号。
编辑文件patch-modules_3.2.0.sh
:
id -u
" != "0" ] && error "您必须以root身份运行此脚本" [ -f "$ptoken" ] && error "$ptoken已找到。您已经修补了您的源代码" [ ! -d "$basedir" ] && error "找不到源代码目录'$basedir',请重新安装$product" [ ! -f "$fpatch" ] && error "'$fpatch'未找到,请将其复制到当前目录'$curdir'"sudo sh patch-modules_3.2.0.sh
来运行补丁。