Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata

I am doing this for access to the vSphere SDK for Perl which "4.0 and later is bundled with the vSphere Command-Line Interface (vCLI). When you install vSphere SDK for Perl, both vCLI and vSphere SDK for Perl are installed." -

According to this doc the most recent change to the installation process was for version 5.0. It no longer uses CPAN but uses YUM now. (Yay!)

Download VMware-vSphere-CLI-6.0.0-******.[x32 or x64].tar.gz

Install vCLI 6 on RHEL (Works with CentOS)

PreReq :

yum install openssl-devel libxml2-dev e2fsprogs-dev

Install :

tar -zxvf VMware-vSphere-CLI*.tar.gz && cd vmware-vsphere-vcli-distrib && ./ --prefix=/opt/vmwarecli EULA_AGREED=yes --default 


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 vCli Forum

  • No labels