How To Install libencoding-fixlatin-perl on Ubuntu 18.04

In this tutorial we learn how to install libencoding-fixlatin-perl on Ubuntu 18.04. libencoding-fixlatin-perl is takes mixed encoding input and produces UTF-8 output

Introduction

In this tutorial we learn how to install libencoding-fixlatin-perl on Ubuntu 18.04.

What is libencoding-fixlatin-perl

libencoding-fixlatin-perl is:

Most encoding conversion tools take input in one encoding and produce output in another encoding. Encoding::FixLatin takes input which may contain characters in more than one encoding and makes a best effort to convert them all to UTF-8 output.

For string soups containing only ASCII, ISO8859-1 and CP1252 but no actual UTF-8 characters (even if encoded as such), Encode::ZapCP1252 may be better suitable.

Includes command-line tool fix_latin.

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

sudo apt-get -y install libencoding-fixlatin-perl

Install libencoding-fixlatin-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libencoding-fixlatin-perl

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

sudo aptitude -y install libencoding-fixlatin-perl

How To Uninstall libencoding-fixlatin-perl on Ubuntu 18.04

To uninstall only the libencoding-fixlatin-perl package we can use the following command:

sudo apt-get remove libencoding-fixlatin-perl

Uninstall libencoding-fixlatin-perl And Its Dependencies

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

sudo apt-get -y autoremove libencoding-fixlatin-perl

Remove libencoding-fixlatin-perl Configurations and Data

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

sudo apt-get -y purge libencoding-fixlatin-perl

Remove libencoding-fixlatin-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libencoding-fixlatin-perl

References

Summary

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