如何安装 VMware Player 4.0.3(并修补安装程序以在我的 12.04 系统上运行)?

Mar*_*Lux 37 software-installation vmware-player

我无法在 Ubuntu 12.04 64Bit 上安装 VMwarePlayer 4.0.3。对于 4.0.2 版,我找到了一个脚本,我必须运行该脚本来修补 VMware Player 才能使其在我的系统上正常运行,然后我可以安装 4.0.2。

版本 4.0.3 是否有类似的解决方案?

小智 45

我遇到了同样的问题,我能够通过在应用它的脚本中编辑版本号来使相同的补丁工作。

警告:当谈到 VMware 补丁时,我实际上并不知道我在说什么,我只是做了一个似乎有效的有根据的猜测。

您是否想自己尝试取决于您的风险厌恶程度。但是,嘿,您的 VMware Player 安装已经损坏,对吗?我想在最坏的情况下我可以卸载并重新安装 4.0.2 版。

我基于我在此处找到的说明:vmware player compile issue。归结为最简单的步骤:

  1. 下载这个压缩包:http : //weltall.heliohost.org/wordpress/wp-content/uploads/2012/01/vmware802fixlinux320.tar.gz
  2. 在您的主目录中提取 tarball
  3. 编辑文件 patch-modules_3.2.0.sh。查找该行plreqver=4.0.2并将其更改为plreqver=4.0.3
  4. 保存文件,然后运行它。 sudo ./patch-modules_3.2.0.sh

如果您之前在 4.0.2 版上运行过相同的补丁,您可能会收到以下错误:“/usr/lib/vmware/modules/source/.patched found. You have already patched your sources. Exiting”。如果您看到了,请删除该/usr/lib/vmware/modules/source/.patched文件并重试。


请记得安装补丁包:apt-get install patch. 我的最新 Kubuntu 的默认安装没有它,所以我得到了错误:

./patch-modules_3.2.0.sh: line 42: patch: command not found
Run Code Online (Sandbox Code Playgroud)

有时,版本检查不正确。在这种情况下,您可以通过删除“unset product”之后的 4 行来删除它,所有这些行都以“[”开头。这可能会再次增加破坏某些东西的风险。

  • 此解决方法也适用于 Vmware Player 4.0.4(将 patch-modules_3.2.0.sh-File 中的 4.0.2 或 4.0.3 更改为“4.0.4”;检查您的系统上是否安装了“patch”-package 或从 Ubuntu 软件中心获取它;如果在修补过程中出现错误,请删除“.patched”文件 - 如果您已经为其他版本修补了 - 在终端中输入:/usr/lib/vmware/modules/source/.patched ) (4认同)