How To Install yum-plugin-upgrade-helper on CentOS 7

In this tutorial we learn how to install yum-plugin-upgrade-helper on CentOS 7. yum-plugin-upgrade-helper is Yum plugin to help upgrades to the next distribution version

Introduction

In this tutorial we learn how to install yum-plugin-upgrade-helper on CentOS 7.

What is yum-plugin-upgrade-helper

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 or dnf to install yum-plugin-upgrade-helper on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install yum-plugin-upgrade-helper.

Install yum-plugin-upgrade-helper on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install yum-plugin-upgrade-helper using yum by running the following command:

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

Install yum-plugin-upgrade-helper on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install yum-plugin-upgrade-helper using dnf by running the following command:

sudo dnf -y install yum-plugin-upgrade-helper

How To Uninstall yum-plugin-upgrade-helper on CentOS 7

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

sudo dnf remove yum-plugin-upgrade-helper

References

Summary

In this tutorial we learn how to install yum-plugin-upgrade-helper on CentOS 7 using yum and dnf.