wdiff command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
wdiff: command not found
or when using sudo you get the following error message
sudo: wdiff: command not found
Solutions to wdiff: command not found
How To Fix wdiff: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu wdiff is provided by wdiff package.
wdiff is:
wdiff' is a front-end to GNU
diff’. It compares two files, finding which words have been deleted or added to the first in order to create the second. It has many output formats and interacts well with terminals and pagers (notably withless').
wdiff’ is particularly useful when two texts differ only by a few words and paragraphs have been refilled.
To fix this problem, we can install more using the command below.
sudo apt-get -y install wdiff
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install wdiff.
sudo apt -y install wdiff
Or if you have aptitude installed you can use the following command.
sudo aptitude install wdiff
Summary
In this tutorial we learn how to fix wdiff command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.