How To Install apr on Fedora 34

apr is Apache Portable Runtime library Apache Portable Runtime library

Introduction

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

What is apr

The mission of the Apache Portable Runtime (APR) is to provide a free library of C data structures and routines, forming a system portability layer to as many operating systems as possible, including Unices, MS Win32, BeOS and OS/2. apr 1.7.0 8.fc34 x86_64 122 k apr-1.7.0-8.fc34.src.rpm fedora Apache Portable Runtime library https ASL 2.0 and BSD with advertising and ISC and BSD The mission of the Apache Portable Runtime (APR) is to provide a free library of C data structures and routines, forming a system portability layer to as many operating systems as possible, including Unices, MS Win32, BeOS and OS/2.

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

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

sudo dnf -y install apr

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

sudo yum -y install apr

How To Uninstall apr on Fedora 34

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

sudo dnf remove apr

apr Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/47
/usr/lib/.build-id/47/3323a5cea29dbe830c5164e20eda58cf29ffcd
/usr/lib/libapr-1.so.0
/usr/lib/libapr-1.so.0.7.0
/usr/share/doc/apr
/usr/share/doc/apr/CHANGES
/usr/share/doc/apr/LICENSE
/usr/share/doc/apr/NOTICE
/usr/lib/.build-id
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/dafbc3ccd2e93bc5f3de5ea0f730cb77c2a811
/usr/lib64/libapr-1.so.0
/usr/lib64/libapr-1.so.0.7.0
/usr/share/doc/apr
/usr/share/doc/apr/CHANGES
/usr/share/doc/apr/LICENSE
/usr/share/doc/apr/NOTICE

References

Summary

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