How To Install libexif on Rocky Linux 8

In this tutorial we learn how to install libexif on Rocky Linux 8. libexif is Library for extracting extra information from image files

Introduction

In this tutorial we learn how to install libexif on Rocky Linux 8.

What is libexif

Most digital cameras produce EXIF files, which are JPEG files with extra tags that contain information about the image. The EXIF library allows you to parse an EXIF file and read the data from those tags.

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

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

sudo dnf -y install libexif

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

sudo yum -y install libexif

How To Uninstall libexif on Rocky Linux 8

To uninstall only the libexif package we can use the following command:

sudo dnf remove libexif

libexif Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/e093525d0d615647aa52ef19462612b4c51bdc
/usr/lib64/libexif.so.12
/usr/lib64/libexif.so.12.3.4
/usr/share/doc/libexif
/usr/share/doc/libexif/COPYING
/usr/share/doc/libexif/NEWS
/usr/share/doc/libexif/README
/usr/share/locale/be/LC_MESSAGES/libexif-12.mo
/usr/share/locale/bs/LC_MESSAGES/libexif-12.mo
/usr/share/locale/cs/LC_MESSAGES/libexif-12.mo
/usr/share/locale/da/LC_MESSAGES/libexif-12.mo
/usr/share/locale/de/LC_MESSAGES/libexif-12.mo
/usr/share/locale/en_AU/LC_MESSAGES/libexif-12.mo
/usr/share/locale/en_CA/LC_MESSAGES/libexif-12.mo
/usr/share/locale/en_GB/LC_MESSAGES/libexif-12.mo
/usr/share/locale/es/LC_MESSAGES/libexif-12.mo
/usr/share/locale/fr/LC_MESSAGES/libexif-12.mo
/usr/share/locale/it/LC_MESSAGES/libexif-12.mo
/usr/share/locale/ja/LC_MESSAGES/libexif-12.mo
/usr/share/locale/ms/LC_MESSAGES/libexif-12.mo
/usr/share/locale/nl/LC_MESSAGES/libexif-12.mo
/usr/share/locale/pl/LC_MESSAGES/libexif-12.mo
/usr/share/locale/pt/LC_MESSAGES/libexif-12.mo
/usr/share/locale/pt_BR/LC_MESSAGES/libexif-12.mo
/usr/share/locale/ru/LC_MESSAGES/libexif-12.mo
/usr/share/locale/sk/LC_MESSAGES/libexif-12.mo
/usr/share/locale/sq/LC_MESSAGES/libexif-12.mo
/usr/share/locale/sr/LC_MESSAGES/libexif-12.mo
/usr/share/locale/sv/LC_MESSAGES/libexif-12.mo
/usr/share/locale/tr/LC_MESSAGES/libexif-12.mo
/usr/share/locale/uk/LC_MESSAGES/libexif-12.mo
/usr/share/locale/vi/LC_MESSAGES/libexif-12.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libexif-12.mo
/usr/lib/.build-id
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/480365ffa58b919ccc30912c159966d451e073
/usr/lib/libexif.so.12
/usr/lib/libexif.so.12.3.4
/usr/share/doc/libexif
/usr/share/doc/libexif/COPYING
/usr/share/doc/libexif/NEWS
/usr/share/doc/libexif/README
/usr/share/locale/be/LC_MESSAGES/libexif-12.mo
/usr/share/locale/bs/LC_MESSAGES/libexif-12.mo
/usr/share/locale/cs/LC_MESSAGES/libexif-12.mo
/usr/share/locale/da/LC_MESSAGES/libexif-12.mo
/usr/share/locale/de/LC_MESSAGES/libexif-12.mo
/usr/share/locale/en_AU/LC_MESSAGES/libexif-12.mo
/usr/share/locale/en_CA/LC_MESSAGES/libexif-12.mo
/usr/share/locale/en_GB/LC_MESSAGES/libexif-12.mo
/usr/share/locale/es/LC_MESSAGES/libexif-12.mo
/usr/share/locale/fr/LC_MESSAGES/libexif-12.mo
/usr/share/locale/it/LC_MESSAGES/libexif-12.mo
/usr/share/locale/ja/LC_MESSAGES/libexif-12.mo
/usr/share/locale/ms/LC_MESSAGES/libexif-12.mo
/usr/share/locale/nl/LC_MESSAGES/libexif-12.mo
/usr/share/locale/pl/LC_MESSAGES/libexif-12.mo
/usr/share/locale/pt/LC_MESSAGES/libexif-12.mo
/usr/share/locale/pt_BR/LC_MESSAGES/libexif-12.mo
/usr/share/locale/ru/LC_MESSAGES/libexif-12.mo
/usr/share/locale/sk/LC_MESSAGES/libexif-12.mo
/usr/share/locale/sq/LC_MESSAGES/libexif-12.mo
/usr/share/locale/sr/LC_MESSAGES/libexif-12.mo
/usr/share/locale/sv/LC_MESSAGES/libexif-12.mo
/usr/share/locale/tr/LC_MESSAGES/libexif-12.mo
/usr/share/locale/uk/LC_MESSAGES/libexif-12.mo
/usr/share/locale/vi/LC_MESSAGES/libexif-12.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libexif-12.mo

References

Summary

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