How To Install libconvert-ytext-perl on Kali Linux

In this tutorial we learn how to install libconvert-ytext-perl on Kali Linux. libconvert-ytext-perl is Perl module to quote strings suitably for RFC2822 local parts

Introduction

In this tutorial we learn how to install libconvert-ytext-perl on Kali Linux.

What is libconvert-ytext-perl

libconvert-ytext-perl is:

Convert::YText converts strings to and from “YText”, a format inspired by xtext defined in RFC1894, the MIME base64 and quoted-printable types (RFC 1394). The main goal is encode a UTF8 string into something safe for use as the local part in an internet email address (RFC2822).

By default spaces are replaced with “+”, “/” with “~”, the characters “A-Za-z0-9_.-” encode as themselves, and everything else is written “=USTR=” where USTR is the base64 (using “A-Za-z0-9_.” as digits) encoding of the unicode character code. The encoding is configurable (see below).

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

sudo apt-get -y install libconvert-ytext-perl

Install libconvert-ytext-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libconvert-ytext-perl

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

sudo aptitude -y install libconvert-ytext-perl

How To Uninstall libconvert-ytext-perl on Kali Linux

To uninstall only the libconvert-ytext-perl package we can use the following command:

sudo apt-get remove libconvert-ytext-perl

Uninstall libconvert-ytext-perl And Its Dependencies

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

sudo apt-get -y autoremove libconvert-ytext-perl

Remove libconvert-ytext-perl Configurations and Data

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

sudo apt-get -y purge libconvert-ytext-perl

Remove libconvert-ytext-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libconvert-ytext-perl

Dependencies

libconvert-ytext-perl have the following dependencies:

References

Summary

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