How To Install VMware Tools in Linux VM

Installing VMware Tools or its open-source alternative, Open VM Tools, in a Linux virtual machine enhances performance and enables features like shared folders, seamless mouse integration, and improved graphics. The installation process varies slightly depending on your distribution.

Option 1: Install Open VM Tools (Recommended)

Most modern Linux distributions support open-vm-tools, which is the preferred method.

Debian-based distributions

sudo apt install open-vm-tools -y

Red Hat-based distributions

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

Arch-based distributions

sudo pacman -S open-vm-tools

openSUSE-based distributions

sudo zypper install open-vm-tools -y

Enable the service:

sudo systemctl enable --now vmtoolsd

For GUI-based VMs

Install open-vm-tools-desktop for better graphical integration:

Debian-based distributions

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

Red Hat-based distributions

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

Arch-based distributions

sudo pacman -S open-vm-tools-desktop

openSUSE-based distributions

sudo zypper install open-vm-tools-desktop

Reboot your VM to apply changes:

sudo reboot

Option 2: Install VMware Tools Manually

If you prefer the official VMware Tools package, follow these steps:

Step 1: Insert the VMware Tools CD Image

In VMware Workstation, go to VM then Install VMware Tools. If the option says Update VMware Tools or is grayed out, it means VMware Tools or Open VM Tools is already installed.

Step 2: Mount the CD Image

sudo mount /dev/cdrom /mnt

Step 3: Copy the Installation Package

mkdir -p ~/Documents/VMware
cp /mnt/VMwareTools-*.tar.gz ~/Documents/VMware

Step 4: Extract the Package

tar -xzf ~/Documents/VMware/VMwareTools-*.tar.gz -C ~/Documents/VMware

Step 5: Run the Installer

cd ~/Documents/VMware/vmware-tools-distrib
sudo ./vmware-install.pl

Follow the prompts to complete the installation.

Step 6: Restart the VM

sudo reboot

Final Result

After installation, your Linux VM will benefit from improved graphics, shared clipboard functionality, and folder sharing. These enhancements make your virtual machine more efficient and better integrated with VMware.

Whether you choose Open VM Tools or the official VMware Tools package, installing them ensures your Linux VM runs smoothly and delivers a more seamless virtualization experience.

Post a Comment

Previous Post Next Post

Contact Form