How to Install and Uninstall diffutils.x86_64 Package on Amazon Linux 2

Last updated: May 18,2024

1. Install "diffutils.x86_64" package

This tutorial shows how to install diffutils.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install diffutils.x86_64

2. Uninstall "diffutils.x86_64" package

In this section, we are going to explain the necessary steps to uninstall diffutils.x86_64 on Amazon Linux 2:

$ sudo yum remove diffutils.x86_64 $ sudo yum autoremove

3. Information about the diffutils.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Installed Packages
Name : diffutils
Arch : x86_64
Version : 3.3
Release : 5.amzn2
Size : 1.0 M
Repo : installed
Summary : A GNU collection of diff utilities
URL : http://www.gnu.org/software/diffutils/diffutils.html
License : GPLv3+
Description : Diffutils includes four utilities: diff, cmp, diff3 and sdiff.
: Diff compares two files and shows the differences, line by line.
: The cmp command shows the offset and line numbers where two files
: differ, or cmp can show the characters that differ between the two
: files. The diff3 command shows the differences between three
: files. Diff3 can be used when two people have made independent
: changes to a common original; diff3 can produce a merged file that
: contains both sets of changes and warnings about conflicts. The
: sdiff command can be used to merge two files interactively.
:
: Install diffutils if you need to compare text files.