How To Install apr on Rocky Linux 8
Introduction
In this tutorial we learn how to install apr
on Rocky Linux 8.
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.
We can use yum
or dnf
to install apr
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install apr.
Install apr 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 apr
using dnf
by running the following command:
sudo dnf -y install apr
Install apr 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 apr
using yum
by running the following command:
sudo yum -y install apr
How To Uninstall apr on Rocky Linux 8
To uninstall only the apr
package we can use the following command:
sudo dnf remove apr
apr Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/31
/usr/lib/.build-id/31/5c39e4537a77a6f7da8ff74015102699d2c699
/usr/lib/libapr-1.so.0
/usr/lib/libapr-1.so.0.6.3
/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/a4
/usr/lib/.build-id/a4/681233abbbda5e87313b335fa3f0c689f30fcc
/usr/lib64/libapr-1.so.0
/usr/lib64/libapr-1.so.0.6.3
/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 Rocky Linux 8 using yum and dnf.