jpeginfo command not found

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

Introduction

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

jpeginfo: command not found

or when using sudo you get the following error message

sudo: jpeginfo: command not found

Solutions to jpeginfo: command not found

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

In Ubuntu jpeginfo is provided by jpeginfo package.

jpeginfo is:

jpeginfo can be used to generate informative listings of jpeg files, and also to check jpeg files for errors. It can also detect broken jpeg and delete them automatically.

Since libjpeg only supports a limited subset of the JPEG standard (ITU 81), only JPEG codestream with huffman and sequential lossy 8bits are supported

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

sudo apt-get -y install jpeginfo

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

You can also use apt command to install jpeginfo.

sudo apt -y install jpeginfo

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

sudo aptitude install jpeginfo

Summary

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