How To Install poppler-cpp on Rocky Linux 8

In this tutorial we learn how to install poppler-cpp on Rocky Linux 8. poppler-cpp is Pure C++ wrapper for poppler

Introduction

In this tutorial we learn how to install poppler-cpp on Rocky Linux 8.

What is poppler-cpp

Pure C++ wrapper for poppler.

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

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

sudo dnf -y install poppler-cpp

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

sudo yum -y install poppler-cpp

How To Uninstall poppler-cpp on Rocky Linux 8

To uninstall only the poppler-cpp package we can use the following command:

sudo dnf remove poppler-cpp

poppler-cpp Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/4c7b63b8316bba8ea50e0d10c193c1dfa6a5ce
/usr/lib/libpoppler-cpp.so.0
/usr/lib/libpoppler-cpp.so.0.9.0
/usr/lib/.build-id
/usr/lib/.build-id/df
/usr/lib/.build-id/df/0e182da81db20d41402c9e74c10cccf670ba94
/usr/lib64/libpoppler-cpp.so.0
/usr/lib64/libpoppler-cpp.so.0.9.0

References

Summary

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