This article provides the steps to install VMware Tools in an Ubuntu virtual machine.
1. Mount the corresponding ISO file and login to the virtual machine using administrator or root credentials.
2. In the VM console, select VM-> Guest -> Install/Upgrade VMware tools.
3. In the Ubuntu guest, run these commands: sudo mkdir /mnt/cdrom
4. Note: For security reasons, the typed password is not displayed. You do not need to enter your password again for the next five minutes.
sudo mount /dev/cdrom /mnt/cdrom or sudo mount /dev/sr0 /mnt/cdrom
5. 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
Note: x.x.x-xxxx is the version discovered in the previous step.
6. Type this command tar xzvf /mnt/cdrom/VMwareTools-x.x.x-xxxx.tar.gz -C /tmp/ to unzip the gz file in /tmp directory.
7. Navigate to cd /tmp/vmware-tools-distrib/ and execute this command sudo ./vmware-install.pl -d to install the vmware tools.