uprightdiff command not found

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

Introduction

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

uprightdiff: command not found

or when using sudo you get the following error message

sudo: uprightdiff: command not found

Solutions to uprightdiff: command not found

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

In Ubuntu uprightdiff is provided by uprightdiff package.

uprightdiff is:

This utility examines the differences between two images. It produces a visual annotation and reports statistics.

It is optimised for images which come from browser screenshots. It analyses the image for vertical motion, and annotates connected regions that have the same vertical displacement. Then it highlights any remaining (“residual”) differences which are not explained by vertical motion on a pixel-by-pixel basis.

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

sudo apt-get -y install uprightdiff

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

You can also use apt command to install uprightdiff.

sudo apt -y install uprightdiff

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

sudo aptitude install uprightdiff

Summary

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