rfcdiff command not found

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

Introduction

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

rfcdiff: command not found

or when using sudo you get the following error message

sudo: rfcdiff: command not found

Solutions to rfcdiff: command not found

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

In Ubuntu rfcdiff is provided by rfcdiff package.

rfcdiff is:

The purpose of this program is to compare two versions of an internet-draft, and as output produce a diff in one of several formats:

  • side-by-side html diff
  • paged wdiff output in a text terminal
  • a text file with changebars in the left margin
  • a simple unified diff output

It can also be used to compare ordinary (non-rfc) text files.

In all cases, internet-draft headers and footers are stripped before generating the diff, to produce a cleaner diff.

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

sudo apt-get -y install rfcdiff

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

You can also use apt command to install rfcdiff.

sudo apt -y install rfcdiff

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

sudo aptitude install rfcdiff

Summary

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