How To Install perl-PDL on CentOS 7
Introduction
In this tutorial we learn how to install perl-PDL
on CentOS 7.
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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-PDL.
Install perl-PDL 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-PDL
using yum
by running the following command:
sudo yum -y install perl-PDL
Install perl-PDL 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-PDL
using dnf
by running the following command:
sudo dnf -y install perl-PDL
How To Uninstall perl-PDL on CentOS 7
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 CentOS 7 using yum
and dnf
.