How To Install liblwp-useragent-chicaching-perl on Ubuntu 20.04
Introduction
In this tutorial we learn how to install liblwp-useragent-chicaching-perl
on Ubuntu 20.04.
What is liblwp-useragent-chicaching-perl
liblwp-useragent-chicaching-perl is:
LWP::UserAgent::CHICaching is yet another caching user agent. When the client makes a request to the server, sometimes the response should be cached, so that no actual request has to be sent at all, or possibly just a request to validate the cache. HTTP 1.1 defines how to do this. This class simply extends LWP::UserAgent with LWP::UserAgent::Role::CHICaching (also in this distribution) which is doing the real work to make it possible to use the very flexible CHI module to manage such a cache.
There are three methods to install liblwp-useragent-chicaching-perl
on Ubuntu 20.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 liblwp-useragent-chicaching-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 liblwp-useragent-chicaching-perl
using apt-get
by running the following command:
sudo apt-get -y install liblwp-useragent-chicaching-perl
Install liblwp-useragent-chicaching-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install liblwp-useragent-chicaching-perl
using apt
by running the following command:
sudo apt -y install liblwp-useragent-chicaching-perl
Install liblwp-useragent-chicaching-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 liblwp-useragent-chicaching-perl
using aptitude
by running the following command:
sudo aptitude -y install liblwp-useragent-chicaching-perl
How To Uninstall liblwp-useragent-chicaching-perl on Ubuntu 20.04
To uninstall only the liblwp-useragent-chicaching-perl
package we can use the following command:
sudo apt-get remove liblwp-useragent-chicaching-perl
Uninstall liblwp-useragent-chicaching-perl And Its Dependencies
To uninstall liblwp-useragent-chicaching-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove liblwp-useragent-chicaching-perl
Remove liblwp-useragent-chicaching-perl Configurations and Data
To remove liblwp-useragent-chicaching-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge liblwp-useragent-chicaching-perl
Remove liblwp-useragent-chicaching-perl configuration, data, and all of its dependencies
We can use the following command to remove liblwp-useragent-chicaching-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge liblwp-useragent-chicaching-perl
References
Summary
In this tutorial we learn how to install liblwp-useragent-chicaching-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.