How To Install perl-App-cpanminus on AlmaLinux 8

In this tutorial we learn how to install perl-App-cpanminus in AlmaLinux 8. perl-App-cpanminus is Get, unpack, build and install CPAN modules

Introduction

In this tutorial we learn how to install perl-App-cpanminus on AlmaLinux 8.

What is perl-App-cpanminus

Why? It’s dependency free, requires zero configuration, and stands alone but it’s maintainable and extensible with plug-ins and friendly to shell scripting. When running, it requires only 10 MB of RAM.

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

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

sudo dnf -y install perl-App-cpanminus

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

sudo yum -y install perl-App-cpanminus

How To Uninstall perl-App-cpanminus on AlmaLinux 8

To uninstall only the perl-App-cpanminus package we can use the following command:

sudo dnf remove perl-App-cpanminus

References

Summary

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