How To Install yum-plugin-post-transaction-actions.noarch on Amazon Linux 2

In this tutorial we learn how to install yum-plugin-post-transaction-actions.noarch in Amazon Linux 2. yum-plugin-post-transaction-actions.noarch is Yum plugin to run arbitrary commands when certain pkgs are acted

Introduction

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

What is yum-plugin-post-transaction-actions.noarch

This plugin allows the user to run arbitrary actions immediately following a transaction when specified packages are changed.

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

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

sudo yum -y install yum-plugin-post-transaction-actions.noarch

How To Uninstall yum-plugin-post-transaction-actions.noarch on Amazon Linux 2

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

sudo yum remove yum-plugin-post-transaction-actions.noarch

yum-plugin-post-transaction-actions.noarch Package Contents on Amazon Linux 2

/etc/yum/pluginconf.d/post-transaction-actions.conf
/etc/yum/post-actions
/usr/lib/yum-plugins/post-transaction-actions.py
/usr/lib/yum-plugins/post-transaction-actions.pyc
/usr/lib/yum-plugins/post-transaction-actions.pyo
/usr/share/doc/yum-plugin-post-transaction-actions-1.1.31
/usr/share/doc/yum-plugin-post-transaction-actions-1.1.31/COPYING
/usr/share/doc/yum-plugin-post-transaction-actions-1.1.31/sample.action

References

Summary

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