How To Install perl-IO-Capture on Rocky Linux 8

In this tutorial we learn how to install perl-IO-Capture on Rocky Linux 8. perl-IO-Capture is Abstract Base Class to build modules to capture output

Introduction

In this tutorial we learn how to install perl-IO-Capture on Rocky Linux 8.

What is perl-IO-Capture

The IO to create any number of useful sub-classes that capture output being sent on a filehandle such as STDOUT or STDERR.

We can use yum or dnf to install perl-IO-Capture on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-IO-Capture.

Install perl-IO-Capture on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install perl-IO-Capture

Install perl-IO-Capture on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install perl-IO-Capture

How To Uninstall perl-IO-Capture on Rocky Linux 8

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

sudo dnf remove perl-IO-Capture

perl-IO-Capture Package Contents on Rocky Linux 8

/usr/share/doc/perl-IO-Capture
/usr/share/doc/perl-IO-Capture/BUGS
/usr/share/doc/perl-IO-Capture/Changes
/usr/share/doc/perl-IO-Capture/README
/usr/share/man/man3/IO::Capture.3pm.gz
/usr/share/man/man3/IO::Capture::Overview.3pm.gz
/usr/share/man/man3/IO::Capture::Stderr.3pm.gz
/usr/share/man/man3/IO::Capture::Stdout.3pm.gz
/usr/share/man/man3/IO::Capture::Tie_STDx.3pm.gz
/usr/share/perl5/vendor_perl/IO
/usr/share/perl5/vendor_perl/IO/Capture
/usr/share/perl5/vendor_perl/IO/Capture.pm
/usr/share/perl5/vendor_perl/IO/Capture/Overview.pod
/usr/share/perl5/vendor_perl/IO/Capture/Stderr.pm
/usr/share/perl5/vendor_perl/IO/Capture/Stdout.pm
/usr/share/perl5/vendor_perl/IO/Capture/Tie_STDx.pm

References

Summary

In this tutorial we learn how to install perl-IO-Capture on Rocky Linux 8 using yum and dnf.