Skip to content

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

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.

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/vmware-install.pl

 

2 thoughts on “How to Install VMware vSphere Perl SDK on Debian 9 (stretch)”

  1. MANY thanks!
    it works at Debian Buster under PROXMOX PVE
    you save me a lot of time in this really hot summer

    SMP PVE 4.15.18-30 (Thu, 15 Nov 2018 13:32:46 +0100) x86_64 GNU/Linux

    The installation of vSphere CLI 6.5.0 build-4566394 for Linux completed
    successfully. You can decide to remove this software from your system at any
    time by invoking the following command:
    "/usr/bin/vmware-uninstall-vSphere-CLI.pl".

    This installer has successfully installed both vSphere CLI and the vSphere SDK for Perl.

Leave a Reply

Your email address will not be published. Required fields are marked *