Installation of vSphere CLI & Python API Ubuntu

As on windows, I installed an old version of the python SDK (pyvmomi).
For Ubuntu I used:
XUbuntu 10.04 (xubuntu-10.04-desktop-amd64.iso)

Install CLI
– Download: CLI VSphere package from vmware (Linux, 64Bit)
– unpack
$ sudo apt-get install libssl-dev perl-doc liburi-perl libxml-libxml-perl libcrypt-ssleay-perl libpath-class-perl
$ sudo apt-get install perl-doc
$ sudo apt-get install libssl-dev
$ sudo ./vmware-install.pl
Install Python SDK
$ sudo apt-get install git-core
$ sudo apt-get install python-pip
$ sudo pip install argparse
$ sudo pip install -Iv pyvmomi==5.5
$ git clone https://github.com/vmware/pyvmomi-community-samples.git
$ cd pyvmomi-community-samples/
$ sudo pip install -r requirements.txt
$ sudo pip install requests
See also:

One thought on “Installation of vSphere CLI & Python API Ubuntu

  1. Pingback: Lab setup |

Leave a comment