Installing open-vm-toolsLast Updated January 17, 2025
Most Linux distributions include
open-vm-tools
and some
distributions install open-vm-tools
by default. Most users will find
open-vm-tools
provided by Linux distrubutions to meet most of their
needs. Note that different distributions update their version of
open-vm-tools
at different times. Users can update their
open-vm-tools
from the package repository provided by the Linux
distribution. Like installing any other software on the guest, set up the package repository
properly for the guest.
Installation instructions would vary
depending on the package management system used by the distribution. Sometimes
another package repository can be configured to install a newer version from the OS
vendor. For detailed instructions, refer to the documentation of the OS vendor.
Generally,
open-vm-tools
is supported for OSs that use three different
package management systems:- Ubuntu, Debian and other OSes from this family use apt to install Debian (*.deb) packages
- Redhat, Fedora and CentOS use dnf or yum to install RPM (*.rpm) packages
- SuSE Linux Enterprise (SLE) and OpenSuSE use zypper to install RPM (*.rpm) packages
All distributions split the package into a system and a desktop component. The latter
is useful on systems that have a graphical UI (X11, Wayland, and so on). The package
names are
'open-vm-tools'
and
'open-vm-tools-desktop'
. SLE and OpenSuSE ship another
package 'libvmtools'
as a dependency. The package management
system will automatically install this dependency when
'open-vm-tools'
or 'open-vm-tools-desktop'
are installed- Ubuntu, Debian, and related
- Make sure the package index is updated:
- The command to install and upgrade are the same. If the VM has a GUI (X11, and so on), install or upgradeopen-vm-tools-desktop:
- Otherwise, installopen-vm-tools:
- RHEL, Fedora and CentOS
- If the VM has a GUI (X11, and so on), install or upgradeopen-vm-tools-desktop:
- Otherwise, installopen-vm-tools:
- SLE and OpenSuSE
- If the VM has a GUI (X11, and so on), install or upgradeopen-vm-tools-desktop:
- Otherwise, installopen-vm-tools: