How To Install libev.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libev.x86_64 in Amazon Linux 2. libev.x86_64 is High-performance event loop/event model with lots of features

Introduction

In this tutorial we learn how to install libev.x86_64 on Amazon Linux 2.

What is libev.x86_64

Libev is modeled (very loosely) after libevent and the Event Perl module, but is faster, scales better and is more correct, and also more featureful. And also smaller.

We can use yum to install libev.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libev.x86_64.

Install libev.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libev.x86_64 using yum by running the following command:

sudo yum -y install libev.x86_64

How To Uninstall libev.x86_64 on Amazon Linux 2

To uninstall only the libev.x86_64 package we can use the following command:

sudo yum remove libev.x86_64

libev.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libev.so.4
/usr/lib64/libev.so.4.0.0
/usr/share/doc/libev-4.24
/usr/share/doc/libev-4.24/Changes
/usr/share/doc/libev-4.24/README
/usr/share/licenses/libev-4.24
/usr/share/licenses/libev-4.24/LICENSE

References

Summary

In this tutorial we learn how to install libev.x86_64 on Amazon Linux 2 using yum.