How To Install libcgi-application-plugin-logdispatch-perl on Ubuntu 18.04

In this tutorial we learn how to install libcgi-application-plugin-logdispatch-perl on Ubuntu 18.04. libcgi-application-plugin-logdispatch-perl is plugin that adds Log

Introduction

In this tutorial we learn how to install libcgi-application-plugin-logdispatch-perl on Ubuntu 18.04.

What is libcgi-application-plugin-logdispatch-perl

libcgi-application-plugin-logdispatch-perl is:

CGI::Application::Plugin::LogDispatch adds logging support to your CGI::Application modules by providing a Log::Dispatch dispatcher object that is accessible from anywhere in the application.

If you have CGI::Application::Plugin::DevPopup installed, a “Log Entries” report is added to the popup window, containing all of the entries that were logged during the execution of the runmode.

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

sudo apt-get -y install libcgi-application-plugin-logdispatch-perl

Install libcgi-application-plugin-logdispatch-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libcgi-application-plugin-logdispatch-perl using apt by running the following command:

sudo apt -y install libcgi-application-plugin-logdispatch-perl

Install libcgi-application-plugin-logdispatch-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 libcgi-application-plugin-logdispatch-perl using aptitude by running the following command:

sudo aptitude -y install libcgi-application-plugin-logdispatch-perl

How To Uninstall libcgi-application-plugin-logdispatch-perl on Ubuntu 18.04

To uninstall only the libcgi-application-plugin-logdispatch-perl package we can use the following command:

sudo apt-get remove libcgi-application-plugin-logdispatch-perl

Uninstall libcgi-application-plugin-logdispatch-perl And Its Dependencies

To uninstall libcgi-application-plugin-logdispatch-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libcgi-application-plugin-logdispatch-perl

Remove libcgi-application-plugin-logdispatch-perl Configurations and Data

To remove libcgi-application-plugin-logdispatch-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libcgi-application-plugin-logdispatch-perl

Remove libcgi-application-plugin-logdispatch-perl configuration, data, and all of its dependencies

We can use the following command to remove libcgi-application-plugin-logdispatch-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libcgi-application-plugin-logdispatch-perl

References

Summary

In this tutorial we learn how to install libcgi-application-plugin-logdispatch-perl package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.