How To Install open-vm-tools-desktop on Ubuntu 18.04

In this tutorial we learn how to install open-vm-tools-desktop on Ubuntu 18.04. open-vm-tools-desktop is Open VMware Tools for virtual machines hosted on VMware (GUI)

Introduction

In this tutorial we learn how to install open-vm-tools-desktop on Ubuntu 18.04.

What is open-vm-tools-desktop

open-vm-tools-desktop is:

The Open Virtual Machine Tools (open-vm-tools) project is an open source implementation of VMware Tools. It is a suite of virtualization utilities and drivers to improve the functionality, user experience and administration of VMware virtual machines.

This package contains the user-space programs and libraries that are essential for improved user experience of VMware virtual machines.

There are three methods to install open-vm-tools-desktop on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install open-vm-tools-desktop Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install open-vm-tools-desktop using apt-get by running the following command:

sudo apt-get -y install open-vm-tools-desktop

Install open-vm-tools-desktop Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install open-vm-tools-desktop using apt by running the following command:

sudo apt -y install open-vm-tools-desktop

Install open-vm-tools-desktop Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install open-vm-tools-desktop using aptitude by running the following command:

sudo aptitude -y install open-vm-tools-desktop

How To Uninstall open-vm-tools-desktop on Ubuntu 18.04

To uninstall only the open-vm-tools-desktop package we can use the following command:

sudo apt-get remove open-vm-tools-desktop

Uninstall open-vm-tools-desktop And Its Dependencies

To uninstall open-vm-tools-desktop and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove open-vm-tools-desktop

Remove open-vm-tools-desktop Configurations and Data

To remove open-vm-tools-desktop configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge open-vm-tools-desktop

Remove open-vm-tools-desktop configuration, data, and all of its dependencies

We can use the following command to remove open-vm-tools-desktop configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge open-vm-tools-desktop

References

Summary

In this tutorial we learn how to install open-vm-tools-desktop package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.