How To Install perl-Filter on CentOS 7

In this tutorial we learn how to install perl-Filter on CentOS 7. perl-Filter is Perl source filters

Introduction

In this tutorial we learn how to install perl-Filter on CentOS 7.

What is perl-Filter

Source filters alter the program text of a module before Perl sees it, much as a C preprocessor alters the source text of a C program before the compiler sees it.

We can use yum or dnf to install perl-Filter on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Filter.

Install perl-Filter on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install perl-Filter using yum by running the following command:

sudo yum -y install perl-Filter

Install perl-Filter 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 perl-Filter using dnf by running the following command:

sudo dnf -y install perl-Filter

How To Uninstall perl-Filter on CentOS 7

To uninstall only the perl-Filter package we can use the following command:

sudo dnf remove perl-Filter

References

Summary

In this tutorial we learn how to install perl-Filter on CentOS 7 using yum and dnf.