How To Install libcgi-compress-gzip-perl on Kali Linux
Introduction
In this tutorial we learn how to install libcgi-compress-gzip-perl
on Kali Linux.
What is libcgi-compress-gzip-perl
libcgi-compress-gzip-perl is:
CGI::Compress::Gzip extends the CGI module to auto-detect whether the client browser wants compressed output and, if so and if the script chooses HTML output, apply gzip compression on any content header for STDOUT. CGI::Compress::Gzip is intended to be a drop-in replacement for CGI.pm.
Apache mod_perl users may wish to consider the Apache::Compress or Apache::GzipChain modules, which allow more transparent output compression than this module can provide. However, as of this writing those modules are more aggressive about compressing, regardless of Content-Type.
There are three methods to install libcgi-compress-gzip-perl
on Kali Linux. 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-compress-gzip-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-compress-gzip-perl
using apt-get
by running the following command:
sudo apt-get -y install libcgi-compress-gzip-perl
Install libcgi-compress-gzip-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libcgi-compress-gzip-perl
using apt
by running the following command:
sudo apt -y install libcgi-compress-gzip-perl
Install libcgi-compress-gzip-perl Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libcgi-compress-gzip-perl
using aptitude
by running the following command:
sudo aptitude -y install libcgi-compress-gzip-perl
How To Uninstall libcgi-compress-gzip-perl on Kali Linux
To uninstall only the libcgi-compress-gzip-perl
package we can use the following command:
sudo apt-get remove libcgi-compress-gzip-perl
Uninstall libcgi-compress-gzip-perl And Its Dependencies
To uninstall libcgi-compress-gzip-perl
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libcgi-compress-gzip-perl
Remove libcgi-compress-gzip-perl Configurations and Data
To remove libcgi-compress-gzip-perl
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libcgi-compress-gzip-perl
Remove libcgi-compress-gzip-perl configuration, data, and all of its dependencies
We can use the following command to remove libcgi-compress-gzip-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libcgi-compress-gzip-perl
Dependencies
libcgi-compress-gzip-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libcgi-compress-gzip-perl
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.