The ExifTool is a really useful Linux application that is used for displaying the metadata of images and other media files as well. It includes all the relevant information that you might want to know about your media files such as file extension, file permission, creation / modification time, etc.
Here at LinuxAPT, we shall look into how to install ExifTool on a Linux Mint 20.3 system.
1. Perform System Update
To begin execute the below update command to resolve all the dependency issues:
$ sudo apt-get update
2. Install ExifTool package
Now, install ExifTool with the below command:
$ sudo apt-get install libimage-exiftool-perl
To display the metadata of an image file using ExifTool, run the below command :
$ exiftool Sample.jpeg
Here, we had a JPEG file whose metadata we wanted to extract. The name of this file was "Sample.jpeg". You can replace it with the name of any of your desired image file or any other media file followed by its respective extension.
The metadata of our specified image file will be displayed on the terminal.
If you want to remove the ExifTool from your Linux Mint 20.3 system, then you can simply run the below command:
$ sudo apt-get purge --autoremove libimage-exiftool-perl
We can use the following command to remove libimage-exiftool-perl configurations, data and all of its dependencies, we can use the following command:
$ sudo apt-get -y autoremove --purge libimage-exiftool-perl
This article covers how to simply install the ExifTool on a Linux Mint 20.3 system. In fact, you can now extract the meta information of your desired media files conveniently.