How To Install openstack-debian-images on Ubuntu 20.04

In this tutorial we learn how to install openstack-debian-images on Ubuntu 20.04. openstack-debian-images is script to build a Debian image for OpenStack

Introduction

In this tutorial we learn how to install openstack-debian-images on Ubuntu 20.04.

What is openstack-debian-images

openstack-debian-images is:

This package contains a script which is helpful for creating images to be used with the OpenStack IaaS cloud software suite. It uses only tools available within Debian.

There are three methods to install openstack-debian-images on Ubuntu 20.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 openstack-debian-images Using apt-get

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

sudo apt-get update

After updating apt database, We can install openstack-debian-images using apt-get by running the following command:

sudo apt-get -y install openstack-debian-images

Install openstack-debian-images Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install openstack-debian-images using apt by running the following command:

sudo apt -y install openstack-debian-images

Install openstack-debian-images 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 openstack-debian-images using aptitude by running the following command:

sudo aptitude -y install openstack-debian-images

How To Uninstall openstack-debian-images on Ubuntu 20.04

To uninstall only the openstack-debian-images package we can use the following command:

sudo apt-get remove openstack-debian-images

Uninstall openstack-debian-images And Its Dependencies

To uninstall openstack-debian-images and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove openstack-debian-images

Remove openstack-debian-images Configurations and Data

To remove openstack-debian-images configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge openstack-debian-images

Remove openstack-debian-images configuration, data, and all of its dependencies

We can use the following command to remove openstack-debian-images configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge openstack-debian-images

References

Summary

In this tutorial we learn how to install openstack-debian-images package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.