How To Install vmdk-stream-converter on Ubuntu 18.04

In this tutorial we learn how to install vmdk-stream-converter on Ubuntu 18.04. vmdk-stream-converter is raw disk images to stream-optimized VMDK files convert tool

Introduction

In this tutorial we learn how to install vmdk-stream-converter on Ubuntu 18.04.

What is vmdk-stream-converter

vmdk-stream-converter is:

This tool convert raw disk images to stream-optimized VMDK files for VMWare ESX/vSphere environment, and known to work on ESXi 4.1.

Its format is only useful if you are attempting to import virtual machines into ESX using the vSphere SOAP API and HTTP POST uploads of image files. (In which case, it is required.)

There are three methods to install vmdk-stream-converter on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install vmdk-stream-converter Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install vmdk-stream-converter using apt-get by running the following command:

sudo apt-get -y install vmdk-stream-converter

Install vmdk-stream-converter Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install vmdk-stream-converter using apt by running the following command:

sudo apt -y install vmdk-stream-converter

Install vmdk-stream-converter Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install vmdk-stream-converter using aptitude by running the following command:

sudo aptitude -y install vmdk-stream-converter

How To Uninstall vmdk-stream-converter on Ubuntu 18.04

To uninstall only the vmdk-stream-converter package we can use the following command:

sudo apt-get remove vmdk-stream-converter

Uninstall vmdk-stream-converter And Its Dependencies

To uninstall vmdk-stream-converter and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove vmdk-stream-converter

Remove vmdk-stream-converter Configurations and Data

To remove vmdk-stream-converter configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge vmdk-stream-converter

Remove vmdk-stream-converter configuration, data, and all of its dependencies

We can use the following command to remove vmdk-stream-converter configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge vmdk-stream-converter

References

Summary

In this tutorial we learn how to install vmdk-stream-converter package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.