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

In this tutorial we learn how to install yum-plugin-filter-data.noarch in Amazon Linux 2. yum-plugin-filter-data.noarch is Yum plugin to list filter based on package data

Introduction

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

What is yum-plugin-filter-data.noarch

This plugin adds the options –filter- vendors, groups, packagers, licenses, arches, committers, buildhosts, baseurls, package-sizes, archive-sizes and installed-sizes. Note that each package must match at least one pattern/range in each category, if any were specified.

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

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

sudo yum -y install yum-plugin-filter-data.noarch

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

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

sudo yum remove yum-plugin-filter-data.noarch

yum-plugin-filter-data.noarch Package Contents on Amazon Linux 2

/etc/yum/pluginconf.d/filter-data.conf
/usr/lib/yum-plugins/filter-data.py
/usr/lib/yum-plugins/filter-data.pyc
/usr/lib/yum-plugins/filter-data.pyo
/usr/share/doc/yum-plugin-filter-data-1.1.31
/usr/share/doc/yum-plugin-filter-data-1.1.31/COPYING
/usr/share/man/man1/yum-filter-data.1.gz

References

Summary

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