How To Install libexporter-easy-perl on Kali Linux

In this tutorial we learn how to install libexporter-easy-perl on Kali Linux. libexporter-easy-perl is perl module to take the drudgery out of Exporting symbols

Introduction

In this tutorial we learn how to install libexporter-easy-perl on Kali Linux.

What is libexporter-easy-perl

libexporter-easy-perl is:

Exporter::Easy makes using Exporter easy. In it’s simplest case it allows you to drop the boilerplate code that comes with using Exporter. In more complicated situations where you use tags to build lists and more tags, it will set @EXPORT, @EXPORT_OK, @EXPORT_FAIL and %EXPORT_TAGS in the current package, add Exporter to that package’s @ISA and do a use vars on all the variables mentioned. The rest is handled as normal by Exporter.

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

sudo apt-get -y install libexporter-easy-perl

Install libexporter-easy-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libexporter-easy-perl

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

sudo aptitude -y install libexporter-easy-perl

How To Uninstall libexporter-easy-perl on Kali Linux

To uninstall only the libexporter-easy-perl package we can use the following command:

sudo apt-get remove libexporter-easy-perl

Uninstall libexporter-easy-perl And Its Dependencies

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

sudo apt-get -y autoremove libexporter-easy-perl

Remove libexporter-easy-perl Configurations and Data

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

sudo apt-get -y purge libexporter-easy-perl

Remove libexporter-easy-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libexporter-easy-perl

Dependencies

libexporter-easy-perl have the following dependencies:

References

Summary

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