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

In this tutorial we learn how to install yum-plugin-merge-conf.noarch in Amazon Linux 2. yum-plugin-merge-conf.noarch is Yum plugin to merge configuration changes when installing packages

Introduction

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

What is yum-plugin-merge-conf.noarch

This yum plugin adds the “–merge-conf” command line option. With this option, Yum will ask you what to do with config files which have changed on updating a package.

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

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

sudo yum -y install yum-plugin-merge-conf.noarch

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

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

sudo yum remove yum-plugin-merge-conf.noarch

yum-plugin-merge-conf.noarch Package Contents on Amazon Linux 2

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

References

Summary

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