Installing and upgrading VMware Tools on Linux VMs

This article describes how to use VMware Tools on Linux VMs. For Windows VMs, see Installing and upgrading VMware Tools on Windows VMs.

Contents

Overview

VMware Tools provides many drivers specific to running your VM operating system. Among others, VMware Tools provides the video driver that allows you to control your VM mouse cursor and the networking drivers required for VM network connectivity.

If you are having issues with the mouse cursor or connecting to the VM, make sure you are using the Skytap-supported version of VMware Tools. Newer versions of VMware Tools may not work with Skytap VMs.

Skytap supports VMware Tools version 10.0.6 build 3560309. This version is available as an .ISO in the Skytap Cloud public assets library. It can also be downloaded from the VMware website. Using unsupported versions of VMware Tools may cause unexpected behavior in Skytap VMs.

Checking the VMware Tools version

To check which version of VMware Tools is installed on a Linux VM
  1. Open Terminal.
  2. Enter the following command to display the VMware Tools information in Terminal:

     vmware-toolbox-cmd -v
    

    If VMware Tools is not installed, a message displays to indicate this.

Updating VMware Tools

You cannot update VMware Tools for Linux. Instead, use the instructions below to install the latest supported version.

Installing VMware Tools

These instructions describe the process for installing VMware Tools on Ubuntu 16.04. The steps for your Linux distribution will likely be different.

  1. Before editing the VM, create a template of it. Should any issues arise, you can restore your VM from this template.
  2. Navigate to the environment details page for the environment that contains the VM you want to update. Make sure that the VM is powered on and that you are logged in.
  3. On the tile for the VM you want to update, click Load ISO (Load ISO). load ISO
  4. Click All.
  5. Select the ISO to install VMware Tools for Linux. select ISO
  6. Click load ISO (Load ISO).
  7. Depending on the VM guest OS settings, the ISO may automatically mount in the VM or you may need to mount the ISO manually.
     mount /dev/cdrom /media/cdrom
    
  8. Navigate to the directory of the mounted ISO.
     cd /media/cdrom
    
  9. Copy the TAR file from the ISO to the /tmp directory.
     cp VMwareTools-10.0.6-3560309.tar.gz /tmp
    
  10. Change directory to the /tmp directory.
     cd /tmp
    
  11. Unmount the ISO.
     umount /media/cdrom
    
  12. Unpack the TAR file.
     tar -zxvf VMwareTools-10.0.6-3560309.tar.gz
    
  13. Navigate to the vmware-tools-distrib directory.
     cd vmware-tools-distrib
    
  14. Run the VMware Tools installation script. Add the -d flag to use default values.
     ./vmware-install.pl -d
    
  15. Reboot the VM, either through the GUI or via command line.
  16. After the VM reboots, use the instructions in Checking the VMware Tools version to verify the correct version is installed.