How To Install libmodule-install-authorrequires-perl on Kali Linux

In this tutorial we learn how to install libmodule-install-authorrequires-perl on Kali Linux. libmodule-install-authorrequires-perl is declare author-only dependencies

Introduction

In this tutorial we learn how to install libmodule-install-authorrequires-perl on Kali Linux.

What is libmodule-install-authorrequires-perl

libmodule-install-authorrequires-perl is:

Modules often have optional requirements, for example dependencies that are useful for (optional) tests, but not required for the module to work properly.

Usually you want all developers of a project to have these optional modules installed. However, simply telling everyone or printing diagnostic messages if optional dependencies are missing often isn’t enough to make sure all authors have all optional modules installed.

Module::Install already has a way of detecting an author environment, so an easy way to achieve the above would be something like:

if ($Module::Install::AUTHOR) { requires ‘Some::Module’; requires ‘Another::Module’ => ‘0.42’; }

Unfortunately, that’ll also make the optional dependencies show up in the distributions “META.yml” file, which is obviously wrong, as they aren’t actually hard requirements.

Working that around requires a considerable amount of non-trivial Makefile.PL hackery, or simply using Module::Install::AuthorRequires’s “author_requires” command.

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

sudo apt-get -y install libmodule-install-authorrequires-perl

Install libmodule-install-authorrequires-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libmodule-install-authorrequires-perl

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

sudo aptitude -y install libmodule-install-authorrequires-perl

How To Uninstall libmodule-install-authorrequires-perl on Kali Linux

To uninstall only the libmodule-install-authorrequires-perl package we can use the following command:

sudo apt-get remove libmodule-install-authorrequires-perl

Uninstall libmodule-install-authorrequires-perl And Its Dependencies

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

sudo apt-get -y autoremove libmodule-install-authorrequires-perl

Remove libmodule-install-authorrequires-perl Configurations and Data

To remove libmodule-install-authorrequires-perl configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libmodule-install-authorrequires-perl

Remove libmodule-install-authorrequires-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libmodule-install-authorrequires-perl

Dependencies

libmodule-install-authorrequires-perl have the following dependencies:

References

Summary

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