How To Install open-vm-tools on Rocky Linux 8

In this tutorial we learn how to install open-vm-tools on Rocky Linux 8. open-vm-tools is Open Virtual Machine Tools for virtual machines hosted on VMware

Introduction

In this tutorial we learn how to install open-vm-tools on Rocky Linux 8.

What is open-vm-tools

The open-vm-tools project is an open source implementation of VMware Tools. It is a suite of open source virtualization utilities and drivers to improve the functionality, user experience and administration of VMware virtual machines. This package contains only the core user-space programs and libraries of open-vm-tools.

We can use yum or dnf to install open-vm-tools on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install open-vm-tools.

Install open-vm-tools on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install open-vm-tools using dnf by running the following command:

sudo dnf -y install open-vm-tools

Install open-vm-tools on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install open-vm-tools using yum by running the following command:

sudo yum -y install open-vm-tools

How To Uninstall open-vm-tools on Rocky Linux 8

To uninstall only the open-vm-tools package we can use the following command:

sudo dnf remove open-vm-tools

open-vm-tools Package Contents on Rocky Linux 8

/etc/pam.d/vmtoolsd
/etc/vmware-tools
/etc/vmware-tools/poweroff-vm-default
/etc/vmware-tools/poweron-vm-default
/etc/vmware-tools/resume-vm-default
/etc/vmware-tools/scripts
/etc/vmware-tools/scripts/vmware
/etc/vmware-tools/scripts/vmware/network
/etc/vmware-tools/statechange.subr
/etc/vmware-tools/suspend-vm-default
/etc/vmware-tools/tools.conf.example
/etc/vmware-tools/vgauth
/etc/vmware-tools/vgauth.conf
/etc/vmware-tools/vgauth/schemas
/etc/vmware-tools/vgauth/schemas/XMLSchema-hasFacetAndProperty.xsd
/etc/vmware-tools/vgauth/schemas/XMLSchema-instance.xsd
/etc/vmware-tools/vgauth/schemas/XMLSchema.dtd
/etc/vmware-tools/vgauth/schemas/XMLSchema.xsd
/etc/vmware-tools/vgauth/schemas/catalog.xml
/etc/vmware-tools/vgauth/schemas/datatypes.dtd
/etc/vmware-tools/vgauth/schemas/saml-schema-assertion-2.0.xsd
/etc/vmware-tools/vgauth/schemas/xenc-schema.xsd
/etc/vmware-tools/vgauth/schemas/xml.xsd
/etc/vmware-tools/vgauth/schemas/xmldsig-core-schema.xsd
/usr/bin/VGAuthService
/usr/bin/vm-support
/usr/bin/vmhgfs-fuse
/usr/bin/vmtoolsd
/usr/bin/vmware-checkvm
/usr/bin/vmware-hgfsclient
/usr/bin/vmware-namespace-cmd
/usr/bin/vmware-rpctool
/usr/bin/vmware-toolbox-cmd
/usr/bin/vmware-vgauth-cmd
/usr/bin/vmware-xferlogs
/usr/lib/.build-id
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/93aa669df0b0928df808866b1bb6cde47ec273
/usr/lib/.build-id/10
/usr/lib/.build-id/10/6c9c5aab85d3982cbcb99456f98b8e9ce64cac
/usr/lib/.build-id/11
/usr/lib/.build-id/11/ddaf2e3c50e4e76005ed80d68e34b614e02ce3
/usr/lib/.build-id/39
/usr/lib/.build-id/39/9e147fd2f49bee65f8f58266613aa0664f0a2e
/usr/lib/.build-id/39/b6ad800745f6453e0e839fa4570ec6a9c9f9cc
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/c2ffe6f520614b384d3e918af34a15a4e76714
/usr/lib/.build-id/40
/usr/lib/.build-id/40/5796e341f4157ecce9d46e1023be2cf862a7d6
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/1f67340997145cd07f6722ff3684042f4ad55e
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/f1d72564fd0819aa52ad3a1150ef5c31153bb2
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/ba7fa89554779571860bbf15d1071b815fad6c
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/b93ec31b4c6f97f9df003a5754e3402c25af0a
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/b3320b23b945ee9f647dbaffa645d9d183271a
/usr/lib/.build-id/62
/usr/lib/.build-id/62/0e19a4b18778a75341b24910c35277b7122295
/usr/lib/.build-id/71
/usr/lib/.build-id/71/169ce279774636abbe8eb6b3468e9ffe51bb92
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/c9470e0c7e5dd58c462feb43295437a9b22318
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/6200ab518631ffe34a80d598a7f5b0a15d9509
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/65f25363f457e56aa7524b40becf5b39431ac5
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/78b9ef0b1ba1fa2d0908c15a2792cec8239ce3
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/49a3113b5b7975dbb4467dcb85afe431080039
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/025ff54d1a70284b42e0cc0b8fd55ca33ce1b1
/usr/lib/.build-id/d3/24b3ccaa7ab5cb98e1e41fcc87b3f1e3b4b953
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/e3ca59d5da1911b1896fc8f475f2223a8943dc
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/12fdf1595a0c3d7babf4fd4381e3c96121664b
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/cadc6b14b385d759ccfc715399fc1b17cb4d6e
/usr/lib/modules-load.d/open-vm-tools.conf
/usr/lib/systemd/system/run-vmblock\x2dfuse.mount
/usr/lib/systemd/system/vgauthd.service
/usr/lib/systemd/system/vmtoolsd.service
/usr/lib/udev/rules.d/99-vmware-scsi-udev.rules
/usr/lib64/libDeployPkg.so.0
/usr/lib64/libDeployPkg.so.0.0.0
/usr/lib64/libguestlib.so.0
/usr/lib64/libguestlib.so.0.0.0
/usr/lib64/libhgfs.so.0
/usr/lib64/libhgfs.so.0.0.0
/usr/lib64/libvgauth.so.0
/usr/lib64/libvgauth.so.0.0.0
/usr/lib64/libvmtools.so.0
/usr/lib64/libvmtools.so.0.0.0
/usr/lib64/open-vm-tools
/usr/lib64/open-vm-tools/plugins
/usr/lib64/open-vm-tools/plugins/common
/usr/lib64/open-vm-tools/plugins/common/libhgfsServer.so
/usr/lib64/open-vm-tools/plugins/common/libvix.so
/usr/lib64/open-vm-tools/plugins/vmsvc
/usr/lib64/open-vm-tools/plugins/vmsvc/libappInfo.so
/usr/lib64/open-vm-tools/plugins/vmsvc/libdeployPkgPlugin.so
/usr/lib64/open-vm-tools/plugins/vmsvc/libguestInfo.so
/usr/lib64/open-vm-tools/plugins/vmsvc/libpowerOps.so
/usr/lib64/open-vm-tools/plugins/vmsvc/libresolutionKMS.so
/usr/lib64/open-vm-tools/plugins/vmsvc/libtimeSync.so
/usr/lib64/open-vm-tools/plugins/vmsvc/libvmbackup.so
/usr/share/doc/open-vm-tools
/usr/share/doc/open-vm-tools/AUTHORS
/usr/share/doc/open-vm-tools/ChangeLog
/usr/share/doc/open-vm-tools/NEWS
/usr/share/doc/open-vm-tools/README
/usr/share/licenses/open-vm-tools
/usr/share/licenses/open-vm-tools/COPYING
/usr/share/open-vm-tools
/usr/share/open-vm-tools/messages
/usr/share/open-vm-tools/messages/de
/usr/share/open-vm-tools/messages/de/VGAuthCli.vmsg
/usr/share/open-vm-tools/messages/de/VGAuthService.vmsg
/usr/share/open-vm-tools/messages/de/libvgauth.la.vmsg
/usr/share/open-vm-tools/messages/de/toolboxcmd.vmsg
/usr/share/open-vm-tools/messages/de/vmtoolsd.vmsg
/usr/share/open-vm-tools/messages/en
/usr/share/open-vm-tools/messages/en/VGAuthCli.vmsg
/usr/share/open-vm-tools/messages/en/VGAuthService.vmsg
/usr/share/open-vm-tools/messages/en/libvgauth.la.vmsg
/usr/share/open-vm-tools/messages/en/toolboxcmd.vmsg
/usr/share/open-vm-tools/messages/en/vmtoolsd.vmsg
/usr/share/open-vm-tools/messages/es
/usr/share/open-vm-tools/messages/es/VGAuthCli.vmsg
/usr/share/open-vm-tools/messages/es/VGAuthService.vmsg
/usr/share/open-vm-tools/messages/es/libvgauth.la.vmsg
/usr/share/open-vm-tools/messages/es/toolboxcmd.vmsg
/usr/share/open-vm-tools/messages/es/vmtoolsd.vmsg
/usr/share/open-vm-tools/messages/fr
/usr/share/open-vm-tools/messages/fr/VGAuthCli.vmsg
/usr/share/open-vm-tools/messages/fr/VGAuthService.vmsg
/usr/share/open-vm-tools/messages/fr/libvgauth.la.vmsg
/usr/share/open-vm-tools/messages/fr/toolboxcmd.vmsg
/usr/share/open-vm-tools/messages/fr/vmtoolsd.vmsg
/usr/share/open-vm-tools/messages/it
/usr/share/open-vm-tools/messages/it/VGAuthCli.vmsg
/usr/share/open-vm-tools/messages/it/VGAuthService.vmsg
/usr/share/open-vm-tools/messages/it/libvgauth.la.vmsg
/usr/share/open-vm-tools/messages/it/toolboxcmd.vmsg
/usr/share/open-vm-tools/messages/it/vmtoolsd.vmsg
/usr/share/open-vm-tools/messages/ja
/usr/share/open-vm-tools/messages/ja/VGAuthCli.vmsg
/usr/share/open-vm-tools/messages/ja/VGAuthService.vmsg
/usr/share/open-vm-tools/messages/ja/libvgauth.la.vmsg
/usr/share/open-vm-tools/messages/ja/toolboxcmd.vmsg
/usr/share/open-vm-tools/messages/ja/vmtoolsd.vmsg
/usr/share/open-vm-tools/messages/ko
/usr/share/open-vm-tools/messages/ko/VGAuthCli.vmsg
/usr/share/open-vm-tools/messages/ko/VGAuthService.vmsg
/usr/share/open-vm-tools/messages/ko/libvgauth.la.vmsg
/usr/share/open-vm-tools/messages/ko/toolboxcmd.vmsg
/usr/share/open-vm-tools/messages/ko/vmtoolsd.vmsg
/usr/share/open-vm-tools/messages/zh_CN
/usr/share/open-vm-tools/messages/zh_CN/VGAuthCli.vmsg
/usr/share/open-vm-tools/messages/zh_CN/VGAuthService.vmsg
/usr/share/open-vm-tools/messages/zh_CN/libvgauth.la.vmsg
/usr/share/open-vm-tools/messages/zh_CN/toolboxcmd.vmsg
/usr/share/open-vm-tools/messages/zh_CN/vmtoolsd.vmsg
/usr/share/open-vm-tools/messages/zh_TW
/usr/share/open-vm-tools/messages/zh_TW/VGAuthCli.vmsg
/usr/share/open-vm-tools/messages/zh_TW/VGAuthService.vmsg
/usr/share/open-vm-tools/messages/zh_TW/libvgauth.la.vmsg
/usr/share/open-vm-tools/messages/zh_TW/toolboxcmd.vmsg
/usr/share/open-vm-tools/messages/zh_TW/vmtoolsd.vmsg

References

Summary

In this tutorial we learn how to install open-vm-tools on Rocky Linux 8 using yum and dnf.