How To Install libnet-server-perl on Kali Linux
Introduction
In this tutorial we learn how to install libnet-server-perl
on Kali Linux.
What is libnet-server-perl
libnet-server-perl is:
Net::Server is an extensible, general perl server engine that combines the good properties from Net::Daemon, NetServer::Generic, and Net::FTPServer; and borrows various concepts from the Apache webserver.
Features include:
- Single Server Mode
- Inetd Server Mode
- Preforking Simple Mode (PreForkSimple)
- Preforking Managed Mode (PreFork)
- Forking Mode
- Multiplexing Mode using a single process
- Multi port accepts on Single, Preforking, and Forking modes
- Simultaneous accept/recv on tcp, udp, and unix sockets
- Safe signal handling in Fork/PreFork avoids perl signal trouble
- User customizable hooks
- Chroot ability after bind
- Change of user and group after bind
- Basic allow/deny access control
- Customized logging (choose Syslog, log_file, or STDERR)
- HUP able server (clean restarts via sig HUP)
- Dequeue ability in all Fork and PreFork modes.
- Taint clean
- Written in Perl
- Protection against buffer overflow
- Clean process flow
- Extensibility
There are three methods to install libnet-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 libnet-server-perl Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install libnet-server-perl
using apt-get
by running the following command:
Install libnet-server-perl Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install libnet-server-perl
using apt
by running the following command:
Install libnet-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.
After updating apt database, We can install libnet-server-perl
using aptitude
by running the following command:
How To Uninstall libnet-server-perl on Kali Linux
To uninstall only the libnet-server-perl
package we can use the following command:
Uninstall libnet-server-perl And Its Dependencies
To uninstall libnet-server-perl
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
Remove libnet-server-perl Configurations and Data
To remove libnet-server-perl
configuration and data from Kali Linux we can use the following command:
Remove libnet-server-perl configuration, data, and all of its dependencies
We can use the following command to remove libnet-server-perl
configurations, data and all of its dependencies, we can use the following command:
Dependencies
libnet-server-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libnet-server-perl
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.