How To Install exiv2-libs on Rocky Linux 8

In this tutorial we learn how to install exiv2-libs on Rocky Linux 8. exiv2-libs is Exif and Iptc metadata manipulation library

Introduction

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

What is exiv2-libs

A C++ library to access image metadata, supporting full read and write access to the Exif and Iptc metadata, Exif MakerNote support, extract and delete methods for Exif thumbnails, classes to access Ifd and so on.

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

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

sudo dnf -y install exiv2-libs

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

sudo yum -y install exiv2-libs

How To Uninstall exiv2-libs on Rocky Linux 8

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

sudo dnf remove exiv2-libs

exiv2-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/2f2b7c95fbf8d6fe3a4f685a6ae4966805f5b9
/usr/lib/libexiv2.so.0.27.2
/usr/lib/libexiv2.so.27
/usr/lib/.build-id
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/71e2a32c331bda50e4e58650d2cbd2181219df
/usr/lib/libexiv2.so.0.27.3
/usr/lib/libexiv2.so.27
/usr/lib/.build-id
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/e62b5d9f56c0251c8332004a83bdeda64aaf5b
/usr/lib64/libexiv2.so.0.27.3
/usr/lib64/libexiv2.so.27
/usr/lib/.build-id
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/5b359e4110853805cb13c568cb1f63e7e90eba
/usr/lib64/libexiv2.so.0.27.2
/usr/lib64/libexiv2.so.27

References

Summary

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