A virtual or guest operating system has limited functions compared to a host system. VMware Tools introduces a set of functionalities that improve the performance of guest operating systems running on virtual machines.
VMware Tools improves video resolution, mouse movement, and adds the ability to share files between a host and guest system.
This tutorial explains how to install VMware Tools on Ubuntu 18.04.
- Access to a terminal
- The apt package manager
- A user with sudo privileges
3 Options For Installing VMware Tools on Ubuntu
The simplest method for installing VMware Tools is using the open-vm-tools package from the official Ubuntu repositories.
The other option is to retrieve and install the software package from the VMware host. The installation can then be completed either by using the Ubuntu desktop GUI or by installing directly from the command terminal.
Install Open VM Tools Package
You can complete the installation of VMware Tools by entering a single command in your terminal window:
sudo apt-get install open-vm-tools open-vm-tools-desktop
This simple command installs an open-source implementation of VMware Tools. The software package is available in official Ubuntu repositories. The installation is quick, uses fewer resources, and is specific to the Linux distribution you are using.
Use GUI to Install VMware Tools in Ubuntu
The Ubuntu GUI (Graphical User Interface) provides a user-friendly environment for installing VMware Tools. Start the Ubuntu Virtual Machine and follow the steps outlined below.
- Open the VM drop-down menu and select Install VMware Tools.
- A virtual disk containing the VMware Tools installation appears on the desktop.
- Explore the content on the disk by double-clicking on the icon as seen in the image above.
- Right-click on the compressed tar.gz file and select where to extract the files. In this example, we will extract the files to the desktop. Regardless of the location, it is important to take note of it, as it is relevant for future actions.
- Open a terminal window. If you have saved the folder on your desktop, type the following command to access the vmware-tools-distrib folder:
- Initiate the installation process by entering:
sudo ./vmware-install.pl –f
- The installation will commence. Then the system will prompt several questions. The purpose of these questions is to specify the locations for the installation. To apply the default settings, confirm each location by pressing Enter.
- Type the following command to verify the version and successful installation of VMware Tools:
Use Terminal to Install VMware Tools
If your Ubuntu system does not have a graphical interface, it is possible to install VMware Tools directly from the command terminal.
- Use the terminal and create a directory to mount the installation disk:
sudo mkdir /mnt/cdrom
- Mount the vmware-tools disk to the newly created directory:
sudo mount dev/cdrom /mnt/cdrom
- Determine the name of the compressed software archive:
- Using the information presented in red, extract the content from the archive to a temporary directory:
tar xvzf /mnt/cdrom/VmwareTools-10.3.10-12406962.tar.gz
- Navigate to the VMware tools distribution folder:
- Install VMware Tools:
sudo ./vmware-install.pl –f
As with the GUI installation, the terminal presents you with questions. Those will include questions on whether individual files should be installed and the locations for their installation.
Pressing Enter applies the default settings.
By following this tutorial, you will have successfully installed VMware Tools on your Ubuntu system.