Actually, VMware tools are installed by VMware player automatically, but sometimes VMware may fail to install those essential tools due to reasons like crashing, network connectivity, etc. If your Ubuntu guest doesn’t come with VMware Tools installed, here is how you can get it done.
Why You Should Install VMware Tools
Setting up a guest operating system inside a host operating system using VMware is relatively easy, but managing and scaling the installed guest operating system is totally a different issue. The important thing that VMware tools does is that it will integrate your guest operating system with the host operating system so that you can do all sorts of complex tasks like sharing hardware devices like printer, Bluetooth, Wi-Fi, etc. and sharing files and folders between guest OS and host OS, improving graphical performance, drag and drop support, etc. Apart from all these, installing VMware tools greatly increases speed and efficiency of the guest operating system by synchronizing it with the host operating system.
How To Install VMware Tools
Installing VMware tools in Ubuntu is really simple, all you have to do is to issue a couple of commands, and you are done installing VMware tools in Ubuntu. Note: The commands shown here are case sensitive, pay attention while reproducing them.
To start with, we have to mount VMware tools to a CDROM. To do that, navigate to “Player -> Manage” and select “Install VMware Tools” to automatically mount the VMware tools image to your virtual CDROM.
After mounting VMware tools to the virtual CDROM, a window will open showing you the contents of the VMware tools image (ISO). It will look something like the below image.
Now open the Ubuntu terminal by pressing “Ctrl + Alt + T” or by going to the dash and typing “terminal”. Once the terminal is opened, enter the following command and press the enter button. What this command does is extract the package to a temp directory.
Once everything is extracted, use the following command to start installing VMware tools in Ubuntu.
In the above command, we are using the switch “-d,” which makes the installation of VMware tools automatic by accepting the defaults. If you want to change something like the default directories for scripts, files, daemon files, etc.., then use the above command without the switch “-d.” That said, only change the default settings if you know what you are doing because changing defaults may interfere with the working of VMware tools. When the installation is completed, VMware tools will greet you and unmount the mounted CDROM.
Just restart your Ubuntu virtual machine and you can enjoy the full potential of the VMware. That’s all there is to do. Leave a comment below if you face any problems while installing VMware tools in Ubuntu virtual machine.