vCLI is supported on Red Hat Enterprise Linux 5.5 Server, 32 bit and 64 bit. On RHEL, the vSphere SDK for Perl installer prompts you whether you want to install required Perl modules from the installation package or from CPAN. Follow these steps to install the software.
1
2 If required software is not installed, the vCLI installer stops. You can install prerequisites using yum, the RHEL package installer (recommended), or from the installation DVD.For example, if both OpenSSL development libraries, libXML2, and e2fsprogs are missing, type the following at a command prompt:When the installer finishes, it might issue a warning that the version of a module installed on your system does not match the version with which vCLI was tested. Install that version using yum or CPAN to resolve the issue. See Overview of Linux Installation Process for a complete list of modules.
Before you install vCLI, you must remove all previous versions of that software. The process differs from simply uninstalling vCLI.
2 Delete existing versions of vSphere-CLI.xxxx.tar.gz and delete the vmware-vsphere-cli-distrib directory.To install vCLI on RHELtar –zxvf VMware-vSphere-CLI-5.X.X-XXXXX.i386.tar.gzA vmware-vsphere-vcli-distrib directory is created.
3 To accept the license terms, type yes and press Enter.
4 To install Perl modules locally, type yes and press Enter.
■ 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