How To Install arpack on Rocky Linux 8
Introduction
In this tutorial we learn how to install arpack on Rocky Linux 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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install arpack.
Install arpack on Rocky Linux 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 Rocky Linux 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 Rocky Linux 8
To uninstall only the arpack package we can use the following command:
sudo dnf remove arpack
arpack Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/12
/usr/lib/.build-id/12/3e021eacb0c7ec2a02205606defe68e798955d
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/4802473df5739003aac76e70daf7df783f9097
/usr/lib64/libarpack.so.2
/usr/lib64/libarpack.so.2.1.0
/usr/lib64/libarpack64_.so.2
/usr/lib64/libarpack64_.so.2.1.0
/usr/share/doc/arpack
/usr/share/doc/arpack/CHANGES
/usr/share/doc/arpack/README.md
/usr/share/licenses/arpack
/usr/share/licenses/arpack/COPYING
References
Summary
In this tutorial we learn how to install arpack on Rocky Linux 8 using yum and dnf.