How To Install virt-dib.x86_64 on Amazon Linux 2

In this tutorial we learn how to install virt-dib.x86_64 in Amazon Linux 2. virt-dib.x86_64 is Safe and secure diskimage-builder replacement

Introduction

In this tutorial we learn how to install virt-dib.x86_64 on Amazon Linux 2.

What is virt-dib.x86_64

Virt-dib is a safe and secure alternative to the OpenStack diskimage-builder command. It is compatible with most diskimage-builder elements.

We can use yum to install virt-dib.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install virt-dib.x86_64.

Install virt-dib.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install virt-dib.x86_64 using yum by running the following command:

sudo yum -y install virt-dib.x86_64

How To Uninstall virt-dib.x86_64 on Amazon Linux 2

To uninstall only the virt-dib.x86_64 package we can use the following command:

sudo yum remove virt-dib.x86_64

virt-dib.x86_64 Package Contents on Amazon Linux 2

/usr/bin/virt-dib
/usr/lib64/guestfs/supermin.d/zz-packages-dib
/usr/share/doc/virt-dib-1.36.10
/usr/share/doc/virt-dib-1.36.10/COPYING
/usr/share/doc/virt-dib-1.36.10/README
/usr/share/man/man1/virt-dib.1.gz

References

Summary

In this tutorial we learn how to install virt-dib.x86_64 on Amazon Linux 2 using yum.