How To Install exiftags on Ubuntu 20.04

In this tutorial we learn how to install exiftags on Ubuntu 20.04. exiftags is utility to read Exif tags from a digital camera JPEG file

Introduction

In this tutorial we learn how to install exiftags on Ubuntu 20.04.

What is exiftags

exiftags is:

The exiftags utility parses a specified JPEG file or, by default, its standard input, looking for a JPEG APP1 section containing Exif (Exchangeable Image File) data. The properties contained in these data are then printed to the standard output. Digital cameras typically add Exif data to the image files they produce, containing information about the camera and digitized image.

There are three methods to install exiftags on Ubuntu 20.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 exiftags Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install exiftags

Install exiftags Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install exiftags using apt by running the following command:

sudo apt -y install exiftags

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

sudo aptitude -y install exiftags

How To Uninstall exiftags on Ubuntu 20.04

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

sudo apt-get remove exiftags

Uninstall exiftags And Its Dependencies

To uninstall exiftags and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove exiftags

Remove exiftags Configurations and Data

To remove exiftags configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge exiftags

Remove exiftags configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge exiftags

References

Summary

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