MacLochlainns Weblog

Michael McLaughlin's Technical Blog

Site Admin

Ubuntu VMWare Tools Install

with 6 comments

Rebuilding new reference environments on my MacPro, I started with Ubuntu 10.04.01 LTS (64 bit), I had to recall the step to install VMWare Tools. It’s quite simple but I know my students may need the steps to configure a VMWare virtual machine and it may benefit others. While this Ubuntu help page is a good start it isn’t a step-by-step configuration guide.

  1. Navigate to the VMWare Menu, choose Virtual Machine and in the drop down menu Install VMWare Tools. This will mount a virtual CD in the Ubuntu virtual machine.
  2. Open a terminal session by choosing Applications, within the drop down choose Accessories, and in the subsequent drop down choose Terminal. It will launch a terminal session for command-line entry. The screen shot will look like the following.

  1. From the command-line perform the following tasks:
cd /media/VM*
cp VMwareTools*.gz /tmp
cd /tmp
gunzip VMwareTools*.gz
tar -xvf VMwareTools*.tar
cd vmware-tools-distrib
sudo ./

  1. After starting the, accept all the default prompts. Alternatively, as Josh points out enter the following to skip the prompts:
sudo ./ --default
  1. After the configuration completes, you’re prompted to restart the X-Windows. The easiest way is to reboot. You click on the upper right corner to get the drop down menu to restart Ubuntu. A screen shot follows.

This completes the VMWare Tools installation on Ubuntu but unfortunately, you may need to setup the network connection. In a couple instances, the Ubuntu installation appears to have corrupted the VMWare networking process. The result is that the DNS setup on Ubuntu didn’t work.

When the Ubuntu /etc/resolv.conf file is empty. You should first restart the VMWare network. This can be done without rebooting your native Mac OS X. Open a Terminal session, and navigate to the following directory and restart the VMWare network or use this command with backquoting.

sudo /Library/Application\ Support/VMware\ Fusion/  --restart

If your Ubuntu /etc/resolv.conf file is empty, you can manually edit it. The last line in this sample depends on your IP subnet. I’ve entered it by assuming that you’re on to with a network mask. You can refer to this prior post for the details on how you find your VMWare NAT subnet.

When your Ubuntu /etc/resolv.conf file is empty, add these values:

# Generated by NetworkManager
domain localdomain
search localdomain

Hope this helps some folks.

Written by maclochlainn

November 1st, 2010 at 8:57 pm

Posted in Linux,Ubuntu

6 Responses to 'Ubuntu VMWare Tools Install'

Subscribe to comments with RSS or TrackBack to 'Ubuntu VMWare Tools Install'.

  1. would you recommend vmware over virtual box? I have only used virtual box.


    2 Nov 10 at 10:26 pm

  2. Yes, at present it’s the best.


    3 Nov 10 at 12:09 am

  3. What are the advantages to VMWare over virtual box?


    9 Nov 10 at 8:17 pm

  4. If you use the command;

    sudo ./ --default

    The script will install in the default locations and you can avoid having to accept all of the prompts.


    18 Nov 10 at 7:55 am

  5. Brad, I’ve found it easier to configure and port VMs, whereas, I’ve experienced configuration problems with VirtualBox. Here’s a benchmark and discussion if you’re interested. It seems they cover the pluses and minuses well.


    18 Nov 10 at 10:31 am

  6. That was really helpful! Thanks.


    5 Jun 12 at 8:14 pm

Leave a Reply