How To Install freeimage-plus on Rocky Linux 8

In this tutorial we learn how to install freeimage-plus on Rocky Linux 8. freeimage-plus is C++ wrapper for FreeImage

Introduction

In this tutorial we learn how to install freeimage-plus on Rocky Linux 8.

What is freeimage-plus

The freeimage-plus package contains the C++ wrapper library for freeimage.

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

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

sudo dnf -y install freeimage-plus

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

sudo yum -y install freeimage-plus

How To Uninstall freeimage-plus on Rocky Linux 8

To uninstall only the freeimage-plus package we can use the following command:

sudo dnf remove freeimage-plus

freeimage-plus Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/302f1840cd416563ecf58193c222796faf6e1b
/usr/lib64/libfreeimageplus-3.17.0.so
/usr/lib64/libfreeimageplus.so.3
/usr/share/doc/freeimage-plus
/usr/share/doc/freeimage-plus/WhatsNew_FIP.txt

References

Summary

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