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

In this tutorial we learn how to install yum-plugin-upgrade-helper.noarch in Amazon Linux 2. yum-plugin-upgrade-helper.noarch is Yum plugin to help upgrades to the next distribution version

Introduction

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

What is yum-plugin-upgrade-helper.noarch

this plugin allows yum to erase specific packages on install/update based on an additional metadata file in repositories. It is used to simplify distribution upgrade hangups.

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

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

sudo yum -y install yum-plugin-upgrade-helper.noarch

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

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

sudo yum remove yum-plugin-upgrade-helper.noarch

yum-plugin-upgrade-helper.noarch Package Contents on Amazon Linux 2

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

References

Summary

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