How To Install libapreq2-libs on Rocky Linux 8

In this tutorial we learn how to install libapreq2-libs on Rocky Linux 8. libapreq2-libs is Libraries for libapreq2

Introduction

In this tutorial we learn how to install libapreq2-libs on Rocky Linux 8.

What is libapreq2-libs

Libraries for libapreq2.

We can use yum or dnf to install libapreq2-libs on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libapreq2-libs.

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

sudo dnf -y install libapreq2-libs

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

sudo yum -y install libapreq2-libs

How To Uninstall libapreq2-libs on Rocky Linux 8

To uninstall only the libapreq2-libs package we can use the following command:

sudo dnf remove libapreq2-libs

libapreq2-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/40
/usr/lib/.build-id/40/02b01daba3d01ca8478d003fd68c2ddf5996f6
/usr/lib64/libapreq2.so.3
/usr/lib64/libapreq2.so.3.8.1

References

Summary

In this tutorial we learn how to install libapreq2-libs on Rocky Linux 8 using yum and dnf.