Installing VMware vSphere CLI 6.0 on Debian

In a attempt to try and improve monitoring on my ESX system, i’ve started to poke around with a few Munin plugins which look interesting. The biggest road block was the requirement to have the VMware vSphere CLI installed. Unfortunately its doesn’t seem to be a simple task of install and forget, as like most commercial software companies they’re yet to sign up to the RPM/dpkg route for distributing their software.

Thankfully, after a while Googling and a few experimentations i’ve found the following magic bullet:

# apt-get install libxml-libxml-perl  perl-doc  libssl-dev e2fsprogs libarchive-zip-perl libcrypt-ssleay-perl libclass-methodmaker-perl libdata-dump-perl libsoap-lite-perl libdatetime-format-iso8601-perl

# echo "ubuntu" > /etc/tmp-release
# export httpproxy=
# export ftp_proxy=

This works for Debian 8 (Jessie), and its been reported that it works for Debian 7 as well.

Ps. VMware, no, /usr/bin isn’t a sane default for installing your software into!