How To Install libtevent on Fedora 34
Introduction
In this tutorial we learn how to install libtevent
on Fedora 34.
What is libtevent
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. libtevent 0.11.0 0.fc34 x86_64 43 k libtevent-0.11.0-0.fc34.src.rpm updates The tevent library http LGPLv3+ 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
or dnf
to install libtevent
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libtevent.
Install libtevent on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libtevent
using dnf
by running the following command:
sudo dnf -y install libtevent
Install libtevent on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libtevent
using yum
by running the following command:
sudo yum -y install libtevent
How To Uninstall libtevent on Fedora 34
To uninstall only the libtevent
package we can use the following command:
sudo dnf remove libtevent
libtevent Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/ff2cd1d518e0a8af6691af8a8ffe5408506a49
/usr/lib64/libtevent.so.0
/usr/lib64/libtevent.so.0.11.0
/usr/lib/.build-id
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/5630314c814b05966445f8d7c2e9d5b9185077
/usr/lib/libtevent.so.0
/usr/lib/libtevent.so.0.10.2
/usr/lib/.build-id
/usr/lib/.build-id/38
/usr/lib/.build-id/38/42b758f5c737e2ecfd18f36cbdfaeac0b5a6be
/usr/lib/libtevent.so.0
/usr/lib/libtevent.so.0.11.0
/usr/lib/.build-id
/usr/lib/.build-id/94
/usr/lib/.build-id/94/8686c1ef01bb0900194a347f743cf57dbec724
/usr/lib64/libtevent.so.0
/usr/lib64/libtevent.so.0.10.2
References
- [libtevent website](http://tevent.samba.org/ http://tevent.samba.org/)
Summary
In this tutorial we learn how to install libtevent
on Fedora 34 using yum and dnf.