How To Install libserf on Fedora 34

libserf is High-Performance Asynchronous HTTP Client Library High-Performance Asynchronous HTTP Client Library

Introduction

In this tutorial we learn how to install libserf on Fedora 34.

What is libserf

The serf library is a C-based HTTP client library built upon the Apache Portable Runtime (APR) library. It multiplexes connections, running the read/write communication asynchronously. Memory copies and transformations are kept to a minimum to provide high performance operation. libserf 1.3.9 18.fc34 x86_64 60 k libserf-1.3.9-18.fc34.src.rpm fedora High-Performance Asynchronous HTTP Client Library http ASL 2.0 The serf library is a C-based HTTP client library built upon the Apache Portable Runtime (APR) library. It multiplexes connections, running the read/write communication asynchronously. Memory copies and transformations are kept to a minimum to provide high performance operation.

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

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

sudo dnf -y install libserf

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

sudo yum -y install libserf

How To Uninstall libserf on Fedora 34

To uninstall only the libserf package we can use the following command:

sudo dnf remove libserf

libserf Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/48e16cefb23e42aa427c61931857d6116c2750
/usr/lib/libserf-1.so.0
/usr/lib/libserf-1.so.0.3.0
/usr/share/licenses/libserf
/usr/share/licenses/libserf/LICENSE
/usr/share/licenses/libserf/NOTICE
/usr/lib/.build-id
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/41eae753e7891cfbb7e2df3aedb3ac980af0bd
/usr/lib64/libserf-1.so.0
/usr/lib64/libserf-1.so.0.3.0
/usr/share/licenses/libserf
/usr/share/licenses/libserf/LICENSE
/usr/share/licenses/libserf/NOTICE

References

Summary

In this tutorial we learn how to install libserf on Fedora 34 using yum and dnf.