How To Install perl-Archive-Any-Lite on CentOS 7

In this tutorial we learn how to install perl-Archive-Any-Lite on CentOS 7. perl-Archive-Any-Lite is Simple CPAN package extractor

Introduction

In this tutorial we learn how to install perl-Archive-Any-Lite on CentOS 7.

What is perl-Archive-Any-Lite

This is a fork of Archive The main difference is that this works properly even when you fork(), and may require less memory to extract a tarball. On the other hand, this isn’t pluggable (it only supports file formats used in the CPAN toolchains), and it doesn’t check MIME types.

We can use yum or dnf to install perl-Archive-Any-Lite on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Archive-Any-Lite.

Install perl-Archive-Any-Lite on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install perl-Archive-Any-Lite using yum by running the following command:

sudo yum -y install perl-Archive-Any-Lite

Install perl-Archive-Any-Lite on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install perl-Archive-Any-Lite using dnf by running the following command:

sudo dnf -y install perl-Archive-Any-Lite

How To Uninstall perl-Archive-Any-Lite on CentOS 7

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

sudo dnf remove perl-Archive-Any-Lite

References

Summary

In this tutorial we learn how to install perl-Archive-Any-Lite on CentOS 7 using yum and dnf.