How To Install libevent-devel on Rocky Linux 8

In this tutorial we learn how to install libevent-devel on Rocky Linux 8. libevent-devel is Development files for libevent

Introduction

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

What is libevent-devel

This package contains the header files and libraries for developing with libevent.

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

Install libevent-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 libevent-devel using dnf by running the following command:

sudo dnf -y install libevent-devel

Install libevent-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 libevent-devel using yum by running the following command:

sudo yum -y install libevent-devel

How To Uninstall libevent-devel on Rocky Linux 8

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

sudo dnf remove libevent-devel

libevent-devel Package Contents on Rocky Linux 8

/usr/bin/event_rpcgen.py
/usr/include/evdns.h
/usr/include/event.h
/usr/include/event2
/usr/include/event2/buffer.h
/usr/include/event2/buffer_compat.h
/usr/include/event2/bufferevent.h
/usr/include/event2/bufferevent_compat.h
/usr/include/event2/bufferevent_ssl.h
/usr/include/event2/bufferevent_struct.h
/usr/include/event2/dns.h
/usr/include/event2/dns_compat.h
/usr/include/event2/dns_struct.h
/usr/include/event2/event-config-32.h
/usr/include/event2/event-config.h
/usr/include/event2/event.h
/usr/include/event2/event_compat.h
/usr/include/event2/event_struct.h
/usr/include/event2/http.h
/usr/include/event2/http_compat.h
/usr/include/event2/http_struct.h
/usr/include/event2/keyvalq_struct.h
/usr/include/event2/listener.h
/usr/include/event2/rpc.h
/usr/include/event2/rpc_compat.h
/usr/include/event2/rpc_struct.h
/usr/include/event2/tag.h
/usr/include/event2/tag_compat.h
/usr/include/event2/thread.h
/usr/include/event2/util.h
/usr/include/event2/visibility.h
/usr/include/evhttp.h
/usr/include/evrpc.h
/usr/include/evutil.h
/usr/lib/libevent.so
/usr/lib/libevent_core.so
/usr/lib/libevent_extra.so
/usr/lib/libevent_openssl.so
/usr/lib/libevent_pthreads.so
/usr/lib/pkgconfig/libevent.pc
/usr/lib/pkgconfig/libevent_core.pc
/usr/lib/pkgconfig/libevent_extra.pc
/usr/lib/pkgconfig/libevent_openssl.pc
/usr/lib/pkgconfig/libevent_pthreads.pc
/usr/bin/event_rpcgen.py
/usr/include/evdns.h
/usr/include/event.h
/usr/include/event2
/usr/include/event2/buffer.h
/usr/include/event2/buffer_compat.h
/usr/include/event2/bufferevent.h
/usr/include/event2/bufferevent_compat.h
/usr/include/event2/bufferevent_ssl.h
/usr/include/event2/bufferevent_struct.h
/usr/include/event2/dns.h
/usr/include/event2/dns_compat.h
/usr/include/event2/dns_struct.h
/usr/include/event2/event-config-64.h
/usr/include/event2/event-config.h
/usr/include/event2/event.h
/usr/include/event2/event_compat.h
/usr/include/event2/event_struct.h
/usr/include/event2/http.h
/usr/include/event2/http_compat.h
/usr/include/event2/http_struct.h
/usr/include/event2/keyvalq_struct.h
/usr/include/event2/listener.h
/usr/include/event2/rpc.h
/usr/include/event2/rpc_compat.h
/usr/include/event2/rpc_struct.h
/usr/include/event2/tag.h
/usr/include/event2/tag_compat.h
/usr/include/event2/thread.h
/usr/include/event2/util.h
/usr/include/event2/visibility.h
/usr/include/evhttp.h
/usr/include/evrpc.h
/usr/include/evutil.h
/usr/lib64/libevent.so
/usr/lib64/libevent_core.so
/usr/lib64/libevent_extra.so
/usr/lib64/libevent_openssl.so
/usr/lib64/libevent_pthreads.so
/usr/lib64/pkgconfig/libevent.pc
/usr/lib64/pkgconfig/libevent_core.pc
/usr/lib64/pkgconfig/libevent_extra.pc
/usr/lib64/pkgconfig/libevent_openssl.pc
/usr/lib64/pkgconfig/libevent_pthreads.pc

References

Summary

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