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:
Advertisements

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

  1. Pingback: Lab setup |

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s