VMware Communities
JohnLinux
Contributor
Contributor

Not Able to install VMware tool through console

Steps which I have followed.

I am doing thru console

#cd /tmp

#tar -xvf tar xzf /mnt/VMwareTools-3.5.0-158874.tar.gz

#cd vmware-tools-distrib

  1. ./vmware-install.pl

Getting error

Unable to execute "/usr/bin/vmware-uninstall-tools.pl."

7 Replies
JohnLinux
Contributor
Contributor

adding to above

when checked the folder. there is not file with name vmware-uninstall-tools.pl

/usr/bin/vmware-uninstall-tools.pl

0 Kudos
Mikero
Community Manager
Community Manager

Hi JohnLinux, Welcome to the Fusion support forum 😃

We'll need to know few things before we can figure this out.

Which distribution of Linux are you using?

What is the host computer and operating system?

When you say:

#cd vmware-tools-distrib

#./vmware-install.pl

Getting error

Unable to execute "/usr/bin/vmware-uninstall-tools.pl."

Do you mean you run the install script, and it generates the error 'Unable to execute /usr/bin/vmware-uninstall-tools.pl",

or

Do you run the script, get a different error, then try to run the uninstaller and get an error on that as well?

-
Michael Roy - Product Marketing Engineer: VCF
0 Kudos
JohnLinux
Contributor
Contributor

Its RHEL ES 4.

with 2.6 kernal....

I am running vmtoool installation script.

But when I checked /usr/bin/vmware-uninstall-tools.pl .. there is no vmware-uninstall-tools.pl file exist.

0 Kudos
WoodyZ
Immortal
Immortal

First of all I want to point out that you haven provided the information that was asked and secondly you should always provide no less then the following information along with what the issues might be...

VMware Product Name and Version.

Host OS Name and Version.

Guest OS Name and Version

Host Computer Manufacture and Model.

Also have a look at as a guideline for additional information you should be including.

Without providing this information in some cases it can make it much harder to provide proper support for whatever the issues are and in this particular case the VMware Tools you have stated "VMwareTools-3.5.0-158874.tar.gz" does not appear to be one that is included in VMware Fusion and this forum you've posted in is for VMware Fusion.

So you need to provide additional information in order to help resolve your issue.

Also since "vmware-install.pl" is a link to "/vmware-tools-distrib/bin/vmware-uninstall-tools.pl" and you say that file does not exist then I'd be checking the MD5 checksum of the VMware Product you downloaded and make sure it matches what's published at the VMware Site for that download. I might even go as far as manually mounting the linux.iso file and extract the contents to a temp folder on the Host just to see if it's in the .tar.gz package to make sure it's not a issue occurring from within the Guest.

Anyway if you'd provide adequate information someone might be able to help figure out where the problem is.

0 Kudos
snorgy
Contributor
Contributor

I ran into something similar with a guest that I'd tried to update vmware tools on, and it'd blown up half way through.  I ended up using the uninstaller script that's included in the tar.gz .. hidden .. but there.

Since you've uncompressed the tools tar.gz file into /tmp, you should find the script here:

  /tmp/vmware-tools-distrib/bin/vmware-uninstall-tools.pl

It ought to do the uninstall for you, and then running the install script won't complain about an existing install.

0 Kudos
ptootill
Contributor
Contributor

Quote: "Since you've uncompressed the tools tar.gz file into /tmp, you should find the script here:

  /tmp/vmware-tools-distrib/bin/vmware-uninstall-tools.pl

It ought to do the uninstall for you, and then running the install script won't complain about an existing install."

I know it's an old thread but I had exactly the same problem after an aborted upgrade. Thanks for the tip - that fixed it for me as well.

jcauthorn
Contributor
Contributor

Regarding error message:

Error: Unable to execute "/usr/bin/vmware-uninstall-tools.pl"

As per 's statement, Running the uninstall worked correctly for me as well on this version. I used the command:

/tmp/vmware-tools-distrib/bin/vmware-uninstall-tools.pl

where /tmp/ was actually

./bin/vmware-uninstall-tools.pl

relative to the path I extracted the VMware tools.

This worked with version 8.6.16-3054402.

Tar:  VMwareTools-8.6.16-3054402.tar.gz

Date: 12-14-2015@

+JCauthorn


0 Kudos