How to Install VMware Tools on Ubuntu: Complete Step-by-Step Guide
VMware Tools is an essential suite of utilities designed to dramatically improve the performance, usability, and management of virtual machines running on VMware platforms. Whether you are running VMware Workstation, VMware Fusion, or vSphere, installing VMware Tools on your Ubuntu guest operating system unlocks enhanced graphics performance, seamless mouse integration, clipboard sharing, drag-and-drop functionality, and reliable file sharing between host and guest systems.
This comprehensive guide walks you through every method of installing VMware Tools on Ubuntu, from the recommended open-source approach to the manual proprietary installation β so you can choose the path that best fits your environment.
What Is VMware Tools and Why Does It Matter?
Before diving into the installation process, it is worth understanding what VMware Tools actually does. Without it, your Ubuntu virtual machine runs in a degraded state: limited screen resolutions, poor mouse responsiveness, no clipboard integration, and restricted network capabilities.
With VMware Tools installed, you gain:
- Improved display performance β dynamic screen resolution that adjusts automatically when you resize the VM window
- Enhanced mouse integration β seamless cursor movement between host and guest without needing to "capture" the mouse
- Clipboard and drag-and-drop support β copy and paste text, files, and images between host and guest operating systems
- Shared folder access β easily transfer files between your host machine and the Ubuntu VM
- Better time synchronization β keeps the guest OS clock accurate and synchronized with the host
- Improved network performance β optimized drivers for faster and more stable networking
If you are running Ubuntu on a VPS Hosting environment or a local VMware instance, proper tooling ensures your virtual machine operates at its full potential.
Prerequisites
Before starting, make sure you have the following:
- A running Ubuntu virtual machine (Ubuntu 20.04, 22.04, or 24.04 LTS recommended)
- Sudo or root access to the guest operating system
- An active internet connection inside the VM
- VMware Workstation, VMware Fusion, or VMware vSphere as your hypervisor
Step 1: Update Your Ubuntu System
Always begin by refreshing your package index and applying any pending updates. This ensures you are working with the latest software versions and avoids dependency conflicts during installation.
Open a terminal inside your Ubuntu VM and run:
sudo apt update && sudo apt upgrade -yWait for the process to complete before proceeding. A fully updated system reduces the risk of installation errors and security vulnerabilities.
Step 2: Understand Your VMware Tools Installation Options
VMware provides two primary methods for installing VMware Tools on Ubuntu:
Option A: Open VM Tools (Recommended)
Open VM Tools (open-vm-tools) is the open-source, community-maintained implementation of VMware Tools. It is included in the official Ubuntu repositories and is the method recommended by both VMware and Canonical for most Linux distributions.
Advantages:
- Installed directly from Ubuntu's official package repositories
- Automatically updated alongside system packages via
apt - No need to mount ISOs or run proprietary scripts
- Fully compatible with VMware Workstation, Fusion, and vSphere
Option B: Official VMware Tools (Manual Installation)
The proprietary VMware Tools package is distributed as an ISO image directly by VMware. This method is useful in edge cases where Open VM Tools lacks a specific feature or when working in highly controlled enterprise environments.
When to consider this option:
- You require a specific VMware feature not available in Open VM Tools
- You are working in an air-gapped environment without internet access
- Your organization mandates the use of official VMware-distributed packages
For the vast majority of users, Open VM Tools is the correct and preferred choice.
Step 3: Install Open VM Tools (Preferred Method)
Installing Open VM Tools on Ubuntu is quick and straightforward using the apt package manager.
Run the following command in your terminal:
sudo apt install open-vm-tools open-vm-tools-desktop -yHere is what each package provides:
| Package | Purpose |
|---|---|
open-vm-tools | Core VMware Tools functionality: time sync, network optimization, guest OS management |
open-vm-tools-desktop | Enhanced graphical features: clipboard sharing, drag-and-drop, display scaling |
> Note: If you are running Ubuntu Server without a graphical desktop environment, you only need open-vm-tools. The open-vm-tools-desktop package is only required for desktop (GUI) installations.
Reboot the Virtual Machine
After installation completes, reboot your Ubuntu VM to apply all changes:
sudo rebootOnce the system restarts, VMware Tools will be active and running automatically.
Step 4: Manual Installation of Official VMware Tools (Alternative Method)
If Open VM Tools does not satisfy your requirements, follow this section to manually install the official VMware Tools package directly from VMware.
Step 4.1: Mount the VMware Tools ISO
In your VMware hypervisor (Workstation, Fusion, or vSphere):
- Right-click your virtual machine and select Settings (or navigate to the VM menu)
- Click VM in the top menu bar, then select Install VMware Toolsβ¦
- VMware will mount the VMware Tools ISO to the virtual CD-ROM drive of your Ubuntu VM
Step 4.2: Mount the CD-ROM Drive in Ubuntu
Switch to your Ubuntu terminal and create a mount point, then mount the CD-ROM:
sudo mkdir -p /mnt/cdrom
sudo mount /dev/cdrom /mnt/cdromVerify the ISO contents are accessible:
ls /mnt/cdromYou should see a file named something like VMwareTools-x.x.x-xxxxxxx.tar.gz.
Step 4.3: Copy and Extract the Installer
Copy the VMware Tools archive to the /tmp directory and extract it:
cp /mnt/cdrom/VMwareTools-*.tar.gz /tmp
cd /tmp
tar -zxvf VMwareTools-*.tar.gzThis creates a directory called vmware-tools-distrib inside /tmp.
Step 4.4: Run the VMware Tools Installation Script
Navigate into the extracted directory and execute the installer with root privileges:
cd /tmp/vmware-tools-distrib
sudo ./vmware-install.plThe installer will present a series of prompts. In most cases, pressing Enter to accept the default values is sufficient. The script will compile and install the necessary kernel modules and drivers.
Step 4.5: Reboot the System
Once the installation script finishes, reboot your virtual machine:
sudo rebootStep 5: Verify That VMware Tools Is Working Correctly
After rebooting, confirm that VMware Tools is installed and functioning as expected.
Check the Installed Version
Run the following command to display the installed VMware Tools version:
vmware-toolbox-cmd -vYou should see output similar to:
12.x.x build-xxxxxxx (build-xxxxxxx)Check the Service Status
Verify that the VMware Tools service is running:
sudo systemctl status open-vm-toolsThe output should show the service as active (running).
Functional Verification Checklist
| Feature | How to Test |
|---|---|
| Clipboard sharing | Copy text on the host, paste it inside the Ubuntu VM |
| Drag-and-drop | Drag a file from host desktop into the VM window |
| Dynamic display resolution | Resize the VM window β the Ubuntu desktop should scale automatically |
| Shared folders | Check that shared folders configured in VMware settings are accessible |
| Time synchronization | Run timedatectl and verify the clock is accurate |
Step 6: Keeping VMware Tools Up to Date
Updating Open VM Tools
Since Open VM Tools is managed through Ubuntu's package system, updating it is as simple as running your regular system update:
sudo apt update && sudo apt upgrade -yThis ensures you always have the latest version with security patches and bug fixes β no manual intervention required.
Updating Official VMware Tools
If you installed the proprietary VMware Tools manually, you will need to repeat the manual installation process (Steps 4.1 through 4.5) whenever a new version is released by VMware.
Troubleshooting Common Issues
VMware Tools Not Starting After Reboot
If the service does not start automatically, enable and start it manually:
sudo systemctl enable open-vm-tools
sudo systemctl start open-vm-toolsClipboard Sharing Not Working on Desktop
Ensure open-vm-tools-desktop is installed:
sudo apt install open-vm-tools-desktop -yThen restart the VM or log out and back in to your desktop session.
Screen Resolution Not Adjusting Automatically
This is usually resolved by installing open-vm-tools-desktop. Additionally, check that VMware's Autofit Guest option is enabled under View in VMware Workstation.
Mount Error When Accessing the CD-ROM
If /dev/cdrom is not found, try /dev/sr0 instead:
sudo mount /dev/sr0 /mnt/cdromChoosing the Right Hosting Environment for Your VMware Workloads
If you are managing VMware-based workloads at scale, your underlying infrastructure matters just as much as your VM configuration. For resource-intensive virtualization tasks, consider upgrading to a Dedicated Servers solution that gives you full hardware control, maximum performance, and no resource contention with other tenants.
For development environments and smaller-scale deployments, a managed VPS Hosting plan provides the flexibility and isolation you need at a fraction of the cost. You can also explore VPS Control Panels to simplify server management with intuitive graphical interfaces.
If your projects involve machine learning, AI inference, or GPU-accelerated workloads inside virtual environments, GPU Hosting delivers the raw computational power required for demanding tasks.
Conclusion
Installing VMware Tools on Ubuntu is a straightforward but critically important step for anyone running Ubuntu as a VMware guest operating system. The difference in usability, performance, and integration between a VM with and without VMware Tools is significant.
To summarize the key takeaways:
- Use Open VM Tools (
open-vm-tools+open-vm-tools-desktop) for virtually all use cases β it is the recommended, easiest, and most maintainable approach - Use the official VMware Tools only when specific enterprise requirements or missing features demand it
- Always reboot after installation to ensure all drivers and services are loaded correctly
- Verify functionality using the checklist provided to confirm clipboard sharing, display scaling, and network performance are working as expected
- Keep VMware Tools updated to benefit from the latest performance improvements and security patches
With VMware Tools properly installed and configured, your Ubuntu virtual machine will run smoothly, respond intuitively, and integrate seamlessly with your host environment β making your virtualization workflow significantly more productive.
on All Hosting Services
