How To Install libutf8-all-perl on Kali Linux

In this tutorial we learn how to install libutf8-all-perl on Kali Linux. libutf8-all-perl is Perl pragma to turn on UTF-8 everywhere

Introduction

In this tutorial we learn how to install libutf8-all-perl on Kali Linux.

What is libutf8-all-perl

libutf8-all-perl is:

The utf8 pragma allows you to write Perl source code encoded in UTF-8. That means UTF-8 strings, variable names, and regular expressions. utf8::all goes further, and makes @ARGV encoded in UTF-8, and filehandles are opened with UTF-8 encoding turned on by default (including STDIN, STDOUT, STDERR). If you don’t want UTF-8 for a particular filehandle, you’ll have to set binmode $filehandle.

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

Install libutf8-all-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 libutf8-all-perl using apt-get by running the following command:

sudo apt-get -y install libutf8-all-perl

Install libutf8-all-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libutf8-all-perl

Install libutf8-all-perl Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libutf8-all-perl

How To Uninstall libutf8-all-perl on Kali Linux

To uninstall only the libutf8-all-perl package we can use the following command:

sudo apt-get remove libutf8-all-perl

Uninstall libutf8-all-perl And Its Dependencies

To uninstall libutf8-all-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libutf8-all-perl

Remove libutf8-all-perl Configurations and Data

To remove libutf8-all-perl configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libutf8-all-perl

Remove libutf8-all-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libutf8-all-perl

Dependencies

libutf8-all-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libutf8-all-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.