How To Install libmaa3 on Ubuntu 18.04

In this tutorial we learn how to install libmaa3 on Ubuntu 18.04. libmaa3 is maa programming library

Introduction

In this tutorial we learn how to install libmaa3 on Ubuntu 18.04.

What is libmaa3

libmaa3 is:

The libmaa library provides many low-level data structures which are helpful for writing compilers, including hash tables, sets, lists, debugging support, and memory management. Although libmaa was designed and implemented as a foundation for the kheperalong, the data structures are generally applicable to a wide range of programming problems.

The memory management routines are especially helpful for improving the performance of memory-intensive applications.

There are three methods to install libmaa3 on Ubuntu 18.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 libmaa3 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libmaa3

Install libmaa3 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libmaa3

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

sudo aptitude -y install libmaa3

How To Uninstall libmaa3 on Ubuntu 18.04

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

sudo apt-get remove libmaa3

Uninstall libmaa3 And Its Dependencies

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

sudo apt-get -y autoremove libmaa3

Remove libmaa3 Configurations and Data

To remove libmaa3 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libmaa3

Remove libmaa3 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libmaa3

References

Summary

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