How To Install libweb-machine-perl on Kali Linux
Introduction
In this tutorial we learn how to install libweb-machine-perl
on Kali Linux.
What is libweb-machine-perl
libweb-machine-perl is:
Web::Machine provides a RESTful web framework modeled as a state machine. You define one or more resource classes. Each resource represents a single RESTful URI end point, such as a user, an email, etc. The resource class can also be the target for POST requests to create a new user, email, etc.
Each resource is a state machine, and each request for a resource is handled by running the request through that state machine.
Web::Machine is built on top of Plack, but it handles the full request and response cycle.
There are three methods to install libweb-machine-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 libweb-machine-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 libweb-machine-perl
using apt-get
by running the following command:
sudo apt-get -y install libweb-machine-perl
Install libweb-machine-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libweb-machine-perl
using apt
by running the following command:
sudo apt -y install libweb-machine-perl
Install libweb-machine-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 libweb-machine-perl
using aptitude
by running the following command:
sudo aptitude -y install libweb-machine-perl
How To Uninstall libweb-machine-perl on Kali Linux
To uninstall only the libweb-machine-perl
package we can use the following command:
sudo apt-get remove libweb-machine-perl
Uninstall libweb-machine-perl And Its Dependencies
To uninstall libweb-machine-perl
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libweb-machine-perl
Remove libweb-machine-perl Configurations and Data
To remove libweb-machine-perl
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libweb-machine-perl
Remove libweb-machine-perl configuration, data, and all of its dependencies
We can use the following command to remove libweb-machine-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libweb-machine-perl
Dependencies
libweb-machine-perl have the following dependencies:
- libhttp-headers-actionpack-perl
- libhttp-message-perl
- libhash-multivalue-perl
- libio-handle-util-perl
- libmodule-runtime-perl
- libplack-perl
- libsub-exporter-perl
- libtry-tiny-perl
- perl
References
Summary
In this tutorial we learn how to install libweb-machine-perl
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.