pkgdiff command not found

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

Introduction

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

pkgdiff: command not found

or when using sudo you get the following error message

sudo: pkgdiff: command not found

Solutions to pkgdiff: command not found

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

In Ubuntu pkgdiff is provided by pkgdiff package.

pkgdiff is:

Package changes analyzer is a tool for visualizing changes in Linux software packages (RPM, DEB, TAR.GZ, etc).

The tool is intended for Linux maintainers who are interested in ensuring compatibility of old and new versions of packages.

The tool generates HTML reports to visualize the changes between two packages.

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

sudo apt-get -y install pkgdiff

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

You can also use apt command to install pkgdiff.

sudo apt -y install pkgdiff

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

sudo aptitude install pkgdiff

Summary

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