How To Install liblingua-translit-perl on Ubuntu 18.04

In this tutorial we learn how to install liblingua-translit-perl on Ubuntu 18.04. liblingua-translit-perl is Perl module that transliterates text between writing systems

Introduction

In this tutorial we learn how to install liblingua-translit-perl on Ubuntu 18.04.

What is liblingua-translit-perl

liblingua-translit-perl is:

Lingua::Translit can be used to convert text from one writing system to another, based on national or international transliteration tables. Where possible a reverse transliteration is supported.

The term transliteration describes the conversion of text from one writing system or alphabet to another one. The conversion is ideally unique, mapping one character to exactly one character, so the original spelling can be reconstructed. Practically this is not always the case and one single letter of the original alphabet can be transcribed as two, three or even more letters.

Furthermore there is more than one transliteration scheme for one writing system. Therefore it is an important and necessary information, which scheme will be or has been used to transliterate a text, to work integrative and be able to reconstruct the original data.

There are three methods to install liblingua-translit-perl on Ubuntu 18.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 liblingua-translit-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 liblingua-translit-perl using apt-get by running the following command:

sudo apt-get -y install liblingua-translit-perl

Install liblingua-translit-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install liblingua-translit-perl

Install liblingua-translit-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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install liblingua-translit-perl using aptitude by running the following command:

sudo aptitude -y install liblingua-translit-perl

How To Uninstall liblingua-translit-perl on Ubuntu 18.04

To uninstall only the liblingua-translit-perl package we can use the following command:

sudo apt-get remove liblingua-translit-perl

Uninstall liblingua-translit-perl And Its Dependencies

To uninstall liblingua-translit-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove liblingua-translit-perl

Remove liblingua-translit-perl Configurations and Data

To remove liblingua-translit-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge liblingua-translit-perl

Remove liblingua-translit-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge liblingua-translit-perl

References

Summary

In this tutorial we learn how to install liblingua-translit-perl package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.