6.0

Table Of Contents
VMware, Inc. 21
Chapter 2 Installing vCLI
Acompleteinstallationprocesshasthefollowingresult:
Asuccessmessageappears.
Theinstallerlistsdifferentversionnumbersforrequiredmodules(ifany).
Thepromptreturnstotheshellprompt.
Ifyouacceptedthedefaultsduringinstallation,youcanfindtheinstalledsoftwareinthefollowinglocations:
vCLIscripts/usr/bin
vSphereSDKforPerlutilityapplications/usr/lib/vmware-vcli/apps
vSphereSDKforPerlsamplescripts/usr/share/doc/vmware-vcli/samples
SeethevSphereSDKforPerldocumentationforareferencetoallutilityapplications.AfteryouinstallvCLI,
youcantesttheinstallationbyrunningavCLIcommandorvSphereSDKforPerlutilityapplicationfromthe
commandprompt.
Uninstalling the vCLI Package on Linux
YoucanuseascriptincludedintheinstallationtouninstallthevCLIpackage.
To uninstall vCLI on Linux
1 ChangetothedirectorywhereyouinstalledvCLI(defaultis/usr/bin).
2Runthevmware-uninstall-vSphere-CLI.pl
script.
ThecommanduninstallsvCLIandthevSphereSDKforPerl.
Installing and Uninstalling vCLI on Windows
BeforeyoucanrunvCLIcommandsfromyourWindowssystem,youmustinstallthevCLIpackageandtest
theinstallationbyrunningacommand.
ThevCLIinstallationpackageforWindowsincludestheActivePerlruntimefromActiveStateSoftwareand
requiredPerlmodulesandlibraries.ThevCLIissupportedontheWindowsplatforms
thatarelistedinthe
ReleaseNotes.
To install the vCLI Package on Windows
1 DownloadthevCLIWindowsinstallerpackage.
YoucanfindtheinstallerintheAutomationToolsandSDKssectionoftheDrivers&Toolstabofthe
vSpheredownloadpage.
2Starttheinstaller.
3 (Optional)IfpromptedtoremoveolderversionsofvSphereSDK
forPerlorvCLI,youcaneitheraccept
orcanceltheinstallation,andinstallthevCLIpackageonadifferentsystem.
4ClickNextintheWelcomepage.
5ToinstallthevCLIinanondefaultdirectory,clickChangeandselectthedirectory.
ThedefaultlocationisC:\Program Files\VMware\VMware vSphere CLI.
6ClickNext.
I
MPORTANTIfyouwanttorunESXCLIcommandsincludedinvCLIfromaWindowssystem,youmusthave
theVisualC++2008redistributablefor32bitinstalledonthatsystem.Findvcredist_x86.exeforVisualC++
2008andinstallitonyourWindowssystem.
I
MPORTANTTheinstallerreplacesboththevSphereSDKforPerlandvCLI.Tokeepanolderversion,
installthispackageonadifferentsystem.