How To Install libdevel-dprof-perl on Debian 9
Introduction
In this tutorial we learn how to install libdevel-dprof-perl
on Debian 9.
What is libdevel-dprof-perl
libdevel-dprof-perl is:
The Devel::DProf package is a Perl code profiler. This will collect information on the execution time of a Perl script and of the subs in that script. This information can be used to determine which subroutines are using the most time and which subroutines are being called most often. This information can also be used to create an execution graph of the script, showing subroutine relationships.
Devel::DProf is deprecated. It is recommended that you install and use Devel::NYTProf (in the package libdevel-nytprof-perl) instead, as it offers significantly improved profiling and reporting.
There are three methods to install libdevel-dprof-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 libdevel-dprof-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 libdevel-dprof-perl
using apt-get
by running the following command:
sudo apt-get -y install libdevel-dprof-perl
Install libdevel-dprof-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libdevel-dprof-perl
using apt
by running the following command:
sudo apt -y install libdevel-dprof-perl
Install libdevel-dprof-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 libdevel-dprof-perl
using aptitude
by running the following command:
sudo aptitude -y install libdevel-dprof-perl
How To Uninstall libdevel-dprof-perl on Debian 9
To uninstall only the libdevel-dprof-perl
package we can use the following command:
sudo apt-get remove libdevel-dprof-perl
Uninstall libdevel-dprof-perl And Its Dependencies
To uninstall libdevel-dprof-perl
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libdevel-dprof-perl
Remove libdevel-dprof-perl Configurations and Data
To remove libdevel-dprof-perl
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libdevel-dprof-perl
Remove libdevel-dprof-perl configuration, data, and all of its dependencies
We can use the following command to remove libdevel-dprof-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libdevel-dprof-perl
Dependencies
libdevel-dprof-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libdevel-dprof-perl
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.