How To Install perl-Archive-Zip on AlmaLinux 8

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

Introduction

In this tutorial we learn how to install perl-Archive-Zip on AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove perl-Archive-Zip

References

Summary

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