How To Install libclass-ehierarchy-perl on Debian 12
Introduction
In this tutorial we learn how to install libclass-ehierarchy-perl
on Debian 12.
What is libclass-ehierarchy-perl
libclass-ehierarchy-perl is:
Class::EHierarchy is intended for use as a base class for custom objects, but objects that need one or more of the following features: orderly bottom-up destruction of objects, opaque objects, class-based access restrictions for properties and methods, primitive strict property type awareness, alias-based object retrieval.
There are three methods to install libclass-ehierarchy-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 libclass-ehierarchy-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-ehierarchy-perl
using apt-get
by running the following command:
sudo apt-get -y install libclass-ehierarchy-perl
Install libclass-ehierarchy-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libclass-ehierarchy-perl
using apt
by running the following command:
sudo apt -y install libclass-ehierarchy-perl
Install libclass-ehierarchy-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-ehierarchy-perl
using aptitude
by running the following command:
sudo aptitude -y install libclass-ehierarchy-perl
How To Uninstall libclass-ehierarchy-perl on Debian 12
To uninstall only the libclass-ehierarchy-perl
package we can use the following command:
sudo apt-get remove libclass-ehierarchy-perl
Uninstall libclass-ehierarchy-perl And Its Dependencies
To uninstall libclass-ehierarchy-perl
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove libclass-ehierarchy-perl
Remove libclass-ehierarchy-perl Configurations and Data
To remove libclass-ehierarchy-perl
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge libclass-ehierarchy-perl
Remove libclass-ehierarchy-perl configuration, data, and all of its dependencies
We can use the following command to remove libclass-ehierarchy-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libclass-ehierarchy-perl
Dependencies
libclass-ehierarchy-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libclass-ehierarchy-perl
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.