How To Install patchutils.x86_64 on Amazon Linux 2

In this tutorial we learn how to install patchutils.x86_64 in Amazon Linux 2. patchutils.x86_64 is A collection of programs for manipulating patch files

Introduction

In this tutorial we learn how to install patchutils.x86_64 on Amazon Linux 2.

What is patchutils.x86_64

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 to install patchutils.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install patchutils.x86_64.

Install patchutils.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install patchutils.x86_64

How To Uninstall patchutils.x86_64 on Amazon Linux 2

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

sudo yum remove patchutils.x86_64

patchutils.x86_64 Package Contents on Amazon Linux 2

/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/share/doc/patchutils-0.3.3
/usr/share/doc/patchutils-0.3.3/AUTHORS
/usr/share/doc/patchutils-0.3.3/BUGS
/usr/share/doc/patchutils-0.3.3/COPYING
/usr/share/doc/patchutils-0.3.3/ChangeLog
/usr/share/doc/patchutils-0.3.3/NEWS
/usr/share/doc/patchutils-0.3.3/README
/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.x86_64 on Amazon Linux 2 using yum.