How To Install libcgi-application-plugin-json-perl on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libcgi-application-plugin-json-perl
on Ubuntu 18.04.
What is libcgi-application-plugin-json-perl
libcgi-application-plugin-json-perl is:
CGI::Application::Plugin::JSON provides a set of methods to manipulate the HTTP response headers when communicating with client-side JavaScript.
There are three methods to install libcgi-application-plugin-json-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-json-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-json-perl
using apt-get
by running the following command:
sudo apt-get -y install libcgi-application-plugin-json-perl
Install libcgi-application-plugin-json-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-json-perl
using apt
by running the following command:
sudo apt -y install libcgi-application-plugin-json-perl
Install libcgi-application-plugin-json-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-json-perl
using aptitude
by running the following command:
sudo aptitude -y install libcgi-application-plugin-json-perl
How To Uninstall libcgi-application-plugin-json-perl on Ubuntu 18.04
To uninstall only the libcgi-application-plugin-json-perl
package we can use the following command:
sudo apt-get remove libcgi-application-plugin-json-perl
Uninstall libcgi-application-plugin-json-perl And Its Dependencies
To uninstall libcgi-application-plugin-json-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-json-perl
Remove libcgi-application-plugin-json-perl Configurations and Data
To remove libcgi-application-plugin-json-perl
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libcgi-application-plugin-json-perl
Remove libcgi-application-plugin-json-perl configuration, data, and all of its dependencies
We can use the following command to remove libcgi-application-plugin-json-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libcgi-application-plugin-json-perl
References
- libcgi-application-plugin-json-perl website
- libcgi-application-plugin-json-perl on packages.ubuntu.com
Summary
In this tutorial we learn how to install libcgi-application-plugin-json-perl
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.