How to Install VMware Tools on Ubuntu/Debian VMware Virtual Machine

29/12/2020
If you’re using VMware Player, VMware Workstation Pro, VMware ESXi or vSphere, then VMware Tools is a very important tool for you. VMware Tools helps a VMware virtual machine (VM) integrate nicely with VMware hypervisor.

If VMware Tools is installed on a virtual machine (VM), it will report back to the VMware hypervisor it’s IP address and many more information such as CPU usage, disk usage, memory usage etc.  VMware hypervisor can build interesting statistical reports using these data which will help you monitor your virtual machines very easily.

VMware Tools also provides many advanced features like,

  • Drag and drop files between virtual machine and host computer.
  • Better graphics support.
  • 3D graphics acceleration.
  • Multiple monitor support.
  • Auto resize virtual machine display if desktop operating system is used on the virtual machine.
  • Clipboard sharing to help copy and paste textual data.
  • Virtual machine sound support.
  • Time synchronization between the virtual machine and host.
  • Shared folders in virtual machines.
  • And other performance enhancements.

In this article, I am going to show you how to install VMware tools on Ubuntu/Debian VMware virtual machines. So, let’s get started.

Installing Open VM Tools on Ubuntu/Debian:

Open VM Tools is the VMware recommend way of installing VMware tools on Ubuntu/Debian virtual machines. The best thing about Open VM Tools is that it’s open source and it is available in the official package repository of Ubuntu/Debian.

First, update the APT package repository cache with the following command:

$ sudo apt update

The APT package repository cache should be updated.

If you’re using a server operating system (without graphical user interface) on your virtual machine, install Open VM Tools with the following command:

$ sudo apt install open-vm-tools

If you’re using a desktop operating system (with graphical user interface) on your virtual machine, install Open VM Tools with the following command:

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

To confirm the installation, press Y and then press <Enter>.

The APT package manager should download and install all the required packages from the internet. It may take a while to complete.

At this point, Open VM Tools should be installed.

Now, restart your virtual machine for the changes to take effect as follows:

$ sudo reboot

Once your virtual machine reboots, you can enjoy all the goodies the Open VM Tools provides on your VMware virtual machine.

Installing Official VMware Tools on Ubuntu/Debian:

All the VMware hypervisors ships with the official VMware Tools by default. If you don’t want to install Open VM Tools or if you don’t have internet access, you may try to install the VMware provided VMware Tools.

Before you do this, know that VMware does not recommend this anymore. Many things can go wrong while installing the official VMware Tools.

First, start your Ubuntu/Debian virtual machine and click on VM > Install VMware Tools… as marked on the screenshot below.

Now, mount the official VMware Tools CD on your Ubuntu/Debian virtual machine as follows:

$ sudo mount -o loop /dev/sr0 /mnt

The VMware Tools tar archive should be in the CD as you can see in the screenshot below.

Now, copy the tar archive to your ~/Downloads directory or any other directory you like.

$ cp -v /mnt/VMwareTools-10.3.10-13959562.tar.gz ~/Downloads

The VMware Tools archive VMwareTools-10.3.10-13959562.tar.gz should be copied to your desired directory.

Now, navigate to the directory where you copied the VMware Tools archive as follows:

$ cd ~/Downloads

 

Now, extract the VMware Tools archive as follows:

$ tar xzf VMwareTools-10.3.10-13959562.tar.gz

A new directory vmware-tools-distrib/ should be created.

Navigate to the vmware-tools-distrib/ directory as follows:

$ cd vmware-tools-distrib/

A Perl script vmware-install.pl should be in that directory.

Now, run the Perl script vmware-install.pl as follows:

$ sudo ./vmware-install.pl

Now, type in yes and press <Enter>.

Press <Enter> to select the default.

Press <Enter> to select the default.

Press <Enter> to select the default.

Press <Enter> to select the default.

Press <Enter> to select the default.

Press <Enter> to select the default.

Press <Enter> to select the default.

Press <Enter> to select the default.

Press <Enter> to select the default.

Press <Enter> to select the default.

Press <Enter> to select the default.

Wait a few seconds.

Press <Enter> to select the default.

Press <Enter> to select the default.

Press <Enter> to select the default.

Type in yes and press <Enter>.

Wait a few seconds.

The official VMware Tools should be installed.

Now, reboot your Ubuntu/Debian virtual machine as follows:

$ sudo reboot

Once your Ubuntu/Debian virtual machine reboots, you can enjoy all the goodies that the official VMware Tools provides.

So, that’s how you install VMware Tools on Ubuntu/Debian VMware virtual machines. Thanks for reading this article.

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

Mounting VMware Shares from the Command Line on Linux VM

In this article, I am going to show you how to share a directory/folder to a VMware Virtual Machine (VM) and how to mount...
29/12/2020

Install OpenStack on VMware ESXi

In this article, I am going to show you how to install OpenStack on VMware ESXi. I will create a virtual machine on VMware...
29/12/2020

Install Ubuntu in VMware Workstation

In this article, I am going to show you how to install Ubuntu in VMware Workstation Virtual Machine. So, let’s get started. Downloading...
29/12/2020
Bài Viết

Bài Viết Mới Cập Nhật

SỰ KHÁC BIỆT GIỮA RESIDENTIAL PROXY VÀ PROXY DATACENTER
17/02/2024

Mua Proxy v6 US Private chạy PRE, Face, Insta, Gmail
07/01/2024

Mua shadowsocks và hướng dẫn sữ dụng trên window
05/01/2024

Tại sao Proxy Socks lại được ưa chuộng hơn Proxy HTTP?
04/01/2024

Mua thuê proxy v4 nuôi zalo chất lượng cao, kinh nghiệm tránh quét tài khoản zalo
02/01/2024