How To Install python-iptcdata on Ubuntu 18.04

In this tutorial we learn how to install python-iptcdata on Ubuntu 18.04. python-iptcdata is Python bindings for the iptcdata library

Introduction

In this tutorial we learn how to install python-iptcdata on Ubuntu 18.04.

What is python-iptcdata

python-iptcdata is:

libiptcdata is a library, for manipulating the International Press Telecommunications Council (IPTC) metadata stored within multimedia files such as images. The library provides routines for parsing, viewing, modifying, and saving this metadata.

This package contains the python bindings for libiptcdata.

There are three methods to install python-iptcdata on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install python-iptcdata Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install python-iptcdata using apt-get by running the following command:

sudo apt-get -y install python-iptcdata

Install python-iptcdata Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python-iptcdata using apt by running the following command:

sudo apt -y install python-iptcdata

Install python-iptcdata Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install python-iptcdata using aptitude by running the following command:

sudo aptitude -y install python-iptcdata

How To Uninstall python-iptcdata on Ubuntu 18.04

To uninstall only the python-iptcdata package we can use the following command:

sudo apt-get remove python-iptcdata

Uninstall python-iptcdata And Its Dependencies

To uninstall python-iptcdata and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove python-iptcdata

Remove python-iptcdata Configurations and Data

To remove python-iptcdata configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge python-iptcdata

Remove python-iptcdata configuration, data, and all of its dependencies

We can use the following command to remove python-iptcdata configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python-iptcdata

References

Summary

In this tutorial we learn how to install python-iptcdata package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.