I downloaded VMware-vSphere-CLI-6.0.0-2503617.x86_64.tar.gz from here:
https://my.vmware.com/group/vmware/details?downloadGroup=VCLI600&productId=491
Unfortunately that page doesn't suggest a specific distro that can run vcli.
I unpacked and ran the installer on an Ubuntu 16.04.1-LTS VM. I installed dependencies, but it complained that some modules were the wrong version:
Module: ExtUtils::MakeMaker, Version: 6.96
Module: Module::Build, Version: 0.4205
Module: Net::FTP, Version: 2.77
Module: LWP, Version: 5.837
I told it to continue and it installed a load of stuff from CPAN, but got stuck at SOAP::Lite and never progressed - I left it for a good hour.
So I looked at a Red Hat EL7.2 machine and its version of those perl modules was much older; I thought that RHEL7.2 would be an obvious choice as a platform for this. Obviously not.
Please can anyone help who has installed this and had it running?
thanks
OK, it seems to be an actual bug in the cpan module.
I got further by installing the package libsoap-lite-perl from the OS repository so the cpan installer didn't try and find it.
sigh, and now I get this problem
CPAN not able to install following Perl modules on the system. These must be
installed manually for use by vSphere CLI:
Devel::StackTrace 1.31 or newer
Class::Data::Inheritable 0.08 or newer
Convert::ASN1 0.26 or newer
Crypt::OpenSSL::RSA 0.28 or newer
Crypt::X509 0.51 or newer
Exception::Class 1.37 or newer
UUID::Random 0.04 or newer
Archive::Zip 1.28 or newer
Try::Tiny 0.22 or newer
Class::MethodMaker 2.10 or newer
UUID 0.03 or newer
Data::Dump 1.15 or newer
Socket6 0.23 or newer
IO::Socket::INET6 2.71 or newer
Net::INET6Glue 0.600_1 or newer
then install libcrypt-ssleay-perl libcrypt-openssl-rsa-perl
then install libclass-methodmaker-perl, libuuid-perl, libsocket6-perl, libsocket-perl
I think I got there in the end. the installer finally completed with this warning:
The following Perl modules were found on the system but may be too old to work with vSphere CLI:
LWP::Protocol::https 5.805 or newer
Socket6 0.23 or newer
good news, the tool does work, but I do get an error when it runs
/usr/local/vmware/bin# ./vifs --help
Possible precedence issue with control flow operator at /usr/share/perl/5.22/VMware/VICommon.pm line 2332.