How To Install heimdal-docs on Ubuntu 20.04

In this tutorial we learn how to install heimdal-docs on Ubuntu 20.04. heimdal-docs is Heimdal Kerberos - documentation

Introduction

In this tutorial we learn how to install heimdal-docs on Ubuntu 20.04.

What is heimdal-docs

heimdal-docs is:

Heimdal is a free implementation of Kerberos 5 that aims to be compatible with MIT Kerberos.

This package includes documentation (in info format) on how to use Heimdal, and relevant standards for Kerberos.

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

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

sudo apt-get update

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

sudo apt-get -y install heimdal-docs

Install heimdal-docs Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install heimdal-docs

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

sudo aptitude -y install heimdal-docs

How To Uninstall heimdal-docs on Ubuntu 20.04

To uninstall only the heimdal-docs package we can use the following command:

sudo apt-get remove heimdal-docs

Uninstall heimdal-docs And Its Dependencies

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

sudo apt-get -y autoremove heimdal-docs

Remove heimdal-docs Configurations and Data

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

sudo apt-get -y purge heimdal-docs

Remove heimdal-docs configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge heimdal-docs

References

Summary

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