I can't install VMwarePlayer 4.0.3 on Ubuntu 12.04 64Bit. For Version 4.0.2, I found a script that I have to run and after that I could install 4.0.2. Is there an similar solution for Version 4.0.3?
I ran into the same problem, and I was able to make the same patch work by editing a version number in the script which applies it.
WARNING: I don't actually know what I'm talking about when it comes to VMware patching, I just made an educated guess that seems to work.
Whether you want to try this yourself depends on how risk-averse you are. But hey, your VMware Player install is already broken, right? I figured worst-case scenario I could uninstall and reinstall version 4.0.2.
I based this on the instructions I found here: vmware player compile issue. To boil it down to the simplest steps:
- Download this tarball: http://weltall.heliohost.org/wordpress/wp-content/uploads/2012/01/vmware802fixlinux320.tar.gz
- Extract the tarball in your home directory
- Edit the file patch-modules_3.2.0.sh. Look for the line
plreqver=4.0.2and change it to
- Save the file, then run it.
If you have run the same patch on version 4.0.2 before, you may get this error: "/usr/lib/vmware/modules/source/.patched found. You have already patched your sources. Exiting". If you see that, just delete the
/usr/lib/vmware/modules/source/.patched file and try again.
Please remember to have patch packet installed:
apt-get install patch. My default installation of latest Kubuntu didn't have it, so I got error:
./patch-modules_3.2.0.sh: line 42: patch: command not found
Sometimes, the version check does not properly. In this case, you could remove it by deleting the 4 lines following "unset product", all of them begin with "[". This again may increse the risk of breaking something.
Since VMware Player is not provided by the repositories, you have to instead download it here at the VMware website.
Note that VMware Player (like VMware Workstation) no longer has a 32-bit version, so if running
uname -m shows
x86_64, you can run it, but if it shows
i686, you can't (or would have to use an old version).
After the download completes, go to the folder to which you downloaded it in the Terminal. You can do this with the
cd command. For example, if you put it in your
Downloads folder, run:
(In the Terminal, the
~ character at the beginning of a file path represents your home folder.)
Now make this installer file executable with the
chmod command. Currently, VMware Workstation 15.1.0 Player Build 13591040 is the latest version. For that, you would run:
chmod +x VMware-Player-15.1.0-13591040.x86_64.bundle
(Use the full name of whatever file you download. The naming convention might change in the future.)
The installer may need to build and install kernel modules, so it's advisable to make sure you have the necessary packages to facilitate this. Run
uname -r. These days, the output usually ends in
-generic. (On old versions of Ubuntu,
virtual were common too.) If it doesn't end in
-generic below with whatever it does end in.
sudo apt-get update sudo apt-get install build-essential linux-headers-generic
Now run the installer. You have to run it as
root, so use
The rest of the installation process is guided and graphical. While you had to run the installer as root (with
sudo), you do not generally need to run, and should not generally run, VMware Player as
root after you've installed it. Occasionally, after an update to your kernel or VMware Player, VMware Player may ask you to allow it to build and install new kernel modules as root. That's okay.
With old versions of VMWare, you may get a kernel error when running it for the first time. If possible, you should use a newer version--or at least a version that is still supported--not just to solve those problems, but also because hypervisors like VMware Player and VMware Workstation can contain security vulnerabilities that get patched in supported versions. However, if you do use an old version and get kernel errors, see this page. If you believe you have the problem described there, you can download and run
cd /tmp wget http://communities.vmware.com/servlet/JiveServlet/download/1553530-39784/patch-modules.sh wget http://communities.vmware.com/servlet/JiveServlet/download/1553530-39785/vmware-7.1-2.6.35-3-generic.patch sudo sh patch-modules.sh
If that doesn't work (and it asks you for the patch location) try this for the location:
This extra information was taken from that page, and all I did was add the
/tmp/patch-modules.sh. You should refer to the forum link above if you're going to attempt this (or have trouble with it). Most users today will not need to do that.
Click on download Then Register IT Complete Registration Then Download The Version You Want To I Have Ubuntu 11.10 x64 bit Download Once Downloaded then run the Following Command
sudo apt-get install build-essential linux-headers-`uname -r`
then go to your Download Directory
cd Download (full command will be cd /home/your-user-name/Download) ls -l gksudo bash ./VMware-Player-4.0.2-591240.x86_64.bundle
You can download the
Vmware player for Linux from the official website with
.bundle as the extension.
After that navigate to the downloaded folder in terminal.
Then use the command:
sudo sh filename.bundle
it will do the remaining job.
It worked for me.
Works for different Versions, i tested it with version 18.104.22.1684019:
vmware-installer -l in a console to get version number.
Edit the file
Look for the line plreqver=4.0.2 and change it to plreqver=[copy and paste version number, just the three digit x.x.x ]
Remove the following lines:
unset product [ -z "$vmver" ] && error "VMWare is not installed (properly) on this PC" [ "$vmver" == "workstation$vmreqver" ] && product="VMWare WorkStation" [ "$vmver" == "player$plreqver" ] && product="VMWare Player" [ -z "$product" ] && error "Sorry, this script is only for VMWare WorkStation $vmreqver or VMWare Player $plreqver"
id -u" != "0" ] && error "You must be root to run this script" [ -f "$ptoken" ] && error "$ptoken found. You have already patched your sources" [ ! -d "$basedir" ] && error "Source '$basedir' directory not found, reinstall $product" [ ! -f "$fpatch" ] && error "'$fpatch' not found. Please, copy it to the current '$curdir' directory"
Now run the patch via
sudo sh patch-modules_3.2.0.sh
Virtualbox is similar to VMware player, but in contrast to VMware player it is contained in the repositories. The advantage for pulling from repositories is that you don't have to worry about updates, they come with the regular system updates. Virtualbox can read VMware images.
From the command line
apt-get install virtualbox, or search for
virtualbox in the Software Center.
If you really want to install VMware Player, find the
.debinstallation file for your architecture (32 or 64 bit). Usually double clicking will start installation. You are required to take care of all updates yourself in this case.
protected by Community♦ May 4 '12 at 15:39
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?