How To Install perl-Archive-Zip.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-Archive-Zip.noarch in Amazon Linux 2. perl-Archive-Zip.noarch is Perl library for accessing Zip archives

Introduction

In this tutorial we learn how to install perl-Archive-Zip.noarch on Amazon Linux 2.

What is perl-Archive-Zip.noarch

The Archive manipulate, 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 to install perl-Archive-Zip.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Archive-Zip.noarch.

Install perl-Archive-Zip.noarch on Amazon Linux 2 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.noarch using yum by running the following command:

sudo yum -y install perl-Archive-Zip.noarch

How To Uninstall perl-Archive-Zip.noarch on Amazon Linux 2

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

sudo yum remove perl-Archive-Zip.noarch

perl-Archive-Zip.noarch Package Contents on Amazon Linux 2

/usr/bin/crc32
/usr/share/doc/perl-Archive-Zip-1.30
/usr/share/doc/perl-Archive-Zip-1.30/Changes
/usr/share/doc/perl-Archive-Zip-1.30/LICENSE
/usr/share/doc/perl-Archive-Zip-1.30/README
/usr/share/doc/perl-Archive-Zip-1.30/examples
/usr/share/doc/perl-Archive-Zip-1.30/examples/calcSizes.pl
/usr/share/doc/perl-Archive-Zip-1.30/examples/copy.pl
/usr/share/doc/perl-Archive-Zip-1.30/examples/extract.pl
/usr/share/doc/perl-Archive-Zip-1.30/examples/mailZip.pl
/usr/share/doc/perl-Archive-Zip-1.30/examples/mfh.pl
/usr/share/doc/perl-Archive-Zip-1.30/examples/readScalar.pl
/usr/share/doc/perl-Archive-Zip-1.30/examples/selfex.pl
/usr/share/doc/perl-Archive-Zip-1.30/examples/unzipAll.pl
/usr/share/doc/perl-Archive-Zip-1.30/examples/updateTree.pl
/usr/share/doc/perl-Archive-Zip-1.30/examples/updateZip.pl
/usr/share/doc/perl-Archive-Zip-1.30/examples/writeScalar.pl
/usr/share/doc/perl-Archive-Zip-1.30/examples/writeScalar2.pl
/usr/share/doc/perl-Archive-Zip-1.30/examples/zip.pl
/usr/share/doc/perl-Archive-Zip-1.30/examples/zipGrep.pl
/usr/share/doc/perl-Archive-Zip-1.30/examples/zipcheck.pl
/usr/share/doc/perl-Archive-Zip-1.30/examples/zipinfo.pl
/usr/share/doc/perl-Archive-Zip-1.30/examples/ziprecent.pl
/usr/share/doc/perl-Archive-Zip-1.30/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.noarch on Amazon Linux 2 using yum.