apgdiff command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
apgdiff: command not found
or when using sudo you get the following error message
sudo: apgdiff: command not found
Solutions to apgdiff: command not found
How To Fix apgdiff: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu apgdiff is provided by apgdiff package.
apgdiff is:
Another PostgreSQL Diff Tool is a simple PostgreSQL diff tool that is useful for schema upgrades. The tool compares two schema dump files and creates an SQL output file that is (after some hand-made modifications) suitable for upgrades of old schemata.
To fix this problem, we can install more using the command below.
sudo apt-get -y install apgdiff
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install apgdiff.
sudo apt -y install apgdiff
Or if you have aptitude installed you can use the following command.
sudo aptitude install apgdiff
Summary
In this tutorial we learn how to fix apgdiff command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.