How To Install libiptcdata-python.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libiptcdata-python.x86_64 in Amazon Linux 2. libiptcdata-python.x86_64 is Python bindings for libiptcdata

Introduction

In this tutorial we learn how to install libiptcdata-python.x86_64 on Amazon Linux 2.

What is libiptcdata-python.x86_64

The libiptcdata-python package contains a Python module that allows Python applications to use the libiptcdata API for reading and writing IPTC metadata in images.

We can use yum to install libiptcdata-python.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libiptcdata-python.x86_64.

Install libiptcdata-python.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 libiptcdata-python.x86_64 using yum by running the following command:

sudo yum -y install libiptcdata-python.x86_64

How To Uninstall libiptcdata-python.x86_64 on Amazon Linux 2

To uninstall only the libiptcdata-python.x86_64 package we can use the following command:

sudo yum remove libiptcdata-python.x86_64

libiptcdata-python.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/python2.7/site-packages/iptcdata.so
/usr/share/doc/libiptcdata-python-1.0.4
/usr/share/doc/libiptcdata-python-1.0.4/README
/usr/share/doc/libiptcdata-python-1.0.4/set_iptc.py
/usr/share/doc/libiptcdata-python-1.0.4/show_iptc.py

References

Summary

In this tutorial we learn how to install libiptcdata-python.x86_64 on Amazon Linux 2 using yum.