How To Install VMware Player In Ubuntu 12.04

系统 1859 0

 

The latest VMware Player 4.0.3 fails to install in Ubuntu 12.04 (with Linux Kernel 3.2.x) due to a Virtual Network Device error, but you can get it to work using a patch. Here's how to do it.


Install VMware Player in Ubuntu 12.04 Precise Pangolin (Linux Kernel 3.2)

 

1. Download VMware Player in your home folder. You'll have to register before downloading (or search for some alternate download link).

Note: if you're using Google Chrome, the downloaded file will have ".txt" extension - rename the extension to ".bundle".

 

2. Now let's install the required dependencies and run the downloaded VMware .bundle file:
        sudo apt-get install build-essential linux-headers-`uname -r`
      
 

32bit:

      chmod +x VMware-Player-4.0.3-703057.i386.bundle
sudo ./VMware-Player-4.0.3-703057.i386.bundle
    

 
64bit:

      chmod +x VMware-Player-4.0.3-703057.x86_64.bundle
sudo ./VMware-Player-4.0.3-703057.x86_64.bundle
    

 

The filename in the commands above may be different, depending on the VMware version you've downloaded (at the time I'm writing this post, version 4.0.3 is the latest).

At this point, a window will pop-up - click "Next", etc.:



3. Patch VMware 4.0.3 to work with Ubuntu 12.04 Precise Pangolin

Don't try to run VMware player in Ubuntu 12.04 yet because it won't work due to the following Virtual Network Device error: " Unable to start services. See log file /tmp/vmware-root/mdconfig-23331.log for details ".


We'll have to patch it to get it to work, using the commands below:

      sudo apt-get install patch
cd
wget http://webupd8.googlecode.com/files/vmware802fixlinux320.tar.gz
tar -xvf vmware802fixlinux320.tar.gz
sudo ~/vmware802fixlinux320/patch-modules_3.2.0.sh
    

 
Update: for other versions like VMware Player 4.0.4 , edit the "patch-modules_3.2.0.sh" file (from the archive downloaded by the second command above) and change the "plreqver" version to the VMWare Player version you're using.

The commands above download the patch and run it but if you want, you can also manually download the patch from HERE .

 

If you've had an earlier VMware version installed and used the patch for it, you'll get an error like this:
        /usr/lib/vmware/modules/source/.patched found. You have already patched your sources. Exiting
      
 

To fix it, simply remove the ".patched" file and try again:

      sudo rm /usr/lib/vmware/modules/source/.patched
    

 
VMware Player 4.0.3 should now work under Ubuntu 12.04 Precise Pangolin:

 

The patch should work with both VMware Player and VMware Workstation, but I've only tested it with VMware Player (under Ubuntu 12.04).
 

Uninstall 卸载

      sudo vmware-installer -u vmware-player
    

 

来源:  http://askubuntu.com/questions/151099/how-to-uninstall-vmware-player-on-ubuntu-12-04

How To Install VMware Player In Ubuntu 12.04


更多文章、技术交流、商务合作、联系博主

微信扫码或搜索:z360901061

微信扫一扫加我为好友

QQ号联系: 360901061

您的支持是博主写作最大的动力,如果您喜欢我的文章,感觉我的文章对您有帮助,请用微信扫描下面二维码支持博主2元、5元、10元、20元等您想捐的金额吧,狠狠点击下面给点支持吧,站长非常感激您!手机微信长按不能支付解决办法:请将微信支付二维码保存到相册,切换到微信,然后点击微信右上角扫一扫功能,选择支付二维码完成支付。

【本文对您有帮助就好】

您的支持是博主写作最大的动力,如果您喜欢我的文章,感觉我的文章对您有帮助,请用微信扫描上面二维码支持博主2元、5元、10元、自定义金额等您想捐的金额吧,站长会非常 感谢您的哦!!!

发表我的评论
最新评论 总共0条评论