VMware Cloud Community
magurena
Contributor
Contributor

Unable to install esxcli 5.1 on Linux machine

I just got VMware-vSphere-CLI-5.1.0-780721.x86_64.tar from vmware and tried to install it in my RHEL 6.4 64 bit edition.

First I got a message saying that need to install next packages manually:

     Compress::Zlib 2.037 or newer

     UUID 0.03 or newer

     Data::Dump 1.15 or newer

     SOAP::Lite 0.710.08 or newer

After install them I got next message:

     Please wait while configuring CPAN ...
    
     please restart the installer.
     $

I tried to restart the installer, no luck. Also rebooted machine and the problem is the same. Also checked out if commands were isntalled regardless the error.

How can I fix this problem?

6 Replies
magurena
Contributor
Contributor

I'm just trying to install command line interface tool in my workstation so I can connect to ESXi 5.1 hosts. I followed Red Had installation instrucions as referenced in vSphere Documentation Center.

I had tried with esxcli versions 5.0/5.1/5.5 and the only one that is correctly installed in 5.5 but is not capable to connect to ESXi host since are not in same version level. When I tried to install 5.0 or 5.1 I got the error above.

Any one had the same problem here?

Reply
0 Kudos
SatyS
Hot Shot
Hot Shot

The CPAN refers to perl modules.

To install esxcli there are some prerequisites which you need to have installed on your machine.

Use yum to install libxml2-devel, perl-Crypt-SSLeay, expat-devel and perl-Archive-Zip;which are prerequisites.

yum install libxml2-devel perl-Crypt-SSLeay expat-devel perl-Archive-Zip

These are standard RHEL packages.

The installer needs these prerequiistes for successful install. But it doesn't attempt to install them and just fails silently.

Hope this helps

-SatyS

If you find this useful,please mark the answer as correct/helpful Regards, SatyS http://myvirtuallearning.wordpress.com/
SatyS
Hot Shot
Hot Shot

Just have a look @VMware vSphere 5.1

-SatyS

If you find this useful,please mark the answer as correct/helpful Regards, SatyS http://myvirtuallearning.wordpress.com/
Reply
0 Kudos
magurena
Contributor
Contributor

Thanks SatyS for your answer realized that perl-Archive-Zip and expat-devel was mising from my system unfortunately the problem persist even after.

Is there a full check list of prerequistes somewhere? Do you know if installing al perl packages would fix the problem?

Reply
0 Kudos
SatyS
Hot Shot
Hot Shot

Magurena,

Did you try after installing perl-Archive-Zip and expat-devel which were missing on your setup?

Installing Perl will fix your problem for sure.

You can use this as a reference guide VMware vSphere 5.1

If you find the answer useful,please mark as correct/helpful answer.

-SatyS

If you find this useful,please mark the answer as correct/helpful Regards, SatyS http://myvirtuallearning.wordpress.com/
Reply
0 Kudos