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?

  • on VMware Kernel Module Updater -Dialog I get the Error on Compiling "Virtual Network Device" and an Error-Messagebox: "Unable to start services." – Marian Lux May 3 '12 at 18:30

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:

  1. Download this tarball: http://weltall.heliohost.org/wordpress/wp-content/uploads/2012/01/vmware802fixlinux320.tar.gz
  2. Extract the tarball in your home directory
  3. Edit the file patch-modules_3.2.0.sh. Look for the line plreqver=4.0.2 and change it to plreqver=4.0.3
  4. Save the file, then run it. sudo ./patch-modules_3.2.0.sh

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.

  • +1 Awesome, It worked after changing 4.0.2 to 4.0.3 – Caterpillar Jun 3 '12 at 4:37
  • 4
    This workaround also works for Vmware Player 4.0.4 (change 4.0.2 or 4.0.3 in the patch-modules_3.2.0.sh-File to "4.0.4"; check if "patch"-package is installed on your system or get it from the Ubuntu Software Center; remove the ".patched" file if you get an error during patching - if you have already patched for an other version - type: /usr/lib/vmware/modules/source/.patched in terminal) – Marian Lux Jun 15 '12 at 9:53
  • @dbrewer, I got this from a submitted edit but I can't tell if it's correct, can you look at it and see if it's necessary to add to your answer? "Helllo, your answer is very strong and congratulate!!!! But i have to mention that after editing the patch-modules_3.2.0.sh file we need to change not only the plreqver=4.0.3 but also the vmreqver=8.0.4 and follow the steps that you described. AND it'll work." – Jorge Castro Jul 25 '12 at 20:50
  • Hi Jorge. I'm not sure if that's correct either. I know that when I originally did this I only had to do exactly what I described in my original answer, and that I haven't had to change anything since to keep VMware Player working. But, I have to concede that it's possible things have changed since I did this in May, since updated versions of both the kernel and VMware Player have been released since then... – dbrewer Jul 31 '12 at 16:17
  • I have the same problem with VMPlayer 5.0.1 Will this patch work also for this version ? – Pierre de LESPINAY Dec 19 '12 at 7:20

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:

cd ~/Downloads

(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, generic-pae, server, and virtual were common too.) If it doesn't end in -generic, replace -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 sudo:

sudo ./VMware-Player-15.1.0-13591040.x86_64.bundle

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 patch-modules.sh.

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.

  • Thanks, I can install the VMWare, but after I run some modules updater under kernel, it prompted me an error "unable to start services, see logfile.... – willy May 15 '12 at 21:42
  • I got patch module update 3.2.0.sh , I can run my VMPlayer now, thanks :) – willy May 15 '12 at 22:03
  • Can you share the link to the patch ? – Yugal Jindle May 18 '12 at 9:52
  • @willy Can you tell us how you got the patch? I'd like to add that to my answer. – Eliah Kagan May 18 '12 at 15:16
  • 1
    It's no longer required you to register/login to get the installation file from their download page – Adonis K. Kakoulidis Aug 28 '12 at 18:48


Click on download Then Register IT enter image description here Complete Registration enter image description here Then Download The Version You Want To I Have Ubuntu 11.10 x64 bit enter image description here Download enter image description here 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

enter image description here enter image description here enter image description here enter image description here

enter image description here

Help Taken



  • pic no 5 6 7 8 will show you version 4 , as i have copy pasted , so dont worry abt it – One Zero Feb 3 '12 at 18:38

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

Run vmware-installer -l in a console to get version number.

Edit the file patch-modules_3.2.0.sh:

  1. 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 ]

  2. 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?

Not the answer you're looking for? Browse other questions tagged or ask your own question.