How To Install maas on Ubuntu 20.04

In this tutorial we learn how to install maas on Ubuntu 20.04. maas is Transitional package to the maas snap Transitional package to the maas snap

Introduction

In this tutorial we learn how to install maas on Ubuntu 20.04.

What is maas

maas is:

This is a transitional package. It can be safely removed.

Package: maas Architecture: all Version: 1:0.6 Priority: optional Section: net Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 20 Provides: bind9, chrony, isc-dhcp-server, maas-cli, maas-common, maas-dhcp, maas-dns, maas-proxy, maas-rack-controller, maas-region-api, maas-region-controller Pre-Depends: debconf, snapd Depends: debconf (>= 0.5) | debconf-2.0 Conflicts: bind9, chrony, isc-dhcp-server, maas-cli, maas-common, maas-dhcp, maas-dns, maas-proxy Breaks: maas-rack-controller (« 1:0.1~), maas-region-api (« 1:0.1~), maas-region-controller (« 1:0.1~) Replaces: bind9, chrony, isc-dhcp-server, maas-cli, maas-common, maas-dhcp, maas-dns, maas-proxy, maas-rack-controller (« 1:0.1~), maas-region-api (« 1:0.1~), maas-region-controller (« 1:0.1~) Filename: pool/main/m/maas/maas_0.6_all.deb Size: 4444 MD5sum: 3ec9417b16aab3f41efb79840b40798b SHA1: ea87a2bc65f0a4d79a219a51d89e5345827d68b6 SHA256: c5c4f833a1d643108910fff21e1a70400671e548bfade4c6f22999c5c9ed7883 Homepage: https://maas.io/ Description-en: Transitional package to the maas snap This is a transitional package. It can be safely removed.

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

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

sudo apt-get update

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

sudo apt-get -y install maas

Install maas Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install maas using apt by running the following command:

sudo apt -y install maas

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

sudo aptitude -y install maas

How To Uninstall maas on Ubuntu 20.04

To uninstall only the maas package we can use the following command:

sudo apt-get remove maas

Uninstall maas And Its Dependencies

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

sudo apt-get -y autoremove maas

Remove maas Configurations and Data

To remove maas configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge maas

Remove maas configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge maas

References

Summary

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