How To Install libffi-checklib-perl on Kali Linux

In this tutorial we learn how to install libffi-checklib-perl on Kali Linux. libffi-checklib-perl is module to check availability of a library for FFI

Introduction

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

What is libffi-checklib-perl

libffi-checklib-perl is:

FFI::CheckLib checks whether a particular dynamic library is available for FFI to use. It is modeled heavily on Devel::CheckLib, but will find dynamic libraries even when development packages are not installed. It also provides a find_lib function that will return the full path to the found dynamic library, which can be feed directly into FFI::Platypus or FFI::Raw.

Although intended mainly for FFI modules via FFI::Platypus and similar, this module does not actually use any FFI to do its detection and probing.

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

sudo apt-get -y install libffi-checklib-perl

Install libffi-checklib-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libffi-checklib-perl

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

sudo aptitude -y install libffi-checklib-perl

How To Uninstall libffi-checklib-perl on Kali Linux

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

sudo apt-get remove libffi-checklib-perl

Uninstall libffi-checklib-perl And Its Dependencies

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

sudo apt-get -y autoremove libffi-checklib-perl

Remove libffi-checklib-perl Configurations and Data

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

sudo apt-get -y purge libffi-checklib-perl

Remove libffi-checklib-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libffi-checklib-perl

Dependencies

libffi-checklib-perl have the following dependencies:

References

Summary

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