Download the latest Perl SDK for your vSphere version from code.vmware.com and copy it to the system. The download is free, but an My VMware account is required.
- vSphere Perl SDK for vSphere 6.5
- vSphere Perl SDK for vSphere 6.0
- vSphere Perl SDK for vSphere 5.5
- vSphere Perl SDK for vSphere 5.1
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: