How To Install ada-reference-manual-2020 on Ubuntu 22.04

In this tutorial we learn how to install ada-reference-manual-2020 on Ubuntu 22.04. ada-reference-manual-2020 is reference documentation for the Ada language (2020 preview)

Introduction

In this tutorial we learn how to install ada-reference-manual-2020 on Ubuntu 22.04.

What is ada-reference-manual-2020

ada-reference-manual-2020 is:

The Ada Reference Manual is the ISO standard describing the programming language Ada. The annotated manual provides implementors of Ada tools with more background. Both documents are available in HTML, PDF, info, and plain text formats.

This package installs an unofficial preview of the 2020 version.

There are three methods to install ada-reference-manual-2020 on Ubuntu 22.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 ada-reference-manual-2020 Using apt-get

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

sudo apt-get update

After updating apt database, We can install ada-reference-manual-2020 using apt-get by running the following command:

sudo apt-get -y install ada-reference-manual-2020

Install ada-reference-manual-2020 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ada-reference-manual-2020 using apt by running the following command:

sudo apt -y install ada-reference-manual-2020

Install ada-reference-manual-2020 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 ada-reference-manual-2020 using aptitude by running the following command:

sudo aptitude -y install ada-reference-manual-2020

How To Uninstall ada-reference-manual-2020 on Ubuntu 22.04

To uninstall only the ada-reference-manual-2020 package we can use the following command:

sudo apt-get remove ada-reference-manual-2020

Uninstall ada-reference-manual-2020 And Its Dependencies

To uninstall ada-reference-manual-2020 and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove ada-reference-manual-2020

Remove ada-reference-manual-2020 Configurations and Data

To remove ada-reference-manual-2020 configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge ada-reference-manual-2020

Remove ada-reference-manual-2020 configuration, data, and all of its dependencies

We can use the following command to remove ada-reference-manual-2020 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ada-reference-manual-2020

References

Summary

In this tutorial we learn how to install ada-reference-manual-2020 package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.