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

In this tutorial we learn how to install open-vm-tools-desktop on Rocky Linux 8. open-vm-tools-desktop is User experience components for Open Virtual Machine Tools

Introduction

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

What is open-vm-tools-desktop

This package contains only the user-space programs and libraries of open-vm-tools that are essential for improved user experience of VMware virtual machines.

We can use yum or dnf to install open-vm-tools-desktop 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-desktop.

Install open-vm-tools-desktop 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-desktop using dnf by running the following command:

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

Install open-vm-tools-desktop 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-desktop using yum by running the following command:

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

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

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

sudo dnf remove open-vm-tools-desktop

open-vm-tools-desktop Package Contents on Rocky Linux 8

/etc/xdg/autostart/vmware-user.desktop
/usr/bin/vmware-user
/usr/bin/vmware-user-suid-wrapper
/usr/bin/vmware-vmblock-fuse
/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/70a49742778d46cf4fa463d3dc81d24751842d
/usr/lib/.build-id/36
/usr/lib/.build-id/36/cbd40cc4813c797fbc6c8becc05ec48999577e
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/3e4462f68e1101582d57fd4fe5ba545bf6529c
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/96d1a0b494a513ebcc4407d8b8f79849407e03
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/a446d98303406357fea8defa50317edb2e83a5
/usr/lib64/open-vm-tools/plugins/vmusr
/usr/lib64/open-vm-tools/plugins/vmusr/libdesktopEvents.so
/usr/lib64/open-vm-tools/plugins/vmusr/libdndcp.so
/usr/lib64/open-vm-tools/plugins/vmusr/libresolutionSet.so

References

Summary

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