exiftool command not found

In this troubleshooting guide we learn how to fix exiftool command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

exiftool: command not found

or when using sudo you get the following error message

sudo: exiftool: command not found

Solutions to exiftool: command not found

How To Fix exiftool: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu exiftool is provided by libimage-exiftool-perl package.

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

To fix this problem, we can install more using the command below.

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

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install libimage-exiftool-perl.

sudo apt -y install libimage-exiftool-perl

Or if you have aptitude installed you can use the following command.

sudo aptitude install libimage-exiftool-perl

Summary

In this tutorial we learn how to fix exiftool command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.