How To Install arpack on Fedora 34

arpack is Fortran 77 subroutines for solving large scale eigenvalue problems Fortran 77 subroutines for solving large scale eigenvalue problems

Introduction

In this tutorial we learn how to install arpack on Fedora 34.

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 n2 floating point operations. This software is based upon an algorithmic variant of the Arnoldi process called the Implicitly Restarted Arnoldi Method (IRAM). arpack 3.8.0 1.fc34 x86_64 200 k arpack-3.8.0-1.fc34.src.rpm updates Fortran 77 subroutines for solving large scale eigenvalue problems https BSD 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 n2 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install arpack.

Install arpack on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install arpack using dnf by running the following command:

sudo dnf -y install arpack

Install arpack on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

To uninstall only the arpack package we can use the following command:

sudo dnf remove arpack

arpack Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/976f4f6e51c758ce0525057b1c1cb437810a65
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/26a257b81575255557d76af132f61ba2902472
/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
/usr/lib/.build-id
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/e95119cbe3288eec3ffbb046eac2d59842d05b
/usr/lib/.build-id/40
/usr/lib/.build-id/40/9009e42bb1c62f4cd4c3c27b7db4b6990ecdc4
/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
/usr/lib/.build-id
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/c04dee315d15cf3d2feee4199ebeeec20c13df
/usr/lib/libarpack.so.2
/usr/lib/libarpack.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
/usr/lib/.build-id
/usr/lib/.build-id/43
/usr/lib/.build-id/43/e1b62728a799d259f4f71a2e2f8f681e1b21a8
/usr/lib/libarpack.so.2
/usr/lib/libarpack.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 Fedora 34 using yum and dnf.