How To Install libanyevent-dbi-perl on Kali Linux

In this tutorial we learn how to install libanyevent-dbi-perl on Kali Linux. libanyevent-dbi-perl is module supporting asynchronous DBI access

Introduction

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

What is libanyevent-dbi-perl

libanyevent-dbi-perl is:

AnyEvent::DBI is an AnyEvent extension, you need to make sure that you use and run a supported event loop. This module implements asynchronous DBI access by forking or executing separate “DBI-Server” processes and sending them requests. It means that you can run DBI requests in parallel to other tasks. The overhead for very simple statements (“select 0”) is somewhere around 100% to 120% (dual/single core CPU) compared to an explicit prepare_cached/execute/fetchrow_arrayref/finish combination.

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

sudo apt-get -y install libanyevent-dbi-perl

Install libanyevent-dbi-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libanyevent-dbi-perl

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

sudo aptitude -y install libanyevent-dbi-perl

How To Uninstall libanyevent-dbi-perl on Kali Linux

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

sudo apt-get remove libanyevent-dbi-perl

Uninstall libanyevent-dbi-perl And Its Dependencies

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

sudo apt-get -y autoremove libanyevent-dbi-perl

Remove libanyevent-dbi-perl Configurations and Data

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

sudo apt-get -y purge libanyevent-dbi-perl

Remove libanyevent-dbi-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libanyevent-dbi-perl

Dependencies

libanyevent-dbi-perl have the following dependencies:

References

Summary

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