How To Install libevent-perl on Debian 10

Learn how to install libevent-perl on Debian 10 with this tutorial. libevent-perl is generic Perl event loop module

Introduction

In this tutorial we learn how to install libevent-perl on Debian 10.

What is libevent-perl

libevent-perl is:

The Event module provides a simple and optimized event loop for a rather broad number of applications. It allows Perl programs to register interest in events that concern it, and will receive those events.

There are three methods to install libevent-perl on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libevent-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 libevent-perl using apt-get by running the following command:

sudo apt-get -y install libevent-perl

Install libevent-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libevent-perl

Install libevent-perl Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libevent-perl

How To Uninstall libevent-perl on Debian 10

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

sudo apt-get remove libevent-perl

Uninstall libevent-perl And Its Dependencies

To uninstall libevent-perl and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libevent-perl

Remove libevent-perl Configurations and Data

To remove libevent-perl configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libevent-perl

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

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

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

Dependencies

libevent-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libevent-perl package on Debian 10 using different package management tools: apt, apt-get and aptitude.