How To Install perl-depends on Debian 9
Introduction
In this tutorial we learn how to install perl-depends
on Debian 9.
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 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 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 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 perl-depends
using aptitude
by running the following command:
sudo aptitude -y install perl-depends
How To Uninstall perl-depends on Debian 9
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 Debian 9, 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 Debian 9 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 Debian 9 using different package management tools: apt
, apt-get
and aptitude
.