How to Install VMware Tools in Rocky Linux
As most people know, CentOS is being replaced by Rocky Linux (and others) as the closest Linux distribution to RedHat Enteprise. Therefore, it was important to me that we talk briefly and crisply about the VMware Tools, because it is always important within the process of VM provisioning.
Therefore I describe below how to install the VMware Tools under Rocky Linux.
First let us start by checking if VMware Tools are already installed
vmware-toolbox-cmd -v
The output should be approximately:
Next, we install the appropriate VMware Tools package on Rocky.
dnf install open-vm-tools-desktop # if you have a GUI VM
dnf install open-vm-tools # for Terminal VM
Lastly, restart the VM and lo and behold, the VMware tools are installed.
reboot now
You can check this by looking into the vCenter, where the VMware Tools message should be gone.
Or with the above command via CLI directly on the VM
vmware-toolbox-cmd -v
That’s it from this blog post, if you have any questions please use the comments below. 🙂