Installing VMware Tools in Ubuntu

Discussion in 'Linux, BSD and Other OS's' started by RHochstenbach, Nov 4, 2009.

  1. RHochstenbach

    RHochstenbach Administrator Staff Member

    Likes Received:
    26
    Trophy Points:
    48
    I've noticed that people are installing Linux distributions in virtual machines. Especially the virtualization products of VMware are popular. The most installed distribution in VMware seems to be Ubuntu, as this one of the most user friendly Linux environments available. After installing it, you need to install VMware Tools, as these contain the drivers for the virtual machine. This can be challenging to new users, so I'll write a tutorial for Ubuntu 9.10. It should also work with other versions and distributions.

    1. From the menu 'Virtual Machine' in any VMware product, choose 'Install VMware Tools'.
    2. A CD icon should now appear on your Ubuntu desktop. Open it if it doesn't do this by itself.
    3. There should be two files. A manifest.txt and an archive. Open the archive.

    [​IMG]

    4. Extract the folder 'vmware-tools-distrib' to your home folder. If your username is 'john', you should extract it to the folder 'john' (/home/john).

    [​IMG]

    5. Open a Terminal window.

    [​IMG]

    6. Now enter the following lines. Pressing the ENTER/Return key after each line:

    First we go to the 'vmware-tools-distrib'-folder that you've extracted.
    Code:
    cd ~/vmware-tools-distrib
    Now we'll load the installation program with Root privileges.
    Code:
    sudo ./vmware-install.pl
    You should be asked to enter the root password. In Ubuntu this is the same password as you used during the installation.

    7. The installation program is now going to ask questions. Press the ENTER/Return key at each line to accept the default answers. Meanwhile the drivers are getting built. You'll see all kinds of rubbish text showing up on the screen. Just let it do everything for you.
    8. At the end of the process when the installation is finished, enter the following 4 lines in the Terminal:
    Code:
    /etc/init.d/networking stop
    rmmod pcnet32
    rmmod vmxnet
    modprobe vmxnet
    /etc/init.d/networking start
    
    That's it! Now you can change the screen resolution and enjoy your virtual Ubuntu installation :)

    Fixing build errors

    If you're getting error messages about not finding kernel headers or the GCC compiler, then enter the following line in the Terminal:
    Code:
    sudo apt-get install gcc build-essential
    When you're attempting to install VMware Tools on a different Linux Distribution, then the above command might be required in order to install VMware Tools in the first place.

    Good luck :)
     
  2. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    even though i personally haven't used VMware stuff for years i tend to use VBox as i personally find it better & easier to use

    however it makes a very different approach than VMware but after using it for a while i'm sure you'll agree

    i'm not saying VMware is bad, i actually started my first "virtualisation" on VMware

    Edit: BTW: VMware & VBox are free for evaluation or personal use
     
  3. maminej

    maminej Geek Trainee

    Likes Received:
    0
    Trophy Points:
    0
    Hi everyone ,

    I tried installing the VMware tools in Ubunto 9.10 running under vmware fusion 3.0 on Mac OSX 10.6.
    I am still having this error message :

    Could not find expected packages
    Make sure you are using the correct update repository and that it is configured correctly.

    Any idea will be much appreciated
     

    Attached Files:

  4. RHochstenbach

    RHochstenbach Administrator Staff Member

    Likes Received:
    26
    Trophy Points:
    48
    Do you get this message when you attempt to click on Install VMware Tools, or after you've installed the tools?
     
  5. maminej

    maminej Geek Trainee

    Likes Received:
    0
    Trophy Points:
    0
    Yes, i got this message when i attempt to click on Install VMware Tools !!!
    I tried some tutorials on manually install VmWare tools on ubuntu but i gave up after severals hours attenpting that.
    :mad:
     
  6. RHochstenbach

    RHochstenbach Administrator Staff Member

    Likes Received:
    26
    Trophy Points:
    48
    That looks more like an issue with Fusion itself. Run the installation program for Fusion and choose 'Uninstall VMware Fusion'. After that, reinstall it again.
     
  7. palmerhunt

    palmerhunt Geek Trainee

    Likes Received:
    0
    Trophy Points:
    1
    Great post. Thanks for sharing the pictures
     

Share This Page