How To Install libclass-inspector-perl on Debian 11

In this tutorial we learn how to install libclass-inspector-perl on Debian 11. libclass-inspector-perl is Perl module that provides information about classes

Introduction

In this tutorial we learn how to install libclass-inspector-perl on Debian 11.

What is libclass-inspector-perl

libclass-inspector-perl is:

Class::Inspector allows you to get information about a loaded class. Most or all of this information can be found in other ways, but they aren’t always very friendly, and usually involve a relatively high level of Perl wizardry, or strange and unusual looking code. Class::Inspector attempts to provide an easier, more friendly interface to this information.

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

sudo apt-get -y install libclass-inspector-perl

Install libclass-inspector-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libclass-inspector-perl

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

sudo aptitude -y install libclass-inspector-perl

How To Uninstall libclass-inspector-perl on Debian 11

To uninstall only the libclass-inspector-perl package we can use the following command:

sudo apt-get remove libclass-inspector-perl

Uninstall libclass-inspector-perl And Its Dependencies

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

sudo apt-get -y autoremove libclass-inspector-perl

Remove libclass-inspector-perl Configurations and Data

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

sudo apt-get -y purge libclass-inspector-perl

Remove libclass-inspector-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libclass-inspector-perl

Dependencies

libclass-inspector-perl have the following dependencies:

References

Summary

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