How To Install libvhdio-2.0.90 on Debian 9

In this tutorial we learn how to install libvhdio-2.0.90 on Debian 9. libvhdio-2.0.90 is Xen API blktap shared library (shared library)

Introduction

In this tutorial we learn how to install libvhdio-2.0.90 on Debian 9.

What is libvhdio-2.0.90

libvhdio-2.0.90 is:

The Xen Cloud Platform (XCP) is an open source enterprise-ready server virtualization and cloud computing platform, delivering the Xen Hypervisor with support for a range of guest operating systems. This package is part of it. It implements the userland part of the blktap driver.

Virtual Hard Disk (VHD) is a file format standard which maps logical hard disk contents to a physical disk image format, which can then be more efficiently stored in a variety of different storage types, such as file systems or logical volumes.

VHDs are container files storing block metadata alongside a virtual disk’s contents, in a single disk image. The metadata enables advanced storage backend capabilities, such as thin provisioning, disk image snapshotting, and coalescing of differencing disks.

This package contains the runtime vhdio library.

There are three methods to install libvhdio-2.0.90 on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libvhdio-2.0.90 Using apt-get

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

sudo apt-get update

After updating apt database, We can install libvhdio-2.0.90 using apt-get by running the following command:

sudo apt-get -y install libvhdio-2.0.90

Install libvhdio-2.0.90 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libvhdio-2.0.90 using apt by running the following command:

sudo apt -y install libvhdio-2.0.90

Install libvhdio-2.0.90 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libvhdio-2.0.90 using aptitude by running the following command:

sudo aptitude -y install libvhdio-2.0.90

How To Uninstall libvhdio-2.0.90 on Debian 9

To uninstall only the libvhdio-2.0.90 package we can use the following command:

sudo apt-get remove libvhdio-2.0.90

Uninstall libvhdio-2.0.90 And Its Dependencies

To uninstall libvhdio-2.0.90 and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libvhdio-2.0.90

Remove libvhdio-2.0.90 Configurations and Data

To remove libvhdio-2.0.90 configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libvhdio-2.0.90

Remove libvhdio-2.0.90 configuration, data, and all of its dependencies

We can use the following command to remove libvhdio-2.0.90 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libvhdio-2.0.90

Dependencies

libvhdio-2.0.90 have the following dependencies:

References

Summary

In this tutorial we learn how to install libvhdio-2.0.90 package on Debian 9 using different package management tools: apt, apt-get and aptitude.