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

Last updated: May 06,2024

1. Install "diffstat.x86_64" package

This is a short guide on how to install diffstat.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install diffstat.x86_64

2. Uninstall "diffstat.x86_64" package

Please follow the guidance below to uninstall diffstat.x86_64 on Amazon Linux 2:

$ sudo yum remove diffstat.x86_64 $ sudo yum autoremove

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

Loaded plugins: ovl, priorities
Available Packages
Name : diffstat
Arch : x86_64
Version : 1.57
Release : 4.amzn2.0.2
Size : 35 k
Repo : amzn2-core/2/x86_64
Summary : A utility which provides statistics based on the output of diff
URL : http://invisible-island.net/diffstat
License : MIT
Description : The diff command compares files line by line. Diffstat reads the
: output of the diff command and displays a histogram of the
: insertions, deletions and modifications in each file. Diffstat is
: commonly used to provide a summary of the changes in large,
: complex patch files.
:
: Install diffstat if you need a program which provides a summary of
: the diff command's output.