Download VMware-vSphere-CLI-6.0.0-******.[x32 or x64].tar.gz
sudo apt-get update sudo apt-get install -y lib32z1 lib32ncurses5 lib32bz2-1.0 build-essential gcc uuid uuid-dev perl libssl-dev perl-doc liburi-perl libxml-libxml-perl libcrypt-ssleay-perl sudo tar -zxvf VMware-vSphere-CLI*.tar.gz sudo vmware-vsphere-cli-distrib/vmware-install.pl sudo apt-get upgrade -y
TEST :
/usr/lib/vmware-vcli/apps/host/hostinfo.pl --url https://ip-domainname:443/sdk
If you accepted the defaults during installation, you can find the installed software in the following locations:
? vCLI scripts – /usr/bin
? vSphere SDK for Perl utility applications – /usr/lib/vmware-vcli/apps
? vSphere SDK for Perl sample scripts – /usr/share/doc/vmware-vcli/samples
vCLI Connection Options -- Option and Environment Variable Description
VMWare.com vCli Forum