How To Install libdata-dmp-perl on Debian 11

In this tutorial we learn how to install libdata-dmp-perl on Debian 11. libdata-dmp-perl is Perl module that dumps Perl data structures as Perl code

Introduction

In this tutorial we learn how to install libdata-dmp-perl on Debian 11.

What is libdata-dmp-perl

libdata-dmp-perl is:

Data::Dmp is a Perl dumper like Data::Dumper. It’s compact (only about 150 lines of code long), starts fast and does not use other module except Regexp::Stringify when dumping regexes. It produces compact output (similar to Data::Dumper::Concise). It roughly has the same speed as Data::Dumper (usually a bit faster for smaller structures), but does not offer the various formatting options. It supports dumping objects, regexes, circular structures, coderefs. Its code is based on Data::Dump.

There are three methods to install libdata-dmp-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 libdata-dmp-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 libdata-dmp-perl using apt-get by running the following command:

sudo apt-get -y install libdata-dmp-perl

Install libdata-dmp-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libdata-dmp-perl

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

sudo aptitude -y install libdata-dmp-perl

How To Uninstall libdata-dmp-perl on Debian 11

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

sudo apt-get remove libdata-dmp-perl

Uninstall libdata-dmp-perl And Its Dependencies

To uninstall libdata-dmp-perl and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove libdata-dmp-perl

Remove libdata-dmp-perl Configurations and Data

To remove libdata-dmp-perl configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge libdata-dmp-perl

Remove libdata-dmp-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libdata-dmp-perl

Dependencies

libdata-dmp-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libdata-dmp-perl package on Debian 11 using different package management tools: apt, apt-get and aptitude.