Install vSphere CLI on Ubuntu 14.04 LTS


ARGGGH. What a painful experience this was.

Mainly due to unresolved dependancies in the script.

After a half a day shaving this yak, the method to fix the dependancies is:

sudo apt-get install libxml-libxml-perl libdevel-stacktrace-perl libclass-data-inheritable-perl libconvert-asn1-perl libcrypt-openssl-rsa-perl libcrypt-x509-perl libexception-class-perl libarchive-zip-perl libpath-class-perl libtry-tiny-perl libclass-methodmaker-perl libdata-dump-perl libnet-inet6glue-perl

Lastly, you need to install UUID and UUID::Random from CPAN. There doesnt appear to be suitable packages in 14.04.

  • install cpan (find your own link to an article on doing this on Ubuntu)
  • Then:
perl -MCPAN -e 'install UUID'
perl -MCPAN -e 'install UUID::Random'

You can then run your