How To Install lighttpd-modules-lua on Kali Linux
Introduction
In this tutorial we learn how to install lighttpd-modules-lua
on Kali Linux.
What is lighttpd-modules-lua
lighttpd-modules-lua is:
This package contains the following modules:
- mod_magnet: control the request handling module for lighttpd mod_magnet can attract a request in several stages in the request-handling. either at the same level as mod_rewrite, before any parsing of the URL is done or at a later stage, when the doc-root is known and the physical-path is already setup.
- mod_cml: cache meta language module for lighttpd With the cache meta language, it is possible to describe to the dependencies of a cached file to its source files/scripts. For the cache files, the scripting language Lua is used. THIS MODULE IS OBSOLETED, USE mod_magnet INSTEAD.
Do not depend on this package. Depend on the provided lighttpd-mod-* packages instead.
There are three methods to install lighttpd-modules-lua
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 lighttpd-modules-lua Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install lighttpd-modules-lua
using apt-get
by running the following command:
sudo apt-get -y install lighttpd-modules-lua
Install lighttpd-modules-lua Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install lighttpd-modules-lua
using apt
by running the following command:
sudo apt -y install lighttpd-modules-lua
Install lighttpd-modules-lua 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 lighttpd-modules-lua
using aptitude
by running the following command:
sudo aptitude -y install lighttpd-modules-lua
How To Uninstall lighttpd-modules-lua on Kali Linux
To uninstall only the lighttpd-modules-lua
package we can use the following command:
sudo apt-get remove lighttpd-modules-lua
Uninstall lighttpd-modules-lua And Its Dependencies
To uninstall lighttpd-modules-lua
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove lighttpd-modules-lua
Remove lighttpd-modules-lua Configurations and Data
To remove lighttpd-modules-lua
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge lighttpd-modules-lua
Remove lighttpd-modules-lua configuration, data, and all of its dependencies
We can use the following command to remove lighttpd-modules-lua
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge lighttpd-modules-lua
Dependencies
lighttpd-modules-lua have the following dependencies:
References
Summary
In this tutorial we learn how to install lighttpd-modules-lua
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.