How To Install patchutils on Rocky Linux 8

In this tutorial we learn how to install patchutils on Rocky Linux 8. patchutils is A collection of programs for manipulating patch files

Introduction

In this tutorial we learn how to install patchutils on Rocky Linux 8.

What is patchutils

This is a collection of programs that can manipulate patch files in a variety of ways, such as interpolating between two pre-patches, combining two incremental patches, fixing line numbers in hand-edited patches, and simply listing the files modified by a patch.

We can use yum or dnf to install patchutils on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install patchutils.

Install patchutils on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install patchutils

Install patchutils on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install patchutils

How To Uninstall patchutils on Rocky Linux 8

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

sudo dnf remove patchutils

patchutils Package Contents on Rocky Linux 8

/usr/bin/combinediff
/usr/bin/dehtmldiff
/usr/bin/editdiff
/usr/bin/espdiff
/usr/bin/filterdiff
/usr/bin/fixcvsdiff
/usr/bin/flipdiff
/usr/bin/grepdiff
/usr/bin/interdiff
/usr/bin/lsdiff
/usr/bin/recountdiff
/usr/bin/rediff
/usr/bin/splitdiff
/usr/bin/unwrapdiff
/usr/lib/.build-id
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/27ce8456f9f5eab08258a76b1b22015feae1e9
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/e595d87332f4bcee487b33b50b36af537ce70f
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/6d46db35a4e1aff5fbb5d23427be565bf7e759
/usr/share/doc/patchutils
/usr/share/doc/patchutils/AUTHORS
/usr/share/doc/patchutils/BUGS
/usr/share/doc/patchutils/ChangeLog
/usr/share/doc/patchutils/NEWS
/usr/share/doc/patchutils/README
/usr/share/licenses/patchutils
/usr/share/licenses/patchutils/COPYING
/usr/share/man/man1/combinediff.1.gz
/usr/share/man/man1/dehtmldiff.1.gz
/usr/share/man/man1/editdiff.1.gz
/usr/share/man/man1/espdiff.1.gz
/usr/share/man/man1/filterdiff.1.gz
/usr/share/man/man1/fixcvsdiff.1.gz
/usr/share/man/man1/flipdiff.1.gz
/usr/share/man/man1/grepdiff.1.gz
/usr/share/man/man1/interdiff.1.gz
/usr/share/man/man1/lsdiff.1.gz
/usr/share/man/man1/recountdiff.1.gz
/usr/share/man/man1/rediff.1.gz
/usr/share/man/man1/splitdiff.1.gz
/usr/share/man/man1/unwrapdiff.1.gz

References

Summary

In this tutorial we learn how to install patchutils on Rocky Linux 8 using yum and dnf.