6.0

Getting Started with vSphere Command-Line Interfaces
20 VMware, Inc.
AfteryouinstallthevSphereSDKforPerl,youcantesttheinstallationbyrunningacommandfromthe
commandprompt.See“RunningHostManagementCommandsfromaLinuxSystem”onpage 37.
Installing vSphere SDK for Perl on Linux Systems with Internet Access
BeforeyoucaninstallthevSphereSDKforPerlpackageonaLinuxsystemwithInternetaccess,thatsystem
mustmeetfollowingprerequisites.
Internetaccess.YoumusthaveInternetaccesswhenyouruntheinstallerbecausetheinstallerusesCPAN
toinstallprerequisitePerlmodules.
DevelopmentToolsandLibraries.YoumustinstalltheDevelopmentToolsandLibrariesfortheLinux
platformthatyouareworkingwithbeforeyouinstallvSphereSDKforPerlandprerequisitePerl
modules.
Proxysettings.IfyoursystemisusingaproxyforInternetaccess,youmustsetthehttp://andftp://
proxies,asfollows:
export http_proxy=<proxy_server>:port
export ftp_proxy=<proxy_server>:port
Installing Required Prerequisite Software for Linux Systems with Internet
Access
Ifrequiredprerequisitesoftwareisnotinstalled,theinstallerstopsandrequeststhatyouinstallit.Installation
ofprerequisitesoftwaredependsontheplatformthatyouareusing.SeetheReleaseNotesforthesupported
versionsofeachLinuxplatform.
Table 2-1. Installing Required Prerequisite Software
Platform Installation
RHEL6.332bit FindtherequiredmodulesontheinstallationDVD,oruseyumtoinstallthem.
yum install e2fsprogs-devel libuuid-devel
yum install perl-XML-LibXML
RHEL6.364bit FindtherequiredmodulesontheinstallationDVD,oruseyumtoinstallthem.
yum install e2fsprogs-devel libuuid-devel
yum install glibc.i686
yum install perl-XML-LibXML
SUSEEnterprise InstalltheprerequisitepackagesfromtheSLESSDKDVD.WhenyouinserttheDVD,itoffersto
autorun.CanceltheautorundialogboxandusetheyastpackageinstallertoinstallOpenSSLor
othermissingrequiredpackages.
SLES1164bit.yast -i openssl-devel libuuid-devel libuuid-devel-32bit
SLES1132bit.yast -i openssl-devel libuuid-devel
SomeusersmightbeauthorizedtousetheNovellCustomerCenteranduseyasttoretrieve
missingpackagesfromthere.
Ubuntu 1.ConnecttotheInternet.
2.Updatethelocalrepositoryoflibrariesfromaterminalwindow.
sudo apt-get update
3.Installtherequiredlibrariesfromaterminalwindow.
32bit.sudo apt-get install build-essential gcc uuid uuid-dev perl libssl-dev
perl-doc liburi-perl libxml-libxml-perl libcrypt-ssleay-perl
64bit.sudo apt-get install ia32-libs build-essential gcc uuid uuid-dev perl
libssl-dev perl-doc liburi-perl libxml-libxml-perl libcrypt-ssleay-perl
ForUbuntu10.0464bit,theresxtopand
ESXCLIcommandsdonotworkifyoudonotinstall
the32bitcompatibilitylibraries.