puzzle-diff command not found

In this troubleshooting guide we learn how to fix puzzle-diff command not found error message

Introduction

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

puzzle-diff: command not found

or when using sudo you get the following error message

sudo: puzzle-diff: command not found

Solutions to puzzle-diff: command not found

How To Fix puzzle-diff: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu puzzle-diff is provided by libpuzzle-bin package.

libpuzzle-bin is:

The Puzzle library is designed to quickly find visually similar images (GIF, PNG, JPG), even if they have been resized, recompressed, recolored or slightly modified.

This package contains the command-line tool: puzzle-diff.

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

sudo apt-get -y install libpuzzle-bin

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

You can also use apt command to install libpuzzle-bin.

sudo apt -y install libpuzzle-bin

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

sudo aptitude install libpuzzle-bin

Summary

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