How To Install VMware Tools on Debian 11|10

When you install a Virtual Machine or guest machine on your machine, it does not perform exactly as the host OS because there are limitations to its performance. VMware presented solutions to these limitations by introducing VMware tools. In this guide, we will discuss how to install VMware Tools on Debian 11 / Debian 10 Linux system.

These VMWare tools enable integration between the host and guest operating systems. They consist of a set of utilities that perform the following functions:

  • Improve graphical performance

We have a dedicated guide on the installation of Debian 11:

And how to upgrade from Debian 10 to Debian 11:

Install VMware Tools on Debian 11 (Bullseye) / Debian 10 (Buster)

Open a command terminal in Debian and update your system.

sudo apt update

Method 1: Install VMware tools that come with VMware Virtualization Application on Debian

In this method, Vmware tools are installed by connecting the VMware virtual CD to the VM CD-ROM drive. This is achieved by navigating to the top menu of VMware, then go to VM>Install VMware tools, in case you already have the VMware tools installed, click on Re-Install VMware Tools

How-To-Upgrade-from-Debian-10-Buster-To-Debian-11-Bullseye-70

However, in some cases, this option is greyed. In such circumstances, VMware tools ISO is mounted under edit virtual machine settings. While here, add a CD/CD-ROM of the ISO file.

How-To-Upgrade-from-Debian-10-Buster-To-Debian-11-Bullseye-72

Once mounted power on the Debian Virtual Machine, navigate to the terminal, and execute.

sudo mkdir /mnt/cdrom

This command creates a mount point. Then mount the CDROM.

# sudo mount /dev/cdrom /mnt/cdrom

mount: /mnt/cdrom: WARNING: source write-protected, mounted read-only.

Determine your version of VMware tools:

$ sudo ls /mnt/cdrom

VMwareTools-5.0.0-12124.tar.gz

Copy the Compiler gzip tar file to a temporary location.

cp /mnt/cdrom/VMwareTools-version.tar.gz /tmp/

Replace VMwareTools-version.tar.gz with the exact version of VMwareTools obtained above.

Now change the directory of the compiler gzip tar to a new directory (vmware-tools-distrib)

cd /tmp

tar -zxvf VMwareTools-version.tar.gz

Now navigate into the directory and install VMware Tools:

cd vmware-tools-distrib

sudo ./vmware-install.pl

If you are using a GUI interface, you need to restart your Debian VM for mouse and graphics integration to apply.

Alternatively, you can start the VMware Tools in the background using the command:

sudo /usr/bin/vmware-toolbox &

Then unmount the CD-ROM:

sudo umount /mnt/cdrom

Proceed and remove the VMware Tools installation packages:

cd

rm /tmp/VMwareTools-version.tar.gz

rm -rf /tmp/vmware-tools-distrib

Method 2: Install VMware tools on Debian 11/10 using Open VM tools.

Open VM Tools is the open-source implementation of VMware tools available for Linux distributions. It is available in default repositories and can be installed easily using a simple APT command on Debian. Go to the terminal of the Debian Virtual Machine and execute this command. Remember to issue this command as root.

sudo apt update

sudo apt-get install open-vm-tools

Sample output for this command:

Install-VMware-ToolsVirtualBox-guest-additions-on-Debian-11

Pree “y” and proceed with the installation. Once complete, you will see this output:

................

Setting up glib-networking:amd64 (2.66.0-2) ...

Setting up libsoup2.4-1:amd64 (2.72.0-2) ...

Setting up libsoup-gnome2.4-1:amd64 (2.72.0-2) ...

Setting up librest-0.7-0:amd64 (0.8.1-1.1) ...

Setting up libgtk-3-0:amd64 (3.24.24-4) ...

Setting up libgtk-3-bin (3.24.24-4) ...

Setting up libgtkmm-3.0-1v5:amd64 (3.24.2-2) ...

Setting up open-vm-tools-desktop (2:11.2.5-2) ...

Created symlink /etc/systemd/system/multi-user.target.wants/run-vmblock\x2dfuse.

mount → /lib/systemd/system/run-vmblock\x2dfuse.mount.

Processing triggers for libgdk-pixbuf-2.0-0:amd64 (2.42.2+dfsg-1) ...

Processing triggers for libc-bin (2.31-13) ...

Check the version of OpenVM tools installed:

$ sudo /usr/bin/vmware-toolbox-cmd -v

11.2.5.26209 (build-17337674)

Verify your installation of VMware tools by enabling features. With the Debian 11/10 VM powered off navigate to Edit Virtual Machine Settings the to Options You will see the VMware tools features ready to be enabled as below.

Install-VMware-ToolsVirtualBox-guest-additions-on-Debian-11-1

That is it! We have come to the end of the guide on how to install VMware Tools on Debian 11/10 system. I hope this article was informative.

https://www.computingpost.com/how-to-install-vmware-tools-on-debian-1110/?feed_id=11336&_unique_id=6345ed0e0d2ec

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
ComputingPost

ComputingPost — Linux Howtos, Tutorials, Guides, News, Tips and Tricks.