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

In this tutorial we learn how to install yum-plugin-verify.noarch in Amazon Linux 2. yum-plugin-verify.noarch is Yum plugin to add verify command, and options

Introduction

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

What is yum-plugin-verify.noarch

This plugin adds the commands verify, verify-all and verify-rpm. There are also a couple of options. This command works like rpm -V, to verify your installation.

We can use yum to install yum-plugin-verify.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-verify.noarch.

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

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

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

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

sudo yum remove yum-plugin-verify.noarch

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

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

References

Summary

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