How To Install exiv2 on Fedora 34

exiv2 is Exif and Iptc metadata manipulation library

Introduction

In this tutorial we learn how to install exiv2 on Fedora 34.

What is exiv2

A command line utility to access image metadata, allowing one to * print the Exif metadata of Jpeg images as summary info, interpreted values, or the plain data for each tag * print the Iptc metadata of Jpeg images * print the Jpeg comment of Jpeg images * set, add and delete Exif and Iptc metadata of Jpeg images * adjust the Exif timestamp (that’s how it all started…) * rename Exif image files according to the Exif timestamp * extract, insert and delete Exif metadata (including thumbnails), Iptc metadata and Jpeg comments

We can use yum or dnf to install exiv2 on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install exiv2.

Install exiv2 on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install exiv2 using dnf by running the following command:

sudo dnf -y install exiv2

Install exiv2 on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install exiv2 using yum by running the following command:

sudo yum -y install exiv2

How To Uninstall exiv2 on Fedora 34

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

sudo dnf remove exiv2

exiv2 Package Contents on Fedora 34

/usr/bin/exiv2
/usr/lib/.build-id
/usr/lib/.build-id/55
/usr/lib/.build-id/55/5e152eefede3c3af8e1c80eaecb4923bd2b894
/usr/share/doc/exiv2
/usr/share/doc/exiv2/ChangeLog
/usr/share/licenses/exiv2
/usr/share/licenses/exiv2/COPYING
/usr/share/locale/bs/LC_MESSAGES/exiv2.mo
/usr/share/locale/ca/LC_MESSAGES/exiv2.mo
/usr/share/locale/de/LC_MESSAGES/exiv2.mo
/usr/share/locale/es/LC_MESSAGES/exiv2.mo
/usr/share/locale/fi/LC_MESSAGES/exiv2.mo
/usr/share/locale/fr/LC_MESSAGES/exiv2.mo
/usr/share/locale/gl/LC_MESSAGES/exiv2.mo
/usr/share/locale/ms/LC_MESSAGES/exiv2.mo
/usr/share/locale/nl/LC_MESSAGES/exiv2.mo
/usr/share/locale/pl/LC_MESSAGES/exiv2.mo
/usr/share/locale/pt/LC_MESSAGES/exiv2.mo
/usr/share/locale/ru/LC_MESSAGES/exiv2.mo
/usr/share/locale/sk/LC_MESSAGES/exiv2.mo
/usr/share/locale/sv/LC_MESSAGES/exiv2.mo
/usr/share/locale/ug/LC_MESSAGES/exiv2.mo
/usr/share/locale/uk/LC_MESSAGES/exiv2.mo
/usr/share/locale/vi/LC_MESSAGES/exiv2.mo
/usr/share/man/man1/exiv2.1.gz
/usr/bin/exiv2
/usr/lib/.build-id
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/7c6eac2a0c6cd6e7bc6ff641a49963db055763
/usr/share/doc/exiv2
/usr/share/doc/exiv2/ChangeLog
/usr/share/licenses/exiv2
/usr/share/licenses/exiv2/COPYING
/usr/share/locale/bs/LC_MESSAGES/exiv2.mo
/usr/share/locale/ca/LC_MESSAGES/exiv2.mo
/usr/share/locale/de/LC_MESSAGES/exiv2.mo
/usr/share/locale/es/LC_MESSAGES/exiv2.mo
/usr/share/locale/fi/LC_MESSAGES/exiv2.mo
/usr/share/locale/fr/LC_MESSAGES/exiv2.mo
/usr/share/locale/gl/LC_MESSAGES/exiv2.mo
/usr/share/locale/ms/LC_MESSAGES/exiv2.mo
/usr/share/locale/nl/LC_MESSAGES/exiv2.mo
/usr/share/locale/pl/LC_MESSAGES/exiv2.mo
/usr/share/locale/pt/LC_MESSAGES/exiv2.mo
/usr/share/locale/ru/LC_MESSAGES/exiv2.mo
/usr/share/locale/sk/LC_MESSAGES/exiv2.mo
/usr/share/locale/sv/LC_MESSAGES/exiv2.mo
/usr/share/locale/ug/LC_MESSAGES/exiv2.mo
/usr/share/locale/uk/LC_MESSAGES/exiv2.mo
/usr/share/locale/vi/LC_MESSAGES/exiv2.mo
/usr/share/man/man1/exiv2.1.gz

References

Summary

In this tutorial we learn how to install exiv2 on Fedora 34 using yum and dnf.