How To Install erlang-base64url on Debian 11

In this tutorial we learn how to install erlang-base64url on Debian 11. erlang-base64url is standalone URL-safe base64-compatible codec for Erlang

Introduction

In this tutorial we learn how to install erlang-base64url on Debian 11.

What is erlang-base64url

erlang-base64url is:

Base64Url is a standalone, URL-safe and base64-compatible codec for Erlang. It supports URL-safe base64 en- and decoding. Some systems in the wild use base64 URL encoding, but keep the padding for MIME compatibility (base64 Content-Transfer-Encoding). Base64Url allows one to interact with such systems.

There are three methods to install erlang-base64url on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install erlang-base64url Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install erlang-base64url

Install erlang-base64url Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install erlang-base64url

Install erlang-base64url 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install erlang-base64url using aptitude by running the following command:

sudo aptitude -y install erlang-base64url

How To Uninstall erlang-base64url on Debian 11

To uninstall only the erlang-base64url package we can use the following command:

sudo apt-get remove erlang-base64url

Uninstall erlang-base64url And Its Dependencies

To uninstall erlang-base64url and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove erlang-base64url

Remove erlang-base64url Configurations and Data

To remove erlang-base64url configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge erlang-base64url

Remove erlang-base64url configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge erlang-base64url

Dependencies

erlang-base64url have the following dependencies:

References

Summary

In this tutorial we learn how to install erlang-base64url package on Debian 11 using different package management tools: apt, apt-get and aptitude.