How To Install arpack on AlmaLinux 8
Introduction
In this tutorial we learn how to install arpack on AlmaLinux 8.
What is arpack
ARPACK is a collection of Fortran 77 subroutines designed to solve large scale eigenvalue problems. The package is designed to compute a few eigenvalues and corresponding eigenvectors of a general n by n matrix A. It is most appropriate for large sparse or structured matrices A where structured means that a matrix-vector product w <- Av requires order n rather than the usual order n**2 floating point operations. This software is based upon an algorithmic variant of the Arnoldi process called the Implicitly Restarted Arnoldi Method (IRAM).
We can use yum or dnf to install arpack on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install arpack.
Install arpack 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 arpack using dnf by running the following command:
sudo dnf -y install arpack
Install arpack 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 arpack using yum by running the following command:
sudo yum -y install arpack
How To Uninstall arpack on AlmaLinux 8
To uninstall only the arpack package we can use the following command:
sudo dnf remove arpack
References
Summary
In this tutorial we learn how to install arpack on AlmaLinux 8 using yum and dnf.