How To Install perl-Filter on CentOS 8

perl-Filter is Perl source filters

Introduction

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

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 8. 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 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install perl-Filter

Install perl-Filter on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install perl-Filter

How To Uninstall perl-Filter on CentOS 8

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

sudo dnf remove perl-Filter

perl-Filter Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/38
/usr/lib/.build-id/38/ec0873a5018970adc6a9b8b59a9782e3934d26
/usr/lib/.build-id/77
/usr/lib/.build-id/77/9376e20fe5697d87827f515bffe02b213bc0e4
/usr/lib/.build-id/82
/usr/lib/.build-id/82/87adb3158dd0bdd79c91b2aa331540ed0f5e03
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/254d2bf71e6318c47c1bda720e37be6494518b
/usr/lib64/perl5/vendor_perl/Filter
/usr/lib64/perl5/vendor_perl/Filter/Util
/usr/lib64/perl5/vendor_perl/Filter/Util/Call.pm
/usr/lib64/perl5/vendor_perl/Filter/Util/Exec.pm
/usr/lib64/perl5/vendor_perl/Filter/Util/perlfilter.pod
/usr/lib64/perl5/vendor_perl/Filter/cpp.pm
/usr/lib64/perl5/vendor_perl/Filter/decrypt.pm
/usr/lib64/perl5/vendor_perl/Filter/exec.pm
/usr/lib64/perl5/vendor_perl/Filter/sh.pm
/usr/lib64/perl5/vendor_perl/Filter/tee.pm
/usr/lib64/perl5/vendor_perl/auto/Filter
/usr/lib64/perl5/vendor_perl/auto/Filter/Util
/usr/lib64/perl5/vendor_perl/auto/Filter/Util/Call
/usr/lib64/perl5/vendor_perl/auto/Filter/Util/Call/Call.so
/usr/lib64/perl5/vendor_perl/auto/Filter/Util/Exec
/usr/lib64/perl5/vendor_perl/auto/Filter/Util/Exec/Exec.so
/usr/lib64/perl5/vendor_perl/auto/Filter/decrypt
/usr/lib64/perl5/vendor_perl/auto/Filter/decrypt/decrypt.so
/usr/lib64/perl5/vendor_perl/auto/Filter/tee
/usr/lib64/perl5/vendor_perl/auto/Filter/tee/tee.so
/usr/share/doc/perl-Filter
/usr/share/doc/perl-Filter/Changes
/usr/share/doc/perl-Filter/README
/usr/share/doc/perl-Filter/examples
/usr/share/doc/perl-Filter/examples/closure
/usr/share/doc/perl-Filter/examples/closure/Count.pm
/usr/share/doc/perl-Filter/examples/closure/Decompress.pm
/usr/share/doc/perl-Filter/examples/closure/Include.pm
/usr/share/doc/perl-Filter/examples/closure/Joe2Jim.pm
/usr/share/doc/perl-Filter/examples/closure/NewSubst.pm
/usr/share/doc/perl-Filter/examples/closure/Subst.pm
/usr/share/doc/perl-Filter/examples/closure/UUdecode.pm
/usr/share/doc/perl-Filter/examples/filtdef
/usr/share/doc/perl-Filter/examples/filtuu
/usr/share/doc/perl-Filter/examples/method
/usr/share/doc/perl-Filter/examples/method/Count.pm
/usr/share/doc/perl-Filter/examples/method/Decompress.pm
/usr/share/doc/perl-Filter/examples/method/Joe2Jim.pm
/usr/share/doc/perl-Filter/examples/method/NewSubst.pm
/usr/share/doc/perl-Filter/examples/method/Subst.pm
/usr/share/doc/perl-Filter/examples/method/UUdecode.pm
/usr/share/man/man3/Filter::Util::Call.3pm.gz
/usr/share/man/man3/Filter::Util::Exec.3pm.gz
/usr/share/man/man3/Filter::Util::perlfilter.3pm.gz
/usr/share/man/man3/Filter::cpp.3pm.gz
/usr/share/man/man3/Filter::decrypt.3pm.gz
/usr/share/man/man3/Filter::exec.3pm.gz
/usr/share/man/man3/Filter::sh.3pm.gz
/usr/share/man/man3/Filter::tee.3pm.gz

References

Summary

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