How To Install libcurry-perl on Kali Linux

In this tutorial we learn how to install libcurry-perl on Kali Linux. libcurry-perl is module to create automatic curried method call closures for any class or object

Introduction

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

What is libcurry-perl

libcurry-perl is:

The curry module provides a function that simplifies the creation of curried method closures which are functions that wrap an existing function and provide some of the inner functions arguments. It also contains a package variable which, in addition, weakens the wrapper function so it is will not hold a reference count for the inner function so Perl’s garbage collection system can destroy the latter when needed.

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

sudo apt-get -y install libcurry-perl

Install libcurry-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libcurry-perl

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

sudo aptitude -y install libcurry-perl

How To Uninstall libcurry-perl on Kali Linux

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

sudo apt-get remove libcurry-perl

Uninstall libcurry-perl And Its Dependencies

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

sudo apt-get -y autoremove libcurry-perl

Remove libcurry-perl Configurations and Data

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

sudo apt-get -y purge libcurry-perl

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

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

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

Dependencies

libcurry-perl have the following dependencies:

References

Summary

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