How To Install VMDKstream on CentOS 7

In this tutorial we learn how to install VMDKstream on CentOS 7. VMDKstream is Python tool to convert raw disk images to stream-optimized VMDK

Introduction

In this tutorial we learn how to install VMDKstream on CentOS 7.

What is VMDKstream

While adding support for VMWare ESX/vSphere to the Image Factory project we discovered that we needed to support the “stream-optimized” variant of VMDK. This module is a first draft attempt to do so. It is known to work on ESXi 4.1. This 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.)

We can use yum or dnf to install VMDKstream on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install VMDKstream.

Install VMDKstream on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install VMDKstream using yum by running the following command:

sudo yum -y install VMDKstream

Install VMDKstream on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install VMDKstream using dnf by running the following command:

sudo dnf -y install VMDKstream

How To Uninstall VMDKstream on CentOS 7

To uninstall only the VMDKstream package we can use the following command:

sudo dnf remove VMDKstream

References

Summary

In this tutorial we learn how to install VMDKstream on CentOS 7 using yum and dnf.