How To Install perl-PerlIO-gzip on Rocky Linux 8

In this tutorial we learn how to install perl-PerlIO-gzip on Rocky Linux 8. perl-PerlIO-gzip is Perl extension to provide a PerlIO layer to gzip/gunzip

Introduction

In this tutorial we learn how to install perl-PerlIO-gzip on Rocky Linux 8.

What is perl-PerlIO-gzip

PerlIO used by the gzip program. Compression and decompression are implemented. This is akin to Compress layer.

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

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

sudo dnf -y install perl-PerlIO-gzip

Install perl-PerlIO-gzip 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-PerlIO-gzip using yum by running the following command:

sudo yum -y install perl-PerlIO-gzip

How To Uninstall perl-PerlIO-gzip on Rocky Linux 8

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

sudo dnf remove perl-PerlIO-gzip

perl-PerlIO-gzip Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/5443835ce010a1909acc6d9447e3c990e43e5a
/usr/lib64/perl5/vendor_perl/PerlIO
/usr/lib64/perl5/vendor_perl/PerlIO/gzip.pm
/usr/lib64/perl5/vendor_perl/auto/PerlIO
/usr/lib64/perl5/vendor_perl/auto/PerlIO/gzip
/usr/lib64/perl5/vendor_perl/auto/PerlIO/gzip/gzip.so
/usr/share/doc/perl-PerlIO-gzip
/usr/share/doc/perl-PerlIO-gzip/Changes
/usr/share/doc/perl-PerlIO-gzip/README
/usr/share/man/man3/PerlIO::gzip.3pm.gz

References

Summary

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