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

In this tutorial we learn how to install yum-plugin-copr.noarch in Amazon Linux 2. yum-plugin-copr.noarch is Yum plugin to add copr command

Introduction

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

What is yum-plugin-copr.noarch

This plugin adds the command copr, for adding/listing/searching copr repos.

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

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

sudo yum -y install yum-plugin-copr.noarch

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

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

sudo yum remove yum-plugin-copr.noarch

yum-plugin-copr.noarch Package Contents on Amazon Linux 2

/etc/yum/pluginconf.d/copr.conf
/usr/lib/yum-plugins/copr.py
/usr/lib/yum-plugins/copr.pyc
/usr/lib/yum-plugins/copr.pyo
/usr/share/doc/yum-plugin-copr-1.1.31
/usr/share/doc/yum-plugin-copr-1.1.31/COPYING
/usr/share/man/man8/yum-copr.8.gz

References

Summary

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