How To Install libchi-perl on Kali Linux

In this tutorial we learn how to install libchi-perl on Kali Linux. libchi-perl is Unified Cache Handling Interface

Introduction

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

What is libchi-perl

libchi-perl is:

CHI provides a unified caching API for Perl programs, designed to assist a developer in keeping data persistent for a specified period of time.

The CHI interface is implemented by driver classes that support fetching, storing and clearing of data. Driver classes exist or will exist for the gamut of storage backends available to Perl, such as memory, plain files, memory mapped files, memcached, and DBI.

CHI is intended as an evolution of DeWitt Clinton’s Cache::Cache package, adhering to the basic Cache API but adding new features and addressing limitations in the Cache::Cache implementation.

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

sudo apt-get -y install libchi-perl

Install libchi-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libchi-perl

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

sudo aptitude -y install libchi-perl

How To Uninstall libchi-perl on Kali Linux

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

sudo apt-get remove libchi-perl

Uninstall libchi-perl And Its Dependencies

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

sudo apt-get -y autoremove libchi-perl

Remove libchi-perl Configurations and Data

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

sudo apt-get -y purge libchi-perl

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

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

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

Dependencies

libchi-perl have the following dependencies:

References

Summary

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