How To Install lua-event on Fedora 36

In this tutorial we learn how to install lua-event in Fedora 36. lua-event is Bindings of libevent to Lua

Introduction

In this tutorial we learn how to install lua-event on Fedora 36.

What is lua-event

Lua bindings for libevent, an asynchronous event notification library that provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached.

We can use yum or dnf to install lua-event on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install lua-event.

Install lua-event on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install lua-event

Install lua-event on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install lua-event

How To Uninstall lua-event on Fedora 36

To uninstall only the lua-event package we can use the following command:

sudo dnf remove lua-event

lua-event Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/b5901fc0650a8400b63db0236687ba3c780ef4
/usr/lib64/lua/5.4/luaevent
/usr/lib64/lua/5.4/luaevent/core.so
/usr/share/doc/lua-event
/usr/share/doc/lua-event/CHANGELOG
/usr/share/doc/lua-event/COROUTINE_MANAGEMENT
/usr/share/doc/lua-event/PLAN
/usr/share/doc/lua-event/README
/usr/share/licenses/lua-event
/usr/share/licenses/lua-event/COPYING
/usr/share/lua/5.4/luaevent.lua

References

Summary

In this tutorial we learn how to install lua-event on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).