How to Install VMware vSphere Perl SDK on Debian 9 (stretch)

Download the latest Perl SDK for your vSphere version from and copy it to the system. The download is free, but an My VMware account is required.

Make sure that your system up to date:

# apt-get update && apt-get upgrade -y

Install required packages:

# apt-get install lib32z1 lib32ncurses5 build-essential uuid uuid-dev libssl-dev perl-doc libxml-libxml-perl libcrypt-ssleay-perl libsoap-lite-perl libmodule-build-perl libcrypt-openssl-rsa-perl

Extract the Perl SDK tar file:

# tar -xf VMware-vSphere-Perl-SDK-6.5.0-4566394.x86_64.tar.gz

Debian is not a supported operating system for the vSphere Perl SDK. The installer checks if there is a file named /etc/*-release containing the word "ubuntu". As a workaround, create a file with the word "ubuntu". Ubuntu is quite similar to Debian and the vSphere Perl SDK usually runs without noticeable problems. However, keep in mind that it is not supported.

# echo ubuntu > /etc/fake-release

Run the installer:

# vmware-vsphere-cli-distrib/


Leave a Comment

NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.