How To Install liblog-dispatch-configurator-any-perl on Ubuntu 18.04

In this tutorial we learn how to install liblog-dispatch-configurator-any-perl on Ubuntu 18.04. liblog-dispatch-configurator-any-perl is configurator implementation with Config

Introduction

In this tutorial we learn how to install liblog-dispatch-configurator-any-perl on Ubuntu 18.04.

What is liblog-dispatch-configurator-any-perl

liblog-dispatch-configurator-any-perl is:

Log::Dispatch::Config is a wrapper for Log::Dispatch and provides a way to configure Log::Dispatch objects with configuration files. Somewhat like a lite version of log4j and Log::Log4perl it allows multiple log destinations. The standard configuration file format for Log::Dispatch::Config is AppConfig.

Log::Dispatch::Configurator::Any plugs in to Log::Dispatch::Config and allows the use of other file formats, in fact any format supported by the Config::Any module. As a bonus you can also pass in a configuration data structure instead of a file name.

There are three methods to install liblog-dispatch-configurator-any-perl on Ubuntu 18.04. 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-configurator-any-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-configurator-any-perl using apt-get by running the following command:

sudo apt-get -y install liblog-dispatch-configurator-any-perl

Install liblog-dispatch-configurator-any-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install liblog-dispatch-configurator-any-perl using apt by running the following command:

sudo apt -y install liblog-dispatch-configurator-any-perl

Install liblog-dispatch-configurator-any-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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install liblog-dispatch-configurator-any-perl using aptitude by running the following command:

sudo aptitude -y install liblog-dispatch-configurator-any-perl

How To Uninstall liblog-dispatch-configurator-any-perl on Ubuntu 18.04

To uninstall only the liblog-dispatch-configurator-any-perl package we can use the following command:

sudo apt-get remove liblog-dispatch-configurator-any-perl

Uninstall liblog-dispatch-configurator-any-perl And Its Dependencies

To uninstall liblog-dispatch-configurator-any-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove liblog-dispatch-configurator-any-perl

Remove liblog-dispatch-configurator-any-perl Configurations and Data

To remove liblog-dispatch-configurator-any-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge liblog-dispatch-configurator-any-perl

Remove liblog-dispatch-configurator-any-perl configuration, data, and all of its dependencies

We can use the following command to remove liblog-dispatch-configurator-any-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge liblog-dispatch-configurator-any-perl

References

Summary

In this tutorial we learn how to install liblog-dispatch-configurator-any-perl package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.