How To Install libexporter-renaming-perl on Debian 11

In this tutorial we learn how to install libexporter-renaming-perl on Debian 11. libexporter-renaming-perl is facility to rename symbols when imported

Introduction

In this tutorial we learn how to install libexporter-renaming-perl on Debian 11.

What is libexporter-renaming-perl

libexporter-renaming-perl is:

After ‘use Exporter::Renaming;’ you can import symbols from exporting modules not only under their original names, but also under names of your choosing. Exporter continues to behave normally for normal imports while renaming behaviour is switched on. Only the presence of the keyword ‘Renaming’ followed by an array reference after a ‘use’ statement triggers renaming.

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

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

Install libexporter-renaming-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libexporter-renaming-perl

Install libexporter-renaming-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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libexporter-renaming-perl

How To Uninstall libexporter-renaming-perl on Debian 11

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

sudo apt-get remove libexporter-renaming-perl

Uninstall libexporter-renaming-perl And Its Dependencies

To uninstall libexporter-renaming-perl and its dependencies that are no longer needed by Debian 11, we can use the command below:

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

Remove libexporter-renaming-perl Configurations and Data

To remove libexporter-renaming-perl configuration and data from Debian 11 we can use the following command:

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

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

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

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

Dependencies

libexporter-renaming-perl have the following dependencies:

References

Summary

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