How To Install openstack-dashboard on Ubuntu 20.04

In this tutorial we learn how to install openstack-dashboard on Ubuntu 20.04. openstack-dashboard is Django web interface for OpenStack Django web interface for OpenStack Django web interface for OpenStack

Introduction

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

What is openstack-dashboard

openstack-dashboard is:

The OpenStack Dashboard is a reference implementation of a Django site that uses the Django-Nova project to provide web based interactions with the OpenStack Nova cloud controller.

Package: openstack-dashboard Architecture: all Version: 3:18.3.2-0ubuntu0.20.04.4 Priority: extra Section: net Source: horizon Origin: Ubuntu Maintainer: Chuck Short [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 33 Depends: adduser, apache2 | httpd, libapache2-mod-wsgi-py3 (>= 2.3), python3-django-horizon (= 3:18.3.2-0ubuntu0.20.04.4) Breaks: openstack-dashboard-ubuntu-theme (« 2:10.0.0~b1-0ubuntu2~) Replaces: openstack-dashboard-ubuntu-theme (« 2:10.0.0~b1-0ubuntu2~) Filename: pool/main/h/horizon/openstack-dashboard_18.3.2-0ubuntu0.20.04.4_all.deb Size: 3312 MD5sum: cadf596ebac947cfebdb029abbc0654b SHA1: 9f0437c55465e0f19318eef7a30d86089f613a10 SHA256: 5e19e00622e4fd349cf77cc6938e36eaf77e45823429ecfcffddd15908080b58 SHA512: f2c396f1554f1100a95cdf6aa46e9c85d63630281c05f93dbd3a4d1c81e7fedaeef337bc3545717794e7f1773a1f4b4e3bb58dfcce92087bdedf4123ebd0202e Homepage: https://launchpad.net/horizon Description-en: Django web interface for OpenStack The OpenStack Dashboard is a reference implementation of a Django site that uses the Django-Nova project to provide web based interactions with the OpenStack Nova cloud controller.

Package: openstack-dashboard Architecture: all Version: 3:18.2.1~git2020041013.754804667-0ubuntu3 Priority: extra Section: net Source: horizon Origin: Ubuntu Maintainer: Chuck Short [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 33 Depends: adduser, apache2 | httpd, libapache2-mod-wsgi-py3 (>= 2.3), python3-django-horizon (= 3:18.2.1~git2020041013.754804667-0ubuntu3) Breaks: openstack-dashboard-ubuntu-theme (« 2:10.0.0~b1-0ubuntu2~) Replaces: openstack-dashboard-ubuntu-theme (« 2:10.0.0~b1-0ubuntu2~) Filename: pool/main/h/horizon/openstack-dashboard_18.2.1~git2020041013.754804667-0ubuntu3_all.deb Size: 3324 MD5sum: 3fb8bc50442af8ddd225cfe84fea684a SHA1: 62071a63cb79bf07a3e7fd551e1619b4468aae44 SHA256: b33999eded8bc5d2c4ced7982e54f3d486ce713aa91e47db6ef28765aeb1e76c Homepage: https://launchpad.net/horizon Description-en: Django web interface for OpenStack The OpenStack Dashboard is a reference implementation of a Django site that uses the Django-Nova project to provide web based interactions with the OpenStack Nova cloud controller.

There are three methods to install openstack-dashboard 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-dashboard 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-dashboard using apt-get by running the following command:

sudo apt-get -y install openstack-dashboard

Install openstack-dashboard Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install openstack-dashboard

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

sudo aptitude -y install openstack-dashboard

How To Uninstall openstack-dashboard on Ubuntu 20.04

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

sudo apt-get remove openstack-dashboard

Uninstall openstack-dashboard And Its Dependencies

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

sudo apt-get -y autoremove openstack-dashboard

Remove openstack-dashboard Configurations and Data

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

sudo apt-get -y purge openstack-dashboard

Remove openstack-dashboard configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge openstack-dashboard

References

Summary

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