How To Install libdata-printer-perl on Debian 12
Introduction
In this tutorial we learn how to install libdata-printer-perl
on Debian 12.
What is libdata-printer-perl
libdata-printer-perl is:
Data::Printer is a tool designed to display Perl variables and objects on screen, properly formatted for inspection by a human being.
Many people use Data::Dumper for this task, although it was designed primarily to stringify data structures such that they can be eval’ed back in. It thus lacks all the visual clues, extra information and filtering possibilities that Data::Printer has to offer:
- Sane defaults
- Highly customizable
- Colored output by default
- Human-friendly output, with array index and custom separators
- Full object dumps including methods, inheritance and internals
- Exposes extra information such as tainted data and weak references
- Ability to easily create filters for objects and regular structures
- Ability to load settings from a .dataprinter file
There are three methods to install libdata-printer-perl
on Debian 12. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libdata-printer-perl Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install libdata-printer-perl
using apt-get
by running the following command:
Install libdata-printer-perl Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install libdata-printer-perl
using apt
by running the following command:
Install libdata-printer-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.
After updating apt database, We can install libdata-printer-perl
using aptitude
by running the following command:
How To Uninstall libdata-printer-perl on Debian 12
To uninstall only the libdata-printer-perl
package we can use the following command:
Uninstall libdata-printer-perl And Its Dependencies
To uninstall libdata-printer-perl
and its dependencies that are no longer needed by Debian 12, we can use the command below:
Remove libdata-printer-perl Configurations and Data
To remove libdata-printer-perl
configuration and data from Debian 12 we can use the following command:
Remove libdata-printer-perl configuration, data, and all of its dependencies
We can use the following command to remove libdata-printer-perl
configurations, data and all of its dependencies, we can use the following command:
Dependencies
libdata-printer-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libdata-printer-perl
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.