How To Install perl-EV on CentOS 7

In this tutorial we learn how to install perl-EV on CentOS 7. perl-EV is Wrapper for the libev high-performance event loop library

Introduction

In this tutorial we learn how to install perl-EV on CentOS 7.

What is perl-EV

This module provides an interface to libev (<http documentation is comprehensive, one might also consult the documentation of libev itself (<http watcher semantics or some discussion on the available backends, or how to force a specific backend with “LIBEV_FLAGS”, or just about in any case because it has much more detailed information.

We can use yum or dnf to install perl-EV on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-EV.

Install perl-EV on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install perl-EV

Install perl-EV on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install perl-EV using dnf by running the following command:

sudo dnf -y install perl-EV

How To Uninstall perl-EV on CentOS 7

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

sudo dnf remove perl-EV

References

Summary

In this tutorial we learn how to install perl-EV on CentOS 7 using yum and dnf.