How to install VMware Tools for Linux

To install VMware Tools, you must mount the VMware Tools CD image, extract the contents (VMware Tools), and then run the installer.

Note: If VMware Tools is already installed, these steps uninstall and then reinstall VMware Tools. When the product updates, the VMware Tools package is also updated, so an update of the installed version of VMware Tools is required.

Ubuntu or Ubuntu Server with a graphical user interface

To mount the CD image and extract the contents:

  1. Power on the virtual machine.
  2. Log into the virtual machine using an account with administrator or root privileges.
  3. Go to Virtual Machine > Install VMware Tools (or VM > Install VMware Tools).Note: If you are running the light version of Fusion, a version of Workstation without VMware Tools, or VMware Player, you are prompted to download VMware Tools before they can be installed. Click Download Now to begin the download.
  4. Open the VMware Tools CD mounted on the Ubuntu desktop.
  5. Right-click the file name that is similar to VMwareTools.x.x.x-xxxx.tar.gz, click Extract to, and select the Ubuntu Desktop to save the extracted contents.
  6. The vmware-tools-distrib folder is extracted to the Ubuntu Desktop.

To install VMware Tools in Ubuntu:

  1. Open a Terminal window.
  2. In the Terminal, run this command to navigate to the vmware-tools-distrib folder:
  3. cd Desktop/vmware-tools-distrib
  4. Run this command to install VMware Tools:
  5. sudo ./vmware-install.pl -d
  6. Note: The -d switch assumes that you want to accept the defaults. If you do not use -d, press Return to accept the defaults or supply your own answers.
  7. Enter your Ubuntu password.
  8. Restart the Ubuntu virtual machine after the VMware Tools installation completes.

Ubuntu Server with only a command line interface

  1. Go to Virtual Machine > Install VMware Tools (or VM > Install VMware Tools).Note: If you are running the light version of Fusion, or a version of Workstation without VMware Tools, or VMware Player, you are prompted to download the Tools before they can be installed. Click Download Now to begin the download.
  2. In the Ubuntu guest, run these commands:
    1. Create a directory to mount the CD-ROM by running the command:
    2. sudo mkdir /mnt/cdromWhen prompted for a password, enter your Ubuntu admin user password.Note: For security reasons, the typed password is not displayed. You do not need to enter your password again for the next five minutes.
    3. Mount the CD-ROM by running the command:
    4. sudo mount /dev/cdrom /mnt/cdrom or sudo mount /dev/sr0 /mnt/cdrom
    5. The file name of the VMware Tools bundle varies depending on your version of the VMware product. Run this command to find the exact name:
    6. ls /mnt/cdrom
    7. Extract the contents of the VMware Tools bundle by running the command:
    8. tar xzvf /mnt/cdrom/VMwareTools-x.x.x-xxxx.tar.gz -C /tmp/
    9. Note: x.x.x-xxxx is the version discovered in the previous step.
    10. Change directories into the VMware Tools distribution by running the command:cd /tmp/vmware-tools-distrib/
    11. Install VMware Tools by running the command:
    12. sudo ./vmware-install.pl -d
    13. Note: The -d switch assumes that you want to accept the defaults. If you do not use -d, press Return to accept each default or supply your own answers.
  3. Run this command to reboot the virtual machine after the installation completes:
  4. sudo reboot

extradrmtech

Since 30 years I work on Database Architecture and data migration protocols. I am also a consultant in Web content management solutions and medias protecting solutions. I am experienced web-developer with over 10 years developing PHP/MySQL, C#, VB.Net applications ranging from simple web sites to extensive web-based business applications. Besides my work, I like to work freelance only on some wordpress projects because it is relaxing and delightful CMS for me. When not working, I like to dance salsa and swing and to have fun with my little family.

You may also like...