How To Install liblog-dispatch-perl on Debian 10
Introduction
In this tutorial we learn how to install liblog-dispatch-perl
on Debian 10.
What is liblog-dispatch-perl
liblog-dispatch-perl is:
Log::Dispatch is a collection of Perl modules useful for logging messages to multiple outputs, each of which can have a minimum and maximum log level. It is designed to be easily subclassed, both for creating a new dispatcher object and particularly for creating new outputs.
It also allows both global (dispatcher level) and local (logging object) message formatting callbacks which allows greater flexibility and reduces the need for subclassing.
There are three methods to install liblog-dispatch-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 liblog-dispatch-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 liblog-dispatch-perl
using apt-get
by running the following command:
sudo apt-get -y install liblog-dispatch-perl
Install liblog-dispatch-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install liblog-dispatch-perl
using apt
by running the following command:
sudo apt -y install liblog-dispatch-perl
Install liblog-dispatch-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 liblog-dispatch-perl
using aptitude
by running the following command:
sudo aptitude -y install liblog-dispatch-perl
How To Uninstall liblog-dispatch-perl on Debian 10
To uninstall only the liblog-dispatch-perl
package we can use the following command:
sudo apt-get remove liblog-dispatch-perl
Uninstall liblog-dispatch-perl And Its Dependencies
To uninstall liblog-dispatch-perl
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove liblog-dispatch-perl
Remove liblog-dispatch-perl Configurations and Data
To remove liblog-dispatch-perl
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge liblog-dispatch-perl
Remove liblog-dispatch-perl configuration, data, and all of its dependencies
We can use the following command to remove liblog-dispatch-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge liblog-dispatch-perl
Dependencies
liblog-dispatch-perl have the following dependencies:
- perl
- libdevel-globaldestruction-perl
- libdist-checkconflicts-perl
- libmodule-runtime-perl
- libnamespace-autoclean-perl
- libparams-validationcompiler-perl
- libspecio-perl
- libtry-tiny-perl
- perl
References
Summary
In this tutorial we learn how to install liblog-dispatch-perl
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.