How To Install libhttp-lite-perl on Kali Linux

In this tutorial we learn how to install libhttp-lite-perl on Kali Linux. libhttp-lite-perl is lightweight HTTP implementation for perl

Introduction

In this tutorial we learn how to install libhttp-lite-perl on Kali Linux.

What is libhttp-lite-perl

libhttp-lite-perl is:

HTTP::Lite is a stand-alone lightweight HTTP/1.1 implementation for perl. It is not intended as a replacement for the fully-features LWP module. Instead, it is intended for use in situations where it is desirable to install the minimal number of modules to achieve HTTP support, or where LWP is not a good candidate due to CPU overhead, such as slower processors. HTTP::Lite is also significantly faster than LWP

HTTP::Lite is ideal for CGI (or mod_perl) programs or for bundling for redistribution with larger packages where only HTTP GET and POST functionality are necessary.

HTTP::Lite supports basic POST and GET operations only. As of 0.2.1, HTTP::Lite supports HTTP/1.1 and is compliant with the Host header, necessary for name based virtual hosting. Additionally, HTTP::Lite now supports Proxies.

As of 2.0.0 HTTP::Lite now supports a callback to allow processing of request data as it arrives. This is useful for handling very large files without consuming memory.

There are three methods to install libhttp-lite-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 libhttp-lite-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 libhttp-lite-perl using apt-get by running the following command:

sudo apt-get -y install libhttp-lite-perl

Install libhttp-lite-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libhttp-lite-perl using apt by running the following command:

sudo apt -y install libhttp-lite-perl

Install libhttp-lite-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 libhttp-lite-perl using aptitude by running the following command:

sudo aptitude -y install libhttp-lite-perl

How To Uninstall libhttp-lite-perl on Kali Linux

To uninstall only the libhttp-lite-perl package we can use the following command:

sudo apt-get remove libhttp-lite-perl

Uninstall libhttp-lite-perl And Its Dependencies

To uninstall libhttp-lite-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libhttp-lite-perl

Remove libhttp-lite-perl Configurations and Data

To remove libhttp-lite-perl configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libhttp-lite-perl

Remove libhttp-lite-perl configuration, data, and all of its dependencies

We can use the following command to remove libhttp-lite-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libhttp-lite-perl

Dependencies

libhttp-lite-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libhttp-lite-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.