In this tutorial, we will learn about VMware Tools, its importance, features, and of course, the methods to install VMware Tools on Ubuntu or any other Linux Distributions.
What are VMware Tools?
VMware Tools enhances the functionality of the Virtual Machines running on VMware Workstation Player, VMware player, or fusion. The Guest OS does not behave like the Host OS. When it comes to performance and operation, there are certain limitations. To overcome those limitations, VMware Tools was introduced to enhance the overall performance.
Features of VMware tools:
- Clipboard Sharing
- Fast Graphic Performance
- Drag and Drop operation
- Network acceleration
- Time Synchronization between the Guest OS and the Host.
- Improves video resolution and Sound support.
- Auto resize Guest OS display.
We can install VMware Tools using open VM tools or official VM tools.
Installing VMware Tools using open VM tools
Open VM Tools is an open-source package available in the official package repository of Ubuntu. To install VMware Tools from the Ubuntu repository:
- Run the following command to update the packages using the sudo command:
sudo apt update
The packages should be updated.
- If you are using Server OS (Ubuntu Guest OS), enter the following command:
sudo apt install open-vm-tools
If you are using a Desktop OS (Ubuntu Desktop), enter the following command:
sudo apt install open-vm-tools-desktop
- Press Y and enter to confirm. Reboot your Virtual Machine.
- That’s it. Open VMware Tools is installed successfully.
Installing VMware Tools using official VMware Tools
We can install official VMware Tools either using terminal or GUI.
1. Using Ubuntu Terminal
- Open the VMware player, workstation, or fusion. Start the Guest Virtual Machine.
- Select VM-> Install VMware Tools.
- In the Ubuntu Guest OS, Enter the following command to create a new directory:
sudo mkdir /mnt/cdrom
To mount the CD-ROM (the directory that we created above), run the below command:
sudo mount /dev/cdrom /mnt/cdrom
Run the following command to find the exact name of the VMware Tool bundle:
To extract the content of the VMware bundle, enter the following command:
tar xzvf /mnt/cdrom/VMwareTools-x.x.x-xxxx.tar.gz -C /tmp/
The above command is the general syntax. There are different versions of VMware Tools. Replace the VMwareTools-x.x.x-xxxx.tar.gz with the file name you found above.
Now, run the following command to change the directory to the VMware distribution folder.
$ cd /tmp/vmware-tools-distrib/
Finally, run this command to install VMware Tools:
2. Using GUI (Graphical User Interface)
If you are not familiar with the command line, you can easily install VMware Tools using GUI.
- Open VMware Player, Workstation, or fusion. Start the Guest Virtual Machine.
- Navigate to VM -> Install VMware Tools.
- Mount the official VMware Tools CD/DVD mounted on the desktop by double clicking on it.
- Right click on the tar.gz file and click on Extract to to extract the compressed file.
- After the extraction. A vmware-tools-distrib folder will be created. Change the directory by running this code:
- Now, Enter the following command to install the official VMware tools:
- Press <enter> to accept all the defaults. Reboot your Virtual Machine for changes to take effect.
- You have successfully installed Official VMware Tools.
You can use any of the above methods to install VMware Tools for stability and better performance. Now, you will be able to copy-paste and share files easily between Guest OS and the Host.