How To Install libtest-mojibake-perl on Kali Linux

In this tutorial we learn how to install libtest-mojibake-perl on Kali Linux. libtest-mojibake-perl is module to check source for encoding misbehavior

Introduction

In this tutorial we learn how to install libtest-mojibake-perl on Kali Linux.

What is libtest-mojibake-perl

libtest-mojibake-perl is:

Many modern text editors automatically save files using UTF-8 encoding, however, perl interpreter does not expects it by default. Whereas this does not represent a big deal on (most) backend-oriented programs, Web framework (Catalyst, Mojolicious) based applications will suffer of so-called Mojibake (lit. “unintelligible sequence of characters”).

Test::Mojibake lets you check for inconsistencies in source and documentation encoding, and report its results in a standard Test::Simple fashion.

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

sudo apt-get -y install libtest-mojibake-perl

Install libtest-mojibake-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libtest-mojibake-perl

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

sudo aptitude -y install libtest-mojibake-perl

How To Uninstall libtest-mojibake-perl on Kali Linux

To uninstall only the libtest-mojibake-perl package we can use the following command:

sudo apt-get remove libtest-mojibake-perl

Uninstall libtest-mojibake-perl And Its Dependencies

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

sudo apt-get -y autoremove libtest-mojibake-perl

Remove libtest-mojibake-perl Configurations and Data

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

sudo apt-get -y purge libtest-mojibake-perl

Remove libtest-mojibake-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libtest-mojibake-perl

Dependencies

libtest-mojibake-perl have the following dependencies:

References

Summary

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