How to Install VMware Tools on Ubuntu VM

Quick Insight

You install VMware Tools on an Ubuntu guest to fix screen sizing and enable file sharing. First, power on the VM and click "Install VMware Tools" from the menu. Then, copy the tar.gz archive to the desktop and extract it. Next, open a terminal in that folder and run the perl install script. A quick reboot locks in the new drivers. As a result, you get full-screen view, smooth mouse moves, and drag-and-drop with your host.

In this article, we will walk through VMware Tools setup on your Linux VM. Specifically, we will cover the VM you built with VMware Workstation, step by step.

VMware Tools Setup on an Ubuntu VM

How Do I Install VMware Tools on Ubuntu?

First, install the tools after you load Ubuntu in VMware Workstation. This lets you run the Ubuntu VM faster. In addition, you can move files to and from the host computer.

You can install the software easily when you load Windows in VMware Workstation. However, this task can be more difficult on Linux systems such as Ubuntu, Debian, Linux Mint, and openSUSE. Therefore, follow the steps carefully.

The same steps also apply to Debian-based systems. In addition, we have a separate guide for guest drivers setup on Debian. That guide can help you with that system.

In addition, make sure you attach the CD/DVD device to the VM. Then, you can install the VM software on Ubuntu. This method is the easiest way to set up VM Tools.

Earlier, we looked at how to install Ubuntu in VMware. Now, we will walk through how to install the tools on a VM, step by step.

You can also install VMware Tools for the Ubuntu VM from the internet. You can use a terminal to do so. However, we advise you to use the setup files included with VMware.

The VM software setup steps are the same on other Linux distributions. Follow the steps below to install this add-on software on several Ubuntu versions, including Ubuntu 16.10, 17.04, 17.10, 18.04, 18.10, and 19.04.

Linux Mint users follow the same path. The package layout can be slightly different. You can still set up the tools for the Mint system the same way.

How Do I Install/Update VMware Tools on Linux, Step by Step?

Follow the steps below to set up VMware Tools on the Ubuntu VM. This VM runs on VMware Workstation. After you complete each step, move to the next one.

Step 1

Run Ubuntu in VMware. Next, you will see a message at the bottom. The message says VM Tools is not installed. Press the Update Tools button to start the setup.

Update Tools

Step 2

You will receive an error if you do not attach the CD/DVD device to the Ubuntu VM. To fix this issue, shut down the VM. Then add the CD/DVD device.

Adding a CD/DVD Device

Step 3

Restart the Ubuntu VM. Immediately, click Update or Install VMware Tools. You can find these options in the VM menu.

Update VM Tools

Step 4

You will see a warning before you install the tools. The image below shows this warning.

Mounting the Virtual CD/DVD Device

Step 5

VMware automatically adds the ISO image to the CD/DVD device. This happens when you click the VM > Install VMware Tools option.

VMware Tools ISO image

Step 6

Copy all the extracted files into the folder.

Copying the Files

Step 7

Create a new folder on the Ubuntu desktop. After that, paste the files you copied into the folder.

Pasting the Copied Files into a New Folder

Step 8

Open a terminal in the folder you extracted.

Opening a Terminal on Ubuntu

Extracting the Tools Files and Finishing the Setup

You can also download the package from the internet. A download from the official source is always safer. You can also check our the VM package download for Windows and other operating systems. There, you will find links for all platforms.

Step 1

Run the tar -xvzf VMwareTools-10.1.6-5214329.tar.gz command. This extracts the .tar.gz file into the folder.

tar -xvzf VMwareTools-10.1.6-5214329.tar.gz

tar -xvzf VMwareTools-10.1.6-5214329.tar.gz

Step 2

You have extracted the configuration files into the vmware-tools-distrib folder.

vmware-tools-distrib

Step 3

Go back to the terminal and run the cd vmware-tools-distrib command.

cd vmware-tools-distrib

cd vmware-tools-distrib

Step 4

Run the sudo ./vmware-install.pl -d command to start the VM tools installation.

sudo ./vmware-install.pl -d

sudo ./vmware-install.pl -d

Step 5

Enter your root password and press Enter.

Typing the Root Password

Step 6

Type your user password. The setup then starts. The -d option applies the default settings.

Using the -d Command to Confirm the Default Settings

Step 7

The setup process completed successfully.

VMware Tools Installed with Success on Ubuntu

Step 8

You can restart the VM so the settings take effect.

Restarting the Linux Computer

Step 9

The image below confirms your VM tools installation.

VM / Reinstall VM Tools

VM Tools Setup for a Linux/Ubuntu VM ⇒ Video 1

Watch the video below to set up the tools on a Linux/Ubuntu guest machine. We cover each step in order. You can also subscribe to our YouTube channel to support us.

Video Thumbnail
Watch on YouTube


Common Questions When You Install the Tools on Your Ubuntu VM

What can I not do on my Ubuntu VM without the tools?

Your screen resolution is limited, and you cannot switch to the guest system. You also need to use the mouse to do so. File drag-and-drop becomes impossible, and the shared folder with the host does not work either.
System speed also drops significantly, and the machine becomes very sluggish. A good rule is to install the tools first, then enjoy the speed. You will see the gap in seconds.

Why is Tools setup on Ubuntu more of a chore than on Windows?

Windows has a simple setup launcher; you click it, and the installation is complete. On Ubuntu, though, you must use the terminal. That can intimidate some users.
The key point is this: you must extract the ISO image manually. Then you must run the setup script. Fortunately, the steps are clear, and I will show you the entire process. This task takes only a few minutes, so do not overestimate it.

Can I install the tools on Ubuntu without using a terminal?

Unfortunately, there is no direct path; you must use a terminal. The auto-update button does not work on most Linux distributions.
Windows users are fortunate in this respect, but do not give up. The terminal commands are only three lines. You can finish the job in two minutes by copying and pasting them.

I get a ‘CD/DVD device not attached’ error during setup; what should I do?

Do not panic when you receive this error; the fix is very simple. Shut down the VM, and then add the CD/DVD drive from the settings.
Be sure to check the ‘Connect at power on’ option and restart the VM. Never skip this small step. Otherwise, the ISO image will not attach at all.
I have encountered this error many times, so I will give you one piece of advice. Add the drive first, and then continue with the setup. Once the task is complete, everything will work.

Why is my screen resolution still incorrect after I install the tools?

You probably did not confirm the default settings during setup. Alternatively, an old build remained on the system. For example, this issue appears often on Ubuntu 18.10 and 19.04.
The fix is actually very simple: remove the tools completely. Then do a clean setup from scratch. This time, be sure to use the -d flag, since the default settings work well.
In other words, answer ‘yes’ without skipping any prompt. Then wait patiently for the setup to finish. Everything will work.

How do I perform a clean Tools update on Ubuntu?

First, delete the vmware-tools-distrib folder completely. Then click the ‘Update Tools’ option from the menu. Next, repeat the same setup steps from the start. That means the ISO will attach again, and you will run the script.
In short, always do a clean extract on each update. Writing over the existing installation causes major errors. I have encountered this error many times, so do not make this mistake.
A clean setup is always the safest; never forget this rule. Be sure to restart the system after the update. Then all settings become active.

Final Thoughts

In this article, we looked at how to set up VM Tools on a Linux distribution. Thank you for reading.

They'll Thank You for Discovering This Guide!

Ready to do your loved ones a huge favor with just one click? Knowledge grows as it is shared.

Be the first to share your comment