Detailed Guide: How to Install VMware Tools on Linux VM

Installing VMware Tools in a Linux virtual machine provides a range of benefits, such as significantly improving the functionality, integration, and overall performance of the guest operating system.

Amelia

By Amelia / Updated on December 18, 2024

Share this: instagram reddit

VMware Tools improves the performance of virtual machines (VMs) running in VMware environments such as VMware Workstation, VMware Fusion, and VMware vSphere. Installing VMware Tools in Linux enables better graphics performance and resolution, improved mouse pointer integration, host and guest shared folders, drag-and-drop file transfers, and copy-and-paste clipboard functionality. This article will focus on how to install VMware Tools on Linux.

vmware tool

How to Install VMware Tools on Linux VM

The following section describes two methods for installing VMware Tools on a Linux-based virtual machine.

Prerequisites

🔶Linux Guest OS: Ensure your virtual machine is powered and running a supported Linux distribution.

🔶Administrator Privileges: You need root or sudo access to install software.

🔶VMware Environment: Your VM must run in VMware Workstation, Player, Fusion, or vSphere.

Method 1. Installing Open VM Tools

Linux distributions support Open VM Tools, available in most package managers, making installation very simple.

1. Update System

Before installation, update your system to ensure you have the latest packages.

▶For Debian/Ubuntu-based system:

sudo apt update && sudo apt upgrade -y

▶For Red Hat/CentOS-based system:

sudo yum update -y

2. Install Open VM Tools

▶On Debian/Ubuntu:

sudo apt install open-vm-tools -y

▶For Red Hat/CentOS/Fedora:

sudo yum install open-vm-tools -y

▶On SUSE/OpenSUSE:

sudo zypper install open-vm-tools

For the system using a graphical desktop environment, for example, GNOME and KDE, install the desktop version of Open VM Tools to enable advanced graphics features:

▶On Debian/Ubuntu:

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

▶On Red Hat/CentOS:

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

3. Verify the Installation

After installation, verify that VMware Tools is running by checking the status, this command should display the installed version of Open VM Tools.

vmware-toolbox-cmd -v

Method 2. Installing VMware Tools from VMware ISO

If Open VM Tools is unavailable or you prefer a traditional VMware Tools package, you can install it manually using a VMware Tools ISO file.

1. Load the VMware Tools ISO

In VMware Workstation or vSphere, go to the Virtual Machine menu and select Install VMware Tools or Reinstall VMware Tools. This mounts the VMware Tools ISO file to the virtual CD-ROM drive of the virtual machine.

install from vmware iso

2. Mount the CD-ROM

◆Create a directory to mount the ISO file:

sudo mkdir /mnt/cdrom

◆Mount the virtual CD-ROM drive:

sudo mount /dev/cdrom /mnt/cdrom

3. Extract the VMware Tools Archive

Navigate to the mounted directory and extract the VMware Tools tar.gz file:

cd /mnt/cdrom
sudo tar -zxvf VMwareTools-*.tar.gz -C /tmp

Remember to replace VMwareTools-*.tar.gz with the actual file name.

4. Run the VMware Tools Installer

Navigate to the extracted folder in /tmp and run the installer:

cd /tmp/vmware-tools-distrib
sudo ./vmware-install.pl

5. Reboot the System

Once the installation is complete, reboot the virtual machine.

sudo reboot

Powerful Backup Tool to Backup and Restore Linux VM

AOMEI Cyber Backup is a powerful free tool designed to backup VMware environments, supporting the backup of any ESXi virtual machine, regardless of whether it is running Linux or another guest operating system. The software offers a flexible agentless solution, making it particularly convenient to back up Linux virtual machines.

AOMEI Cyber Backup has various features that enhance the user experience and simplify the backup process. These ensure that your data is protected and easily accessible when you need it.

Download FreewareVMware ESXi & Hyper-V
Secure Download

Simple steps to backup and restore

Step 1. Log into the AOMEI Cyber Backup Console, navigate to Source Device > VMware > + Add VMware Device to Add vCenter or Standalone ESXi. Then enter Device Information and User Information, and click Confirm.

Add VMware ESXi host

Step 2. Navigate to Backup Task > Create New Task, and select VMware ESXi Backup as the Device Type. Then configure the Task Name, Device, Target, Schedule, and Archive.

vmware esxi backup

  • Device: Cover multiple VMs on the host within one backup task.
  • Target: You can choose to back up to a local path, or a network path.
  • Schedule: You can perform full, differential, or incremental backup, and automate execution according to the frequency you can specify.
  • Archive: You can add an Amazon S3 bucket, and archive backup versions to it.

Backup schedule type

Step 3. Click Start Backup, select Add the schedule, and start backup now, or Add the schedule only.

Start Backup

Step 4. After creating the backup task, you can check the task in the Backup Task tab. When you need to restore the backup, click > Restore.

Restore to new location

Conclusion

Installing VMware Tools or Open VM Tools on Linux virtual machines improves the host system's performance, availability, and integration. Following the actions provided in this article makes sure that virtual machines run optimally in a VMware environment.

Amelia
Amelia · Editor
Amelia is an editor from AOMEI. Trained in professional systems, she specializes in solving problems in enterprise databases, virtual machines, and physical environments. With a high sense of responsibility, she is dedicated to protecting business data and security.