How To Install perl-IO-Compress on AlmaLinux 8

In this tutorial we learn how to install perl-IO-Compress in AlmaLinux 8. perl-IO-Compress is Read and write compressed data

Introduction

In this tutorial we learn how to install perl-IO-Compress on AlmaLinux 8.

What is perl-IO-Compress

This distribution provides a Perl interface to allow reading and writing of compressed data created with the zlib and bzip2 libraries. IO-Compress supports reading and writing of bzip2, RFC 1950, RFC 1951, RFC 1952 (i.e. gzip) and zip files/buffers. The following modules used to be distributed separately, but are now included with the IO-Compress distribution * Compress-Zlib * IO-Compress-Zlib * IO-Compress-Bzip2 * IO-Compress-Base

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

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

sudo dnf -y install perl-IO-Compress

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

sudo yum -y install perl-IO-Compress

How To Uninstall perl-IO-Compress on AlmaLinux 8

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

sudo dnf remove perl-IO-Compress

References

Summary

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