nikdoof.com

/posts/ 2016/vmware-cli-on-debian-8

Installing VMware vSphere CLI 6.0 on Debian

Apr 3, 2016

#homelab#vmware

Warning: This post was written 3037 days ago, and may contain incorrect information, outdated opinions, and incorrect language due to my age at the time. Opinions in this post are not representative of who I am as a person today.

In an 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 roadblock 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 of 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 it’s 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!