How To Install yum-plugin-changelog.noarch on Amazon Linux 2

In this tutorial we learn how to install yum-plugin-changelog.noarch in Amazon Linux 2. yum-plugin-changelog.noarch is Yum plugin for viewing package changelogs before/after updating

Introduction

In this tutorial we learn how to install yum-plugin-changelog.noarch on Amazon Linux 2.

What is yum-plugin-changelog.noarch

This plugin adds a command line option to allow viewing package changelog deltas before or after updating packages.

We can use yum to install yum-plugin-changelog.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install yum-plugin-changelog.noarch.

Install yum-plugin-changelog.noarch 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 yum-plugin-changelog.noarch using yum by running the following command:

sudo yum -y install yum-plugin-changelog.noarch

How To Uninstall yum-plugin-changelog.noarch on Amazon Linux 2

To uninstall only the yum-plugin-changelog.noarch package we can use the following command:

sudo yum remove yum-plugin-changelog.noarch

yum-plugin-changelog.noarch Package Contents on Amazon Linux 2

/etc/yum/pluginconf.d/changelog.conf
/usr/lib/yum-plugins/changelog.py
/usr/lib/yum-plugins/changelog.pyc
/usr/lib/yum-plugins/changelog.pyo
/usr/share/doc/yum-plugin-changelog-1.1.31
/usr/share/doc/yum-plugin-changelog-1.1.31/COPYING
/usr/share/man/man1/yum-changelog.1.gz
/usr/share/man/man5/yum-changelog.conf.5.gz

References

Summary

In this tutorial we learn how to install yum-plugin-changelog.noarch on Amazon Linux 2 using yum.