dwdiff command not found

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

Introduction

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

dwdiff: command not found

or when using sudo you get the following error message

sudo: dwdiff: command not found

Solutions to dwdiff: command not found

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

In Ubuntu dwdiff is provided by dwdiff package.

dwdiff is:

dwdiff is a diff program that operates at the word level instead of the line level. It is different from wdiff in that it allows the user to specify what should be considered whitespace, and in that it takes an optional list of characters that should be considered delimiters. Delimiters are single characters that are treated as if they are words, even when there is no whitespace separating them from preceding words or delimiters. dwdiff is mostly commandline compatible with wdiff. Only the –autopager, –terminal and –avoid-wraps options are not supported.

The default output from dwdiff is the new text, with the deleted and inserted parts annotated with markers. Command line options are available to change both what is printed, and the markers.

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

sudo apt-get -y install dwdiff

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

You can also use apt command to install dwdiff.

sudo apt -y install dwdiff

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

sudo aptitude install dwdiff

Summary

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