[email protected]:~$ cd/media/cdrom0 into the optical drive
[email protected]:/media/cdrom0$ ls to see what's in the current directory
Manifest.txt run_upgrader.sh vmwaretools-9.6.2-1688356.tar.gz vmware-tools-upgrader-32 vmware-tools-upgrader-64
[email protected]:/media/cdrom0$ CP vmwaretools*.tar.gz/home copy Vwtools to home directory (note capitalization)
[Email protected]:/media/cdrom0$ CD
[Email protected]:~$ ls
Desktop dnt vmwaretools-9.6.2-1688356.tar.gz
[email protected]:~$ gzip-d vmwaretools*.tar.gz unzip. GZ to tar (file size will become larger)
[Email protected]:~$ ls
Desktop dnt Vmwaretools-9.6.2-1688356.tar
[email protected]:~$ tar-xvf Vmwaretools*.tar unzip the file and show the detailed decompression process
[Email protected]:~$ ls
Desktop dnt Vmwaretools-9.6.2-1688356.tar Vmware-tools-distrib
[email protected]:~$ cd vmware* into the Vmware-tools-distrib directory
[Email protected]:~/vmware-tools-distrib$ ls
Bin Doc etc FILES INSTALL installer Lib vmware-install.pl
[email protected]:~/vmware-tools-distrib$ su switch to root account
Password:
[Email protected]:/home/dnt/vmware-tools-distrib# ./vmware*.pl Run the installation package (as shown)
[email protected]:reboot reboot
Note this situation:
[Email protected]:/home/dnt/vmware-tools-distrib#./vmware*.pl
A Previous installation of VMware Tools has been detected.
The previous installation was made by the Tar Installer (version 4).
Keeping the TAR4 Installer database format.
You have a version of VMware Tools installed. Continuing this install would
First uninstall the currently installed version. wish to continue?
(yes/no) [Yes]
Error:unable to find the binary installation directory (answer BINDIR)
In the Installer database file "/etc/vmware-tools/locations".
Uninstall failed. Please correct the failure and re run the install.
Execution aborted.
Workaround:
[Email protected]:/home/dnt/vmware-tools-distrib# rm-rf/etc/vmware-tools
[Email protected]:/home/dnt/vmware-tools-distrib# rm-rf/tmp/vm*
[Email protected]:/home/dnt/vmware-tools-distrib#./vmware*.pl
Resources:
Http://blog.sina.com.cn/s/blog_4fd50c390101897e.html
Http://kb.vmware.com/selfservice/search.do?cmd=displayKC&docType=kc&docTypeID=DT_KB_1_1&externalId =2101470
Kali installing VMware Tools (verbose + exception handling)