How To Install libapache2-mod-form on Kali Linux
Introduction
In this tutorial we learn how to install libapache2-mod-form
on Kali Linux.
What is libapache2-mod-form
libapache2-mod-form is:
mod_form is an Apache module to decode data submitted from Web forms. The decoded data is made available to other Apache modules through two optional functions exported by mod_form with APR_DECLARE_OPTIONAL_FN.
It deals with both GET and POST methods where the data are encoded using the default content type application/x-www-form-urlencoded.
This package contains the Apache module.
There are three methods to install libapache2-mod-form
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 libapache2-mod-form Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libapache2-mod-form
using apt-get
by running the following command:
sudo apt-get -y install libapache2-mod-form
Install libapache2-mod-form Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libapache2-mod-form
using apt
by running the following command:
sudo apt -y install libapache2-mod-form
Install libapache2-mod-form 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 libapache2-mod-form
using aptitude
by running the following command:
sudo aptitude -y install libapache2-mod-form
How To Uninstall libapache2-mod-form on Kali Linux
To uninstall only the libapache2-mod-form
package we can use the following command:
sudo apt-get remove libapache2-mod-form
Uninstall libapache2-mod-form And Its Dependencies
To uninstall libapache2-mod-form
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libapache2-mod-form
Remove libapache2-mod-form Configurations and Data
To remove libapache2-mod-form
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libapache2-mod-form
Remove libapache2-mod-form configuration, data, and all of its dependencies
We can use the following command to remove libapache2-mod-form
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libapache2-mod-form
Dependencies
libapache2-mod-form have the following dependencies:
References
Summary
In this tutorial we learn how to install libapache2-mod-form
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.