How To Install cloud-image-utils on Debian 9

In this tutorial we learn how to install cloud-image-utils on Debian 9. cloud-image-utils is cloud image management utilities

Introduction

In this tutorial we learn how to install cloud-image-utils on Debian 9.

What is cloud-image-utils

cloud-image-utils is:

This package provides a useful set of utilities for working with cloud images. It contains tools to help in modifying cloud images, running, and querying data related to cloud-images.

There are three methods to install cloud-image-utils 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 cloud-image-utils Using apt-get

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

sudo apt-get update

After updating apt database, We can install cloud-image-utils using apt-get by running the following command:

sudo apt-get -y install cloud-image-utils

Install cloud-image-utils Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install cloud-image-utils using apt by running the following command:

sudo apt -y install cloud-image-utils

Install cloud-image-utils 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 cloud-image-utils using aptitude by running the following command:

sudo aptitude -y install cloud-image-utils

How To Uninstall cloud-image-utils on Debian 9

To uninstall only the cloud-image-utils package we can use the following command:

sudo apt-get remove cloud-image-utils

Uninstall cloud-image-utils And Its Dependencies

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

sudo apt-get -y autoremove cloud-image-utils

Remove cloud-image-utils Configurations and Data

To remove cloud-image-utils configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge cloud-image-utils

Remove cloud-image-utils configuration, data, and all of its dependencies

We can use the following command to remove cloud-image-utils configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge cloud-image-utils

Dependencies

cloud-image-utils have the following dependencies:

References

Summary

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