Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

Installing VMware Tools in an Ubuntu Virtual Machine (1022525)

Last Updated: 9/9/2020Categories: Best PracticesTotal Views: 659218Language:
Chinese (Simplified)Portuguese (European)JapaneseSpanishEnglishGerman

488 like this article

Subscribe to get an email
newsletter with new updates

488 people found this helpful Please provide article feedback:

Purpose

This article provides the steps to install VMware Tools in an Ubuntu virtual machine.

Note: Whenever the Operating System (Linux Kernel) is updated, VMware Tools must be reinstalled.

For Ubuntu 14.x and above we recommend that you use Open-VM-Tools. Refer to the article VMware support for open-vm-tools for more details.

Resolution

Process to Install VMware Tools in an Ubuntu Virtual Machine for Version Ubuntu 12.x and before:

VMware Tool in Ubuntu virtual machine can be installed by following graphical user interface or using command line interface.

Install VMware Tools in Ubuntu or Ubuntu Server with a graphical user interface

Install VMware Tools in Ubuntu Server with only a command line interface

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, use these steps to uninstall and then reinstall VMware Tools. When there is product updates, the VMware Tools package is also updated, so an update of the installed version of VMware Tools is required.

Install VMware Tools in Ubuntu or Ubuntu Server with a graphical user interface:

Mount CD Image and Extract Contents:

To mount the CD image and extract the contents follow the steps below:

Power on the virtual machine.

Log in to the virtual machine using an account with administrator or root privileges.

Select:

For Fusion: Virtual Machine > Install VMware Tools.
For Workstation: VM > Install VMware Tools.
For Player: Player > Manage > 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.

Open the VMware Tools CD mounted on the Ubuntu desktop.

Right-click the file name that is similar to VMwareTools.x.x.x-xxxx.tar.gz, click Copy, and select Ubuntu Desktop to copy the file.

Right-click the file name that is similar to VMwareTools.x.x.x-xxxx.tar.gz on the Ubuntu Desktop, click Extract here.

The vmware-tools-distrib folder is extracted to the Ubuntu Desktop.

Install VMware Tools in Ubuntu:

To install VMware Tools in Ubuntu follow the steps below:

Open a Terminal window. For more information, see Opening a command or shell prompt (1003892).

In the Terminal, run this command to navigate to the vmware-tools-distrib folder:

cd Desktop/vmware-tools-distrib

Run this command to install VMware Tools:

sudo ./vmware-install.pl

Note:  Press Return to accept the defaults or supply your own answers.

Following command can be used " sudo chmod u+x vmware-install.pl " to make the file executable.

Enter your Ubuntu password.

Restart the Ubuntu virtual machine after the VMware Tools installation completes

Install VMware Tool in Ubuntu Server with only a command line interface :

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.

In the Ubuntu guest, run these commands:

Run this command to create a directory to mount the CD-ROM:

sudo mkdir /mnt/cdrom

When 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.

Run this command to mount the CD-ROM:

sudo mount /dev/cdrom /mnt/cdrom or sudo mount /dev/sr0 /mnt/cdrom

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:

ls /mnt/cdrom

Run this command to extract the contents of the VMware Tools bundle:

tar xzvf /mnt/cdrom/VMwareTools-x.x.x-xxxx.tar.gz -C /tmp/

Note: x.x.x-xxxx is the version discovered in the previous step.

Run this command to change directories into the VMware Tools distribution:

cd /tmp/vmware-tools-distrib/

Run this command to install VMware Tools:

sudo ./vmware-install.pl

Note: Press Return to accept each default or supply your own answers.

Run this command to reboot the virtual machine after the installation completes:

sudo reboot

Related Information

These are dependencies of VMware Tools. These packages must be available on the Linux operating system before installing VMware Tools.

gcc

binutils

make

kernel sources

For more information on VMware Tools, see:

General VMware Tools installation instructions: Install VMware Tools (1014294)

Workstation and Player: Overview of VMware Tools (340)

Fusion: Overview of VMware Tools for VMware Fusion (1022048)

VMware support for open-vm-tools: VMware support for open-vm-tools (2073803)

For translated versions of this article, see:

Español: Cómo instalar VMware Tools en una máquina virtual en Ubuntu (2035799)

Português: Instalar VMware Tools em uma máquina virtual Ubuntu (2037288)

简体中文: 在 Ubuntu 虚拟机中安装 VMware Tools (2041399)

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)Portuguese (European)JapaneseSpanishEnglishGerman

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

Result 1 of 1

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware Workstation Pro

VMware Workstation Player

VMware Fusion

Related Versions:

Take Our Survey

Support Assistant