How To Install libtevent.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libtevent.x86_64 in Amazon Linux 2. libtevent.x86_64 is The tevent library

Introduction

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

What is libtevent.x86_64

Tevent is an event system based on the talloc memory management library. Tevent has support for many event types, including timers, signals, and the classic file descriptor events. Tevent also provide helpers to deal with asynchronous code providing the tevent_req (Tevent Request) functions.

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

Install libtevent.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 libtevent.x86_64 using yum by running the following command:

sudo yum -y install libtevent.x86_64

How To Uninstall libtevent.x86_64 on Amazon Linux 2

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

sudo yum remove libtevent.x86_64

libtevent.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libtevent.so.0
/usr/lib64/libtevent.so.0.9.39

References

Summary

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