How To Install libcgi-application-server-perl on Kali Linux
Introduction
In this tutorial we learn how to install libcgi-application-server-perl
on Kali Linux.
What is libcgi-application-server-perl
libcgi-application-server-perl is:
CGI::Application::Server is a subclass of HTTP::Server::Simple specialized for developing and testing CGI::Application-based modules. You can give it the name of one or more CGI::Application subclasses or preinitialized objects as entry points and it will serve them along with any static files.
There are three methods to install libcgi-application-server-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-application-server-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-server-perl
using apt-get
by running the following command:
sudo apt-get -y install libcgi-application-server-perl
Install libcgi-application-server-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libcgi-application-server-perl
using apt
by running the following command:
sudo apt -y install libcgi-application-server-perl
Install libcgi-application-server-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-application-server-perl
using aptitude
by running the following command:
sudo aptitude -y install libcgi-application-server-perl
How To Uninstall libcgi-application-server-perl on Kali Linux
To uninstall only the libcgi-application-server-perl
package we can use the following command:
sudo apt-get remove libcgi-application-server-perl
Uninstall libcgi-application-server-perl And Its Dependencies
To uninstall libcgi-application-server-perl
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libcgi-application-server-perl
Remove libcgi-application-server-perl Configurations and Data
To remove libcgi-application-server-perl
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libcgi-application-server-perl
Remove libcgi-application-server-perl configuration, data, and all of its dependencies
We can use the following command to remove libcgi-application-server-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libcgi-application-server-perl
Dependencies
libcgi-application-server-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libcgi-application-server-perl
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.