How To Install erlang-idna on Debian 11

In this tutorial we learn how to install erlang-idna on Debian 11. erlang-idna is pure Erlang IDNA implementation that follows RFC 5891

Introduction

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

What is erlang-idna

erlang-idna is:

This library adds support for IDNA 2008 and IDNA 2003 to Erlang. IDNA is short for “Internationalized Domain Names in Applications” and is standardized in RFC 5891.

There are three methods to install erlang-idna 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-idna 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-idna using apt-get by running the following command:

sudo apt-get -y install erlang-idna

Install erlang-idna Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install erlang-idna

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

sudo aptitude -y install erlang-idna

How To Uninstall erlang-idna on Debian 11

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

sudo apt-get remove erlang-idna

Uninstall erlang-idna And Its Dependencies

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

sudo apt-get -y autoremove erlang-idna

Remove erlang-idna Configurations and Data

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

sudo apt-get -y purge erlang-idna

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

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

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

Dependencies

erlang-idna have the following dependencies:

References

Summary

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