Overview of Linux Installation Process
The installation script for vCLI is supported on the following Linux distributions:
The vCLI package installer installs the vCLI scripts and the vSphere SDK for Perl. The installation proceeds as follows.
1
Included in uuid-dev for SLES 11 and in e2fsprogs for other Linux platforms. Required by the UUID Perl module.
2
3
Earlier versions of libwww-perl include the LWP-Protocol-https module. Very recent versions of libwww-perl do not include the LWP-Protocol-https module and you have to install that module.
Note If you intend to run vCLI commands with SSL certification, be sure to check that LWP::UserAgent 6.00 or later is installed. The installer does not check this module, and earlier versions do not work with SSL.
4
If no Internet access is available, and if a recommended Perl module is not found at all, the installer installs it. If a different version of the module is found, the installer does not install it and proceeds with the installation process. At the end of the installation process, the installer informs you if the version on the system does not match the recommended version, and recommends that you install the version vCLI was tested with. You can install the modules using the package installer for your platform, the installation CD, or CPAN.
Note: The installer does not overwrite existing versions of recommended Perl modules. You must explicitly update those modules yourself.
All Linux distributions (Internet access)
If a recommended Perl module is not found at all, the installer installs it using CPAN. You must meet the installation prerequisites or the installer cannot install the Perl modules and stops. See Installing vCLI on Linux Systems with Internet Access.
If a lower version of a recommended module is found, the installer does not install a different version from CPAN and proceeds with installation. After completing installation, the installer displays a message that the version on the system does not match the recommended version, and recommends that you install the version vCLI was tested with. You can install the modules using the package installer for your platform, the installation CD, or CPAN.
If a higher version of a recommended module is found, the installer proceeds with installation and does not display a message after installation.
Note: The installer does not overwrite existing versions of recommended Perl modules. You must explicitly update those modules yourself.
5
If a previous version of vCLI, Remote CLI, or vSphere SDK for Perl is installed on your system, and you install vCLI in a different directory, you must reset the PATH environment variable. You can do so before or after the installation, using the command appropriate for your distribution and shell (setenv, export, and so on). If you do not reset the path, the system might still look for executables in the old location.