How To Install libimage-exiftool-perl on Ubuntu 20.04

In this tutorial we learn how to install libimage-exiftool-perl on Ubuntu 20.04. libimage-exiftool-perl is library and program to read and write meta information in multimedia files 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 Ubuntu 20.04.

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 Task: ubuntustudio-photography

Package: libimage-exiftool-perl Architecture: all Version: 11.88-1 Priority: optional Section: universe/perl Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Perl Group [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 20653 Provides: exiftool Depends: perl:any Recommends: libarchive-zip-perl, libposix-strptime-perl, libunicode-linebreak-perl Filename: pool/universe/libi/libimage-exiftool-perl/libimage-exiftool-perl_11.88-1_all.deb Size: 3396180 MD5sum: 49f75ef50b3a29f39517c4ae459cb418 SHA1: 4062506042aaf0374cea697d9390d8ee27440d4a SHA256: 8200fcdb694f4da18cc6d3ed7716ccf91a1f1f950face27a0861052c573dad6b Homepage: https://exiftool.org/ Description-en: library and program to read and write meta information in multimedia files 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 Task: ubuntustudio-photography

There are three methods to install libimage-exiftool-perl 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 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 Ubuntu. 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 Ubuntu 20.04

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 Ubuntu 20.04, 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 Ubuntu 20.04 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

References

Summary

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