How To Install libobject-destroyer-perl on Debian 9
Introduction
In this tutorial we learn how to install libobject-destroyer-perl
on Debian 9.
What is libobject-destroyer-perl
libobject-destroyer-perl is:
Object::Destroyer allows for the creation of “Destroy” handles. The handle is “attached” to a circular relationship, but is not a part of it. When the destroy handle falls out of scope, it will be cleaned up correctly, and while being cleaned up, it will also force the data structure it is attached to to be destroyed as well. Object::Destroyer can call a specified release method on an object (or method DESTROY by default). Alternatively, it can execute an arbitrary user code passed to constructor as a code reference.
There are three methods to install libobject-destroyer-perl
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libobject-destroyer-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 libobject-destroyer-perl
using apt-get
by running the following command:
sudo apt-get -y install libobject-destroyer-perl
Install libobject-destroyer-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libobject-destroyer-perl
using apt
by running the following command:
sudo apt -y install libobject-destroyer-perl
Install libobject-destroyer-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 libobject-destroyer-perl
using aptitude
by running the following command:
sudo aptitude -y install libobject-destroyer-perl
How To Uninstall libobject-destroyer-perl on Debian 9
To uninstall only the libobject-destroyer-perl
package we can use the following command:
sudo apt-get remove libobject-destroyer-perl
Uninstall libobject-destroyer-perl And Its Dependencies
To uninstall libobject-destroyer-perl
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libobject-destroyer-perl
Remove libobject-destroyer-perl Configurations and Data
To remove libobject-destroyer-perl
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libobject-destroyer-perl
Remove libobject-destroyer-perl configuration, data, and all of its dependencies
We can use the following command to remove libobject-destroyer-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libobject-destroyer-perl
Dependencies
libobject-destroyer-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libobject-destroyer-perl
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.