Image

How to install VMware Tools on Ubuntu: Step-by-step guide [2025]

Liquid Web logo Liquid Web
Tutorials
Chat with an expert

Tutorial requirements

To complete this tutorial, you will first need to ensure that you meet the following requirements.

If one or more of the listed requirements are unmet, you should address them first and then proceed.

3 methods to Install VMware Tools on Ubuntu

You can install VMware Tools on a machine running Ubuntu in three different ways:

  1. Using the Open VM Tools Package to install the VMware Tools software.
  2. Installing the set of services known as VMware Tools via the graphical user interface (GUI).
  3. Making use of the terminal to install VMware Tools.

Here are the instructions for all three …

Method 1: Use the open VM tools package to install VMware tools

Step 1A: Open the terminal

If you’re running a GUI version of Ubuntu, use the sidebar or search bar to navigate to the Linux terminal.

You can use the keyboard shortcut Ctrl+Alt+T as another alternative. However, you can skip this step if you are running a terminal version of Ubuntu.

Step 1B: Update package information

Before you install VMware Tools on Ubuntu, it is important to ensure that your operating system has the latest package information. To do this, you need to use the below apt-get update command, which will automatically update any outdated package information:

sudo apt-get update

Once this process is complete, you will see the following message: Done.

Step 1C: Install VMware tools on GUI-based Ubuntu

Now, you are ready to install the Open VM Tools package. Use the following command to install it to a GUI-based version of Ubuntu:

sudo apt-get install open-vm-tools-desktop

Step 1D: Install VMware tools on terminal-based Ubuntu

If you are using a terminal-based version of Ubuntu, you should use the following command instead:

sudo apt-get install open-vm-tools

Optional: Reboot the machine

Finally, reboot the system to complete the installation process with the below command:

sudo reboot

Method 2: Use the graphical user interface (GUI) to install VMware tools

This method requires the use of a VMware Workstation virtual machine (VM) to install VMware Tools on a GUI-based version of Ubuntu.

Step 2A: Download VMware Workstation

For this method, you will use VMware Workstation. If you don’t have it installed, you can download it from its official website. See the image below for reference:

wmware workstation to install on ubuntu

Step 2B: Run the installation

Run the installation file by opening the terminal and using the following command. Make sure to replace the $username and other directories with the correct path to your downloads directory:

sudo bash /home/$username/Downloads/VMware-Player-Full-17.0.2-21581411.x86_64.bundle

See the image below for reference:

Run the installation file by opening the terminal and using the following command. Make sure to replace the $username and other directories with the correct path to your downloads directory.

Step 2C: Install VMware Workstation

Install the software by clicking the Next button in the installation wizard until the process is complete. You will also have the option of choosing a free trial version. See the image below for reference:

vmware workstation install for ubuntu

Step 2D: Open the VMware Workstation

Use the sidebar or search bar to open VMware Workstation. See the image below for reference:

open vmware workstation on ubuntu

Step 2E: Use VMware Workstation to create a new Ubuntu virtual machine

After you open the application, select the first option titled Create a New Virtual Machine. You will then need to provide an Ubuntu image to complete the setup wizard for the new machine. See the image below for reference:

screenshot creating new ubuntu vm in vmware

Step 2F: Download an Ubuntu image

To create a virtual machine, you need an Ubuntu image. If you don’t have one, download it from the official website. See the image below for reference:

ubuntu image for vm

Step 2G: Start the installation process for VMware tools

Now that you have a virtual Ubuntu machine running in VMware Workstation, you can install VMware Tools. Click the Virtual Machine menu item in Workstation’s upper left menu and then Install VMware Tools. This action will mount a new virtual drive to your Ubuntu virtual machine. See the image below for reference:

install vmware tools on ubuntu

Step 2H: Extract the archive

Next up, you should extract the VMware Tools archive located on the new virtual disk. To do this, navigate to the archive using the file explorer, right-click, and select Extract To. See the image below for reference:

extract vmware archive on ubuntu

Step 2I: Install VMware tools

Navigate to the directory where you have extracted the installation files and run the vmware-install.pl script:

sudo ./vmware-install.pl -f

See the image below for reference:

install vmware tools on ubuntu code screenshot

Step 2J: Reboot the machine

Finally, reboot your system to complete the installation process with the below command:

sudo reboot

See the image below for reference:

Finally, reboot your system to complete the installation process with the below command.

Method 3: Use the terminal to install VMware Tools

This method requires the use of a VMware Workstation VM to install VMware Tools on a terminal-based version of Ubuntu. If you don’t currently have VMware Workstation installed, you first need to follow steps from the second method presented above for its installation.

Step 3A: Mount the image manually

Use the following two commands to create a new mount point directory and mount the image:

sudo mkdir -p /mnt/cdrom
sudo mount /dev/cdrom /mnt/cdrom

Step 3B: Open the image

Then, open the image directory and find the archive:

cd /mnt/cdrom

Step 3C: Extract the archive

Extract the archive from the image using the following command. Make sure to replace $VMwareTools with its full file name and $destination with your desired destination for the extracted files:

sudo tar -xf $VMwareTools.tar.gz -C /$destination

Step 3D: Run the VMware Tools installation

You can now navigate to the script file and run the installation with the below:

sudo ./vmware-install.pl –f

Step 3E: Reboot the machine

Finally, reboot your system with the below command to complete the installation process:

sudo reboot

Getting started with VMWare on Ubuntu

VMware offers many benefits to the world of virtualization and cloud infrastructure. As mentioned, among other things, VMware Tools enables better management of guest virtual machines and extends the communication capabilities between guest and host machines.

Use whichever of these methods is your favorite: They all do the trick. The first involves using the Open VM Tools package, while the second and third methods take advantage of VMware’s Workstation software.

Do you need help deciding on the best hosting company for your specific needs? Do you need guidance setting up a good VMware hosting solution? Then you are in the right place. Click through below to explore options or talk with one of our experts right now.

If you are still unsure if VMware is suitable for your needs, take a look at Liquid Web’s robust dedicated server plans. We also offer a range of cloud-based server solutions, perfect for anyone looking to maximize the flexibility of VMware.

Chat with an expert

Related articles

Wait! Get exclusive hosting insights

Subscribe to our newsletter and stay ahead of the competition with expert advice from our hosting pros.

Loading form…