diffpdf command not found

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

Introduction

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

diffpdf: command not found

or when using sudo you get the following error message

sudo: diffpdf: command not found

Solutions to diffpdf: command not found

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

In Ubuntu diffpdf is provided by diffpdf package.

diffpdf is:

DiffPDF is used to compare two PDF files. By default the comparison is of the text on each pair of pages, but comparing the appearance of pages is also supported (for example, if a diagram is changed or a paragraph reformatted). It is also possible to compare particular pages or page ranges. For example, if there are two versions of a PDF file, one with pages 1-12 and the other with pages 1-13 because of an extra page having been added as page 4, they can be compared by specifying two page ranges, 1-12 for the first and 1-3, 5-13 for the second. This will make DiffPDF compare pages in the pairs (1, 1), (2, 2), (3, 3), (4, 5), (5, 6), and so on, to (12, 13).

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

sudo apt-get -y install diffpdf

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

You can also use apt command to install diffpdf.

sudo apt -y install diffpdf

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

sudo aptitude install diffpdf

Summary

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