How To Install libmodule-versions-report-perl on Debian 9

In this tutorial we learn how to install libmodule-versions-report-perl on Debian 9. libmodule-versions-report-perl is Report versions of all modules in memory

Introduction

In this tutorial we learn how to install libmodule-versions-report-perl on Debian 9.

What is libmodule-versions-report-perl

libmodule-versions-report-perl is:

The author says: “I often get email from someone reporting a bug in a module I’ve written. I email back, asking what version of the module it is, what version of Perl on what OS, and sometimes what version of some relevant third library (like XML::Parser). They reply, saying “Perl5”. I say “I need the exact version, as reported by ‘perl -v’”. They tell me. And I say “I, uh, also asked about the version of my module and XML::Parser [or whatever]”. They say “Oh yeah. It is 2.27”. “Is that my module or XML::Parser?” “XML::Parser.” “OK, and what about my module’s version?” “Oh yeah. That’s 3.11.” By this time, days have passed, and what should have been a simple operation – reporting the version of Perl and relevant modules, has been needlessly complicated”.

This module is for simplifying that task. If you add “use Module::Versions::Report;” to a program (especially handy if your program is one that demonstrates a bug in some module), then when the program has finished running, you well get a report detailing all the modules in memory, and noting the version of each (for modules that defined a $VERSION, at least).

There are three methods to install libmodule-versions-report-perl on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libmodule-versions-report-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 libmodule-versions-report-perl using apt-get by running the following command:

sudo apt-get -y install libmodule-versions-report-perl

Install libmodule-versions-report-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libmodule-versions-report-perl using apt by running the following command:

sudo apt -y install libmodule-versions-report-perl

Install libmodule-versions-report-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 libmodule-versions-report-perl using aptitude by running the following command:

sudo aptitude -y install libmodule-versions-report-perl

How To Uninstall libmodule-versions-report-perl on Debian 9

To uninstall only the libmodule-versions-report-perl package we can use the following command:

sudo apt-get remove libmodule-versions-report-perl

Uninstall libmodule-versions-report-perl And Its Dependencies

To uninstall libmodule-versions-report-perl and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libmodule-versions-report-perl

Remove libmodule-versions-report-perl Configurations and Data

To remove libmodule-versions-report-perl configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libmodule-versions-report-perl

Remove libmodule-versions-report-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libmodule-versions-report-perl

Dependencies

libmodule-versions-report-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libmodule-versions-report-perl package on Debian 9 using different package management tools: apt, apt-get and aptitude.