jpegjudge command not found

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

Introduction

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

jpegjudge: command not found

or when using sudo you get the following error message

sudo: jpegjudge: command not found

Solutions to jpegjudge: command not found

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

In Ubuntu jpegjudge is provided by jpegjudge package.

jpegjudge is:

Try to determine which same picture was saved at a higher quality, even if the picture was saved at low quality and later at a higher quality.

By a statistical analysis over the quantization table stored in a jpeg one could probably deduce the quality which the picture was saved (i.e. this particular save), but it in no way says anything about the picture quality itself (i.e. whether it has ever been saved at lower quality before since its creation). For example, one might have saved a jpeg picture at low quality, and later saved at a higher quality, yet the information lost during the first save can’t be restored.

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

sudo apt-get -y install jpegjudge

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

You can also use apt command to install jpegjudge.

sudo apt -y install jpegjudge

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

sudo aptitude install jpegjudge

Summary

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