How To Install yum-plugin-protectbase.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install yum-plugin-protectbase.noarch on Amazon Linux 2.
What is yum-plugin-protectbase.noarch
This plugin allows certain repositories to be protected. Packages in the protected repositories can’t be overridden by packages in non-protected repositories even if the non-protected repo has a later version.
We can use yum to install yum-plugin-protectbase.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-protectbase.noarch.
Install yum-plugin-protectbase.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-protectbase.noarch using yum by running the following command:
sudo yum -y install yum-plugin-protectbase.noarch
How To Uninstall yum-plugin-protectbase.noarch on Amazon Linux 2
To uninstall only the yum-plugin-protectbase.noarch package we can use the following command:
sudo yum remove yum-plugin-protectbase.noarch
yum-plugin-protectbase.noarch Package Contents on Amazon Linux 2
/etc/yum/pluginconf.d/protectbase.conf
/usr/lib/yum-plugins/protectbase.py
/usr/lib/yum-plugins/protectbase.pyc
/usr/lib/yum-plugins/protectbase.pyo
/usr/share/doc/yum-plugin-protectbase-1.1.31
/usr/share/doc/yum-plugin-protectbase-1.1.31/COPYING
References
Summary
In this tutorial we learn how to install yum-plugin-protectbase.noarch on Amazon Linux 2 using yum.