How To Install perl-depends on Kali Linux

In this tutorial we learn how to install perl-depends on Kali Linux. perl-depends is rough indicator of Perl module dependencies

Introduction

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

What is perl-depends

perl-depends is:

perl-depends is a tool to show roughly what modules a program uses. Perl evaluates “use” commands at compile time, storing the information about loaded modules in the %INC variable. Comparing that list with the standard Perl modules gives an estimate of the external module dependencies.

The dependency information can be used to determine what external modules have to be installed before the program can be used.

There are three methods to install perl-depends 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 perl-depends Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

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

sudo apt-get -y install perl-depends

Install perl-depends Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install perl-depends

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

sudo aptitude -y install perl-depends

How To Uninstall perl-depends on Kali Linux

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

sudo apt-get remove perl-depends

Uninstall perl-depends And Its Dependencies

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

sudo apt-get -y autoremove perl-depends

Remove perl-depends Configurations and Data

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

sudo apt-get -y purge perl-depends

Remove perl-depends configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge perl-depends

Dependencies

perl-depends have the following dependencies:

References

Summary

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