How To Install exiv2.x86_64 on Amazon Linux 2

In this tutorial we learn how to install exiv2.x86_64 in Amazon Linux 2. exiv2.x86_64 is Exif and Iptc metadata manipulation library

Introduction

In this tutorial we learn how to install exiv2.x86_64 on Amazon Linux 2.

What is exiv2.x86_64

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 to install exiv2.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install exiv2.x86_64.

Install exiv2.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install exiv2.x86_64

How To Uninstall exiv2.x86_64 on Amazon Linux 2

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

sudo yum remove exiv2.x86_64

exiv2.x86_64 Package Contents on Amazon Linux 2

/usr/bin/exiv2
/usr/share/licenses/exiv2-0.27.0
/usr/share/licenses/exiv2-0.27.0/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/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.x86_64 on Amazon Linux 2 using yum.