Install VMware Tools in a Linux Guest Using VMware Player
Learn how to install VMware Tools manually in a Linux guest with VMware Player, including open-vm-tools, the VMware Tools ISO, prerequisites, verification, and troubleshooting.
VMware Tools is guest software that provides drivers and integration services between a virtual machine and VMware Player. This lesson explains how to install it in a running Linux guest when Easy Install did not install the tools automatically.
The guest operating system is the Linux system running inside the virtual machine. The host operating system is the physical computer system running VMware Player. Windows guests use a different installation procedure; see Install VMware Tools in Windows for that case.
What VMware Tools provides
VMware Tools supplies guest-side drivers, services, and integration components. Depending on the Linux distribution, desktop environment, VMware Player version, and display server, it can provide:
- Better display handling and dynamic resolution changes.
- Smoother mouse movement and pointer integration.
- Guest and host time synchronization.
- Shared clipboard and drag-and-drop support where available.
- Cleaner shutdown, restart, suspend, and other guest operations.
- Support for other VMware guest integration features, such as shared folders when the required components are installed.
Some features are unavailable in particular desktop sessions or require additional configuration. Installing the tools does not guarantee that every integration feature works with every Linux display server.
When a manual installation is needed
Easy Install is a VMware-assisted operating system installation process that can automate parts of a supported guest installation. For some Linux installations, it can also install VMware Tools during setup.
Use a manual procedure when Easy Install was not used, when it failed to install the tools, or when you need to repair an existing installation. Power on the VM and log in to Linux before beginning. You need root privileges directly or through sudo.
Choose an installation source
Linux guests commonly have two possible VMware Tools sources. Use one supported implementation rather than installing both implementations on top of each other.
Method 1: Install open-vm-tools from the distribution
First search your repository for VMware guest tools. On Debian- or Ubuntu-family systems, for example:
apt-cache search open-vm-tools
Install the standard package:
sudo apt-get update
sudo apt-get install open-vm-tools
For a graphical desktop, the desktop integration package may also be required:
sudo apt-get install open-vm-tools-desktop
Package names and commands vary. Use the equivalent package manager for your distribution, such as dnf, yum, zypper, or pacman. Restart the guest, or restart the affected desktop session, when the package documentation requests it.
Afterward, check the service when the distribution uses a systemd service:
systemctl status open-vm-tools
If this method works, do not also install the legacy ISO tools unless your distribution or VMware documentation specifically requires it.
Method 2: Install from the VMware Tools ISO
1. Prepare the virtual CD/DVD device
- Power on the Linux VM and log in.
- In VMware Player, select Player > Manage > Virtual Machine Settings.
- Select the first virtual CD/DVD device.
- Configure it so VMware Player can attach the VMware Tools virtual CD image. In older VMware Player interfaces, this may mean selecting the physical-drive Auto Detect setting.
- Make sure the device is connected. The guest cannot read the installer media if the virtual CD/DVD drive is disconnected.
If the VM has no suitable optical device, add one through the virtual machine hardware settings. The Add a CD-ROM Drive guide covers that hardware task.
2. Start the VMware Player installation action
With the guest running, choose Player > Manage > Install VMware Tools. Depending on the VMware Player release, Player may ask to download the tools image. Accept the download prompt if the image is not already available and allow Player to attach it to the virtual CD/DVD device.
The attached image is called the VMware Tools ISO: a virtual optical-disc image containing the legacy VMware Tools installer. The guest desktop may mount it automatically and display it as a disc. If it does not, locate the device and mount it manually using your distribution's normal removable-media procedure.
3. Check the Linux prerequisites
Open a terminal. Verify that Perl, the scripting language runtime used by the legacy installer, is available:
perl -v
If the command is missing on an Ubuntu-family guest, install it with:
sudo apt-get install perl
The installer may also need compiler and kernel development files to build host modules. Typical requirements include a compiler, make, and kernel headers matching the currently running kernel. A package manager may report the exact missing package names.
4. Find the mounted installer media
A mount point is a directory where Linux makes removable media accessible. Mount locations vary; examples include directories under /media, /run/media, or /mnt. Do not assume a fixed path.
Display current mounts:
mount
Look for a CD-ROM or ISO entry and note its directory. Then list that directory, replacing the placeholder with the path reported on your system:
ls -l <mount-point>
Find the versioned VMware Tools compressed archive. Its name commonly begins with VMwareTools and ends in .tar.gz, but always use the exact filename shown by ls.
5. Extract the archive outside the CD mount
Optical media is normally read-only, so create a temporary working directory on the guest filesystem:
mkdir -p /tmp/vmware-tools
cd /tmp/vmware-tools
Copy the archive from the mounted media, replacing both placeholders with the actual mount point and archive filename:
cp <mount-point>/<VMWARE_TOOLS_ARCHIVE> .
Extract it with tar, which is a file archive utility:
tar zxpf <VMWARE_TOOLS_ARCHIVE>
The archive normally creates a directory containing the installer script. Change into that extracted directory, then run the script with administrative privileges:
cd vmware-tools-distrib
sudo perl vmware-install.pl
Use the exact extracted directory name if it differs. Run the installer from the extracted working directory rather than directly from the mounted CD.
6. Answer the installer questions
The Perl installer asks configuration questions about paths, modules, and services. For a standard desktop VM, the displayed defaults are generally appropriate. Press Enter to accept a default unless you have a specific reason to change it.
Read warnings carefully. If the installer asks to compile modules and reports missing compiler tools or kernel files, stop and install the required prerequisites before trying again.
7. Reboot and verify
Reboot after the installation so drivers, modules, and services can load fully:
sudo reboot
After Linux starts, test practical integration features. Resize the VM window and check whether the guest display follows the new size. Move the pointer between host and guest, and test clipboard or drag-and-drop if those features are supported and enabled.
For an ISO installation, the exact service or status command varies by release. Check the installed VMware-related services and modules using your distribution's service tools and the installer's final output. For a package installation, the following is commonly useful:
systemctl status open-vm-tools
If integration is absent, a successful script exit alone is not enough: verify that the service is running and that the required kernel modules loaded.
Ubuntu example: Linux guest without Easy Install
- Boot the Ubuntu VM and log in.
- Open a terminal and run
perl -v. - If Perl is missing, run
sudo apt-get install perl. - Choose Player > Manage > Virtual Machine Settings, select the CD/DVD device, and confirm that it is connected.
- Choose Player > Manage > Install VMware Tools and accept the download prompt if shown.
- Run
mountto identify the mounted media, then usels -l <mount-point>to find the archive. - Create
/tmp/vmware-tools, copy the archive there, and extract it withtar zxpf <VMWARE_TOOLS_ARCHIVE>. - Enter the extracted directory and run
sudo perl vmware-install.pl. - Accept normal defaults, resolve any requested build dependencies, and run
sudo reboot.
Common installation issues
Kernel, Secure Boot, and compatibility considerations
Linux kernel updates can require VMware Tools modules to be rebuilt. If the running kernel changes, install matching kernel headers and rerun the installer or update the distribution-provided tools package.
Secure Boot can prevent unsigned third-party kernel modules from loading. A legacy ISO installer can also fail when it does not understand a newer kernel or desktop stack. Missing headers, unsupported module interfaces, and compiler-version differences can produce similar symptoms.
When the distribution supports open-vm-tools, it is usually easier to maintain because package updates follow the distribution's kernel and service changes. Do not install the ISO-based tools and open-vm-tools together unless the documentation explicitly says that the combination is supported.
Upgrades and final checks
- For
open-vm-tools, use the normal Linux package update process. - For the ISO-based installation, use VMware Player's Install VMware Tools workflow when a compatible tools image is available.
- After a kernel update, verify that tools services run and that required modules load.
- Confirm display resizing and pointer integration after every repair or upgrade.
- Keep the temporary extraction directory only as long as needed, then remove it if desired.
For related VMware Player concepts, review VMware Tools Overview, Easy Install Feature in VMware Player, Shared Folders Overview, and Copy and Paste Feature.
Exam-relevant notes
- VMware Tools runs inside the guest operating system; it is not installed only on the host.
open-vm-toolsis the open-source, distribution-packaged alternative commonly used by current Linux systems.- The legacy VMware Tools ISO installer requires Perl and may require compiler tools and matching kernel headers.
- A mount point is the directory through which Linux accesses the attached tools media.
- Extract the tar archive to a writable directory before running
vmware-install.pl. - Reboot after installation so services and kernel modules can load.