docdiff command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
docdiff: command not found
or when using sudo you get the following error message
sudo: docdiff: command not found
Solutions to docdiff: command not found
How To Fix docdiff: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu docdiff is provided by docdiff package.
docdiff is:
DocDiff compares two files and shows the difference. It can compare files word by word, char by char, or line by line.
It has several output formats such as HTML/XHTML, tty, Manued, or user-defined markup. It supports several encodings and end-of-line characters, including ASCII, UTF-8, EUC-JP, Shift_JIS, CR, LF, and CRLF.
To fix this problem, we can install more using the command below.
sudo apt-get -y install docdiff
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install docdiff.
sudo apt -y install docdiff
Or if you have aptitude installed you can use the following command.
sudo aptitude install docdiff
Summary
In this tutorial we learn how to fix docdiff command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.