How To Install perl-PDL on AlmaLinux 8

In this tutorial we learn how to install perl-PDL in AlmaLinux 8. perl-PDL is The Perl Data Language

Introduction

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

What is perl-PDL

PDL (“Perl Data Language”) gives standard Perl the ability to compactly store and speedily manipulate the large N-dimensional data arrays which are the bread and butter of scientific computing. PDL turns perl into a free, array-oriented, numerical language similar to such commercial packages as IDL and MatLab.

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

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

sudo dnf -y install perl-PDL

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

sudo yum -y install perl-PDL

How To Uninstall perl-PDL on AlmaLinux 8

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

sudo dnf remove perl-PDL

References

Summary

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