How To Install libdata-treedumper-perl on Debian 10

Learn how to install libdata-treedumper-perl on Debian 10 with this tutorial. libdata-treedumper-perl is module for dumping data structures in various formats

Introduction

In this tutorial we learn how to install libdata-treedumper-perl on Debian 10.

What is libdata-treedumper-perl

libdata-treedumper-perl is:

Data::TreeDumper is a Perl module that provides dumps of Perl variable data in a tree-like fashion. It is flexible and customizable, providing various output formatting processors and means of filtering and sorting the output.

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

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

Install libdata-treedumper-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libdata-treedumper-perl

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

sudo aptitude -y install libdata-treedumper-perl

How To Uninstall libdata-treedumper-perl on Debian 10

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

sudo apt-get remove libdata-treedumper-perl

Uninstall libdata-treedumper-perl And Its Dependencies

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

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

Remove libdata-treedumper-perl Configurations and Data

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

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

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

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

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

Dependencies

libdata-treedumper-perl have the following dependencies:

References

Summary

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