How To Install libwhisker2-perl on Kali Linux

In this tutorial we learn how to install libwhisker2-perl on Kali Linux. libwhisker2-perl is Perl module geared for HTTP testing

Introduction

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

What is libwhisker2-perl

libwhisker2-perl is:

This package provides LibWhisker 2 (LW2), a flexible, portable and self-contained Perl module implementing fast and small replacements to the usual HTTP testing functions, as available in LWP, URI, HTML::Parser, MIME::Base64, etc.

It supports: - HTTP 0.9, 1.0, and 1.1; - persistent connections (with keep-alives); - proxying; - anti-IDS features; - SSL (through libnet-ssleay-perl); - chunked encoding; - basic and NTLM authentication.

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

sudo apt-get -y install libwhisker2-perl

Install libwhisker2-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libwhisker2-perl

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

sudo aptitude -y install libwhisker2-perl

How To Uninstall libwhisker2-perl on Kali Linux

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

sudo apt-get remove libwhisker2-perl

Uninstall libwhisker2-perl And Its Dependencies

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

sudo apt-get -y autoremove libwhisker2-perl

Remove libwhisker2-perl Configurations and Data

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

sudo apt-get -y purge libwhisker2-perl

Remove libwhisker2-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libwhisker2-perl

Dependencies

libwhisker2-perl have the following dependencies:

References

Summary

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