# locate vmware-uninstall-tools.pl # ./<path and filename from above>
Uninstalling the tar installation of VMware Tools. Stopping VMware Tools services in the virtual machine: Guest operating system daemon: [ OK ] Unmounting HGFS shares: [ OK ] Guest filesystem driver: [ OK ] Guest memory manager: [ OK ] File /etc/X11/xorg.conf is backed up to /etc/X11/xorg.conf.old.1. File /etc/updatedb.conf is backed up to /etc/updatedb.conf.old.1. File /etc/modprobe.conf is backed up to /etc/modprobe.conf.old.1. The removal of VMware Tools 3.5.0 build-158874 for Linux completed successfully. Thank you for having tried this software.
# rpm --import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-DSA-KEY.pub # rpm --import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub
/etc/yum.repos.d/vmware-tools.repo: [vmware-tools] name=VMware Tools for Red Hat Enterprise Linux $releasever - $basearch baseurl=http://packages.vmware.com/tools/esx/5.1/rhel5/$basearch enabled=1 gpgcheck=1
# yum install vmware-tools-esx-kmods vmware-tools-esx
Reboot
Remove old Vmware tools for Operation System Specific Packages (OSP version).
# yum remove vmware-* -y # rpm -e --noscripts vmware-open-vm-tools-xorg-drv-mouse-12.4.3.0-0.208167.el5 # rpm -e --noscripts vmware-open-vm-tools-xorg-drv-display-10.15.2.0-0.208167.el5
Update Vmware repository
# cd /etc/yum.repos.d/ # vi vmware-tools.repo Change repository from EXS4.0 to 4.1: baseurl=http://packages.vmware.com/tools/esx/4.1/rhel5/x86_64 gpgcheck=1
Get rpm package key from Vmware:
# cd /tmp # wget http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub
Install GPG key:
# rpm --import VMWARE-PACKAGING-GPG-RSA-KEY.pub
Install new vmware-tools
# yum install vmware-tools -y # service vmware-tools restart
Vmware OSP install document: