How To Install perl-Archive-Zip on Rocky Linux 8

In this tutorial we learn how to install perl-Archive-Zip on Rocky Linux 8. perl-Archive-Zip is Perl library for accessing Zip archives

Introduction

In this tutorial we learn how to install perl-Archive-Zip on Rocky Linux 8.

What is perl-Archive-Zip

The Archive read, and write Zip archive files. Zip archives can be created, or you can read from existing zip files. Once created, they can be written to files, streams, or strings. Members can be added, removed, extracted, replaced, rearranged, and enumerated. They can also be renamed or have their dates, comments, or other attributes queried or modified. Their data can be compressed or uncompressed as needed. Members can be created from members in existing Zip files, or from existing directories, files, or strings.

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

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

sudo dnf -y install perl-Archive-Zip

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

sudo yum -y install perl-Archive-Zip

How To Uninstall perl-Archive-Zip on Rocky Linux 8

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

sudo dnf remove perl-Archive-Zip

perl-Archive-Zip Package Contents on Rocky Linux 8

/usr/bin/crc32
/usr/share/doc/perl-Archive-Zip
/usr/share/doc/perl-Archive-Zip/Changes
/usr/share/doc/perl-Archive-Zip/examples
/usr/share/doc/perl-Archive-Zip/examples/calcSizes.pl
/usr/share/doc/perl-Archive-Zip/examples/copy.pl
/usr/share/doc/perl-Archive-Zip/examples/extract.pl
/usr/share/doc/perl-Archive-Zip/examples/mailZip.pl
/usr/share/doc/perl-Archive-Zip/examples/mfh.pl
/usr/share/doc/perl-Archive-Zip/examples/readScalar.pl
/usr/share/doc/perl-Archive-Zip/examples/selfex.pl
/usr/share/doc/perl-Archive-Zip/examples/unzipAll.pl
/usr/share/doc/perl-Archive-Zip/examples/updateTree.pl
/usr/share/doc/perl-Archive-Zip/examples/updateZip.pl
/usr/share/doc/perl-Archive-Zip/examples/writeScalar.pl
/usr/share/doc/perl-Archive-Zip/examples/writeScalar2.pl
/usr/share/doc/perl-Archive-Zip/examples/zip.pl
/usr/share/doc/perl-Archive-Zip/examples/zipGrep.pl
/usr/share/doc/perl-Archive-Zip/examples/zipcheck.pl
/usr/share/doc/perl-Archive-Zip/examples/zipinfo.pl
/usr/share/doc/perl-Archive-Zip/examples/ziprecent.pl
/usr/share/doc/perl-Archive-Zip/examples/ziptest.pl
/usr/share/man/man3/Archive::Zip.3pm.gz
/usr/share/man/man3/Archive::Zip::FAQ.3pm.gz
/usr/share/man/man3/Archive::Zip::MemberRead.3pm.gz
/usr/share/man/man3/Archive::Zip::Tree.3pm.gz
/usr/share/perl5/vendor_perl/Archive
/usr/share/perl5/vendor_perl/Archive/Zip
/usr/share/perl5/vendor_perl/Archive/Zip.pm
/usr/share/perl5/vendor_perl/Archive/Zip/Archive.pm
/usr/share/perl5/vendor_perl/Archive/Zip/BufferedFileHandle.pm
/usr/share/perl5/vendor_perl/Archive/Zip/DirectoryMember.pm
/usr/share/perl5/vendor_perl/Archive/Zip/FAQ.pod
/usr/share/perl5/vendor_perl/Archive/Zip/FileMember.pm
/usr/share/perl5/vendor_perl/Archive/Zip/Member.pm
/usr/share/perl5/vendor_perl/Archive/Zip/MemberRead.pm
/usr/share/perl5/vendor_perl/Archive/Zip/MockFileHandle.pm
/usr/share/perl5/vendor_perl/Archive/Zip/NewFileMember.pm
/usr/share/perl5/vendor_perl/Archive/Zip/StringMember.pm
/usr/share/perl5/vendor_perl/Archive/Zip/Tree.pm
/usr/share/perl5/vendor_perl/Archive/Zip/ZipFileMember.pm

References

Summary

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