How To Install libi18n-charset-perl on Debian 12

Learn how to install libi18n-charset-perl on Debian 12 with this tutorial. libi18n-charset-perl is Perl module for mapping character set names to IANA names

Introduction

In this tutorial we learn how to install libi18n-charset-perl on Debian 12.

What is libi18n-charset-perl

libi18n-charset-perl is:

I18N::Charset maps Character Set names to the names officially registered with IANA. For example, ‘Shift_JIS’ is the official name of ‘x-sjis’.

It also maps character set names to Unicode::Map, Unicode::Map8, and Unicode::MapUTF8 conversion scheme names (if those modules are installed). For example, the Unicode::Map8 scheme name for ‘windows-1251’ is ‘cp1251’.

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

Install libi18n-charset-perl Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libi18n-charset-perl

Install libi18n-charset-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libi18n-charset-perl using apt by running the following command:

sudo apt -y install libi18n-charset-perl

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

sudo aptitude -y install libi18n-charset-perl

How To Uninstall libi18n-charset-perl on Debian 12

To uninstall only the libi18n-charset-perl package we can use the following command:

sudo apt-get remove libi18n-charset-perl

Uninstall libi18n-charset-perl And Its Dependencies

To uninstall libi18n-charset-perl and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libi18n-charset-perl

Remove libi18n-charset-perl Configurations and Data

To remove libi18n-charset-perl configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libi18n-charset-perl

Remove libi18n-charset-perl configuration, data, and all of its dependencies

We can use the following command to remove libi18n-charset-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libi18n-charset-perl

Dependencies

libi18n-charset-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libi18n-charset-perl package on Debian 12 using different package management tools: apt, apt-get and aptitude.