How To Install libdevel-mat-dumper-perl on Debian 11
Introduction
In this tutorial we learn how to install libdevel-mat-dumper-perl
on Debian 11.
What is libdevel-mat-dumper-perl
libdevel-mat-dumper-perl is:
Devel::MAT::Dumper provides the memory-dumping function that creates a heap dump file which can later be read by Devel::MAT::Dumpfile. It provides a single function which is not exported, which writes a file to the given path.
The dump file will contain a representation of every SV in Perl’s arena, providing information about pointers between them, as well as other information about the state of the process at the time it was created. It contains a snapshot of the process at that moment in time, which can later be loaded and analysed by various tools using Devel::MAT::Dumpfile.
There are three methods to install libdevel-mat-dumper-perl
on Debian 11. 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-mat-dumper-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-mat-dumper-perl
using apt-get
by running the following command:
sudo apt-get -y install libdevel-mat-dumper-perl
Install libdevel-mat-dumper-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libdevel-mat-dumper-perl
using apt
by running the following command:
sudo apt -y install libdevel-mat-dumper-perl
Install libdevel-mat-dumper-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-mat-dumper-perl
using aptitude
by running the following command:
sudo aptitude -y install libdevel-mat-dumper-perl
How To Uninstall libdevel-mat-dumper-perl on Debian 11
To uninstall only the libdevel-mat-dumper-perl
package we can use the following command:
sudo apt-get remove libdevel-mat-dumper-perl
Uninstall libdevel-mat-dumper-perl And Its Dependencies
To uninstall libdevel-mat-dumper-perl
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove libdevel-mat-dumper-perl
Remove libdevel-mat-dumper-perl Configurations and Data
To remove libdevel-mat-dumper-perl
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge libdevel-mat-dumper-perl
Remove libdevel-mat-dumper-perl configuration, data, and all of its dependencies
We can use the following command to remove libdevel-mat-dumper-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libdevel-mat-dumper-perl
Dependencies
libdevel-mat-dumper-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libdevel-mat-dumper-perl
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.