rdiff command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
rdiff: command not found
or when using sudo you get the following error message
sudo: rdiff: command not found
Solutions to rdiff: command not found
How To Fix rdiff: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu rdiff is provided by rdiff package.
rdiff is:
rdiff is a little like diff and patch all rolled into one, with support for binary files. Since it takes advantage of the rsync remote-delta algorithm, you do not need the source file in the same place as your destination file.
To use it, you generate a “signature” of the original file and copy the signature (which is very small) to the same location as the modified file. Then you generate a “delta” which describes the changes required to turn the source file into the modified file. The small delta file can then be used to “patch” the original file, to transform it into the modified file.
To fix this problem, we can install more using the command below.
sudo apt-get -y install rdiff
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install rdiff.
sudo apt -y install rdiff
Or if you have aptitude installed you can use the following command.
sudo aptitude install rdiff
Summary
In this tutorial we learn how to fix rdiff command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.