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

In this tutorial we learn how to install yum-plugin-show-leaves.noarch in Amazon Linux 2. yum-plugin-show-leaves.noarch is Yum plugin which shows newly installed leaf packages

Introduction

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

What is yum-plugin-show-leaves.noarch

Yum plugin which shows newly installed leaf packages and packages that became leaves after a transaction

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

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

sudo yum -y install yum-plugin-show-leaves.noarch

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

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

sudo yum remove yum-plugin-show-leaves.noarch

yum-plugin-show-leaves.noarch Package Contents on Amazon Linux 2

/etc/yum/pluginconf.d/show-leaves.conf
/usr/lib/yum-plugins/show-leaves.py
/usr/lib/yum-plugins/show-leaves.pyc
/usr/lib/yum-plugins/show-leaves.pyo
/usr/share/doc/yum-plugin-show-leaves-1.1.31
/usr/share/doc/yum-plugin-show-leaves-1.1.31/COPYING

References

Summary

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