How To Install libcgi-cookie-splitter-perl on Kali Linux

In this tutorial we learn how to install libcgi-cookie-splitter-perl on Kali Linux. libcgi-cookie-splitter-perl is module for splitting big cookies into smaller ones

Introduction

In this tutorial we learn how to install libcgi-cookie-splitter-perl on Kali Linux.

libcgi-cookie-splitter-perl is:

RFC 2109 stipulates that user agents support a cookie size of “at least 4096 bytes per cookie”. However, this value has become the standard maximum cookie size supported by many implementations, so if your server sends larger cookies considerable breakage may occur.

CGI::Cookie::Splitter provides a pretty simple interface to generate small cookies that are under a certain limit, without wasting too much effort.

There are three methods to install libcgi-cookie-splitter-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.

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libcgi-cookie-splitter-perl using apt-get by running the following command:

sudo apt-get -y install libcgi-cookie-splitter-perl

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libcgi-cookie-splitter-perl

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 libcgi-cookie-splitter-perl using aptitude by running the following command:

sudo aptitude -y install libcgi-cookie-splitter-perl

To uninstall only the libcgi-cookie-splitter-perl package we can use the following command:

sudo apt-get remove libcgi-cookie-splitter-perl

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

sudo apt-get -y autoremove libcgi-cookie-splitter-perl

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

sudo apt-get -y purge libcgi-cookie-splitter-perl

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

sudo apt-get -y autoremove --purge libcgi-cookie-splitter-perl

Dependencies

libcgi-cookie-splitter-perl have the following dependencies:

References

Summary

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