How To Install libtevent-devel on Rocky Linux 8

In this tutorial we learn how to install libtevent-devel on Rocky Linux 8. libtevent-devel is Developer tools for the Tevent library

Introduction

In this tutorial we learn how to install libtevent-devel on Rocky Linux 8.

What is libtevent-devel

Header files needed to develop programs that link against the Tevent library.

We can use yum or dnf to install libtevent-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libtevent-devel.

Install libtevent-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libtevent-devel

Install libtevent-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libtevent-devel

How To Uninstall libtevent-devel on Rocky Linux 8

To uninstall only the libtevent-devel package we can use the following command:

sudo dnf remove libtevent-devel

libtevent-devel Package Contents on Rocky Linux 8

/usr/include/tevent.h
/usr/lib/libtevent.so
/usr/lib/pkgconfig/tevent.pc
/usr/share/man/man3/tevent.3.gz
/usr/share/man/man3/tevent_compat.3.gz
/usr/share/man/man3/tevent_context.3.gz
/usr/share/man/man3/tevent_data.3.gz
/usr/share/man/man3/tevent_events.3.gz
/usr/share/man/man3/tevent_helpers.3.gz
/usr/share/man/man3/tevent_ops.3.gz
/usr/share/man/man3/tevent_queue.3.gz
/usr/share/man/man3/tevent_queue_tutorial.3.gz
/usr/share/man/man3/tevent_request.3.gz
/usr/share/man/man3/tevent_thread.3.gz
/usr/share/man/man3/tevent_tutorial.3.gz
/usr/include/tevent.h
/usr/lib64/libtevent.so
/usr/lib64/pkgconfig/tevent.pc
/usr/share/man/man3/tevent.3.gz
/usr/share/man/man3/tevent_compat.3.gz
/usr/share/man/man3/tevent_context.3.gz
/usr/share/man/man3/tevent_data.3.gz
/usr/share/man/man3/tevent_events.3.gz
/usr/share/man/man3/tevent_helpers.3.gz
/usr/share/man/man3/tevent_ops.3.gz
/usr/share/man/man3/tevent_queue.3.gz
/usr/share/man/man3/tevent_queue_tutorial.3.gz
/usr/share/man/man3/tevent_request.3.gz
/usr/share/man/man3/tevent_thread.3.gz
/usr/share/man/man3/tevent_tutorial.3.gz

References

Summary

In this tutorial we learn how to install libtevent-devel on Rocky Linux 8 using yum and dnf.