How To Install libimage-exiftool-perl on Debian 11

In this tutorial we learn how to install libimage-exiftool-perl on Debian 11. libimage-exiftool-perl is library and program to read and write meta information in multimedia files

Introduction

In this tutorial we learn how to install libimage-exiftool-perl on Debian 11.

What is libimage-exiftool-perl

libimage-exiftool-perl is:

Image::ExifTool is a customizable set of Perl modules plus a full-featured command-line application called exiftool for reading and writing meta information in a wide variety of files, including the maker note information of many digital cameras by various manufacturers such as Canon, Casio, DJI, FLIR, FujiFilm, GE, GoPro, HP, JVC/Victor, Kodak, Leaf, Minolta/Konica-Minolta, Nikon, Nintendo, Olympus/Epson, Panasonic/Leica, Pentax/Asahi, Phase One, Reconyx, Ricoh, Samsung, Sanyo, Sigma/Foveon and Sony.

The following modules/packages are recommended for specific features, e.g. decoding compressed and/or encrypted information from the indicated file types, calculating digest values for some information types, etc.:

  • Archive::Zip / libarchive-zip-perl: ZIP, DOCX, PPTX, XLSX, ODP, ODS, ODT, EIP, iWork
  • Unicode::LineBreak / libunicode-linebreak-perl: for column-alignment of alternate language output
  • POSIX::strptime / libposix-strptime-perl: for inverse date/time conversion
  • Time::Piece (in perl core): alternative to POSIX::strptime
  • IO::Compress::RawDeflate + IO::Uncompress::RawInflate (in perl core): for reading FLIF images

There are three methods to install libimage-exiftool-perl on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libimage-exiftool-perl Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libimage-exiftool-perl

Install libimage-exiftool-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libimage-exiftool-perl using apt by running the following command:

sudo apt -y install libimage-exiftool-perl

Install libimage-exiftool-perl 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libimage-exiftool-perl using aptitude by running the following command:

sudo aptitude -y install libimage-exiftool-perl

How To Uninstall libimage-exiftool-perl on Debian 11

To uninstall only the libimage-exiftool-perl package we can use the following command:

sudo apt-get remove libimage-exiftool-perl

Uninstall libimage-exiftool-perl And Its Dependencies

To uninstall libimage-exiftool-perl and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove libimage-exiftool-perl

Remove libimage-exiftool-perl Configurations and Data

To remove libimage-exiftool-perl configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge libimage-exiftool-perl

Remove libimage-exiftool-perl configuration, data, and all of its dependencies

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

Dependencies

libimage-exiftool-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libimage-exiftool-perl package on Debian 11 using different package management tools: apt, apt-get and aptitude.