How To Install rfcdiff on CentOS 7

In this tutorial we learn how to install rfcdiff on CentOS 7. rfcdiff is Compares two internet draft files and outputs the difference

Introduction

In this tutorial we learn how to install rfcdiff on CentOS 7.

What is rfcdiff

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 In all cases, internet-draft headers and footers are stripped before generating the diff, to produce a cleaner diff.

We can use yum or dnf to install rfcdiff on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install rfcdiff.

Install rfcdiff on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install rfcdiff using yum by running the following command:

sudo yum -y install rfcdiff

Install rfcdiff on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install rfcdiff using dnf by running the following command:

sudo dnf -y install rfcdiff

How To Uninstall rfcdiff on CentOS 7

To uninstall only the rfcdiff package we can use the following command:

sudo dnf remove rfcdiff

References

Summary

In this tutorial we learn how to install rfcdiff on CentOS 7 using yum and dnf.