How To Install fftw2 on Rocky Linux 8

In this tutorial we learn how to install fftw2 on Rocky Linux 8. fftw2 is Fast Fourier Transform library (version 2)

Introduction

In this tutorial we learn how to install fftw2 on Rocky Linux 8.

What is fftw2

FFTW is a C subroutine library for computing the Discrete Fourier Transform (DFT) in one or more dimensions, of both real and complex data, and of arbitrary input size. We believe that FFTW, which is free software, should become the FFT library of choice for most applications. Our benchmarks, performed on on a variety of platforms, show that FFTW’s performance is typically superior to that of other publicly available FFT software.

We can use yum or dnf to install fftw2 on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install fftw2.

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

sudo dnf -y install fftw2

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

sudo yum -y install fftw2

How To Uninstall fftw2 on Rocky Linux 8

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

sudo dnf remove fftw2

fftw2 Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/12
/usr/lib/.build-id/12/fee7827576f487abf94e70dea02a5d52845dad
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/1e7efee3179a26c8b498ebcc9b3136b6f5cd36
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/9f2467bd7fad4d7f4db018709e9037ce01fa25
/usr/lib/.build-id/68
/usr/lib/.build-id/68/5c074e4628b23541a3a3c65efd8c2dd62a38fc
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/52b474ae38de9ed780c2daa72d47e40222c1be
/usr/lib/.build-id/79
/usr/lib/.build-id/79/ef9d69392e5d83b5c2f9887ee45bcb32eb0874
/usr/lib/.build-id/80
/usr/lib/.build-id/80/6aa32dc91119bddf3bd29b333f2a750950663d
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/929488400d7f95b455d263b12981ed90cecbec
/usr/lib64/libfftw.so.2
/usr/lib64/libfftw.so.2.0.7
/usr/lib64/libfftw_threads.so.2
/usr/lib64/libfftw_threads.so.2.0.7
/usr/lib64/librfftw.so.2
/usr/lib64/librfftw.so.2.0.7
/usr/lib64/librfftw_threads.so.2
/usr/lib64/librfftw_threads.so.2.0.7
/usr/lib64/libsfftw.so.2
/usr/lib64/libsfftw.so.2.0.7
/usr/lib64/libsfftw_threads.so.2
/usr/lib64/libsfftw_threads.so.2.0.7
/usr/lib64/libsrfftw.so.2
/usr/lib64/libsrfftw.so.2.0.7
/usr/lib64/libsrfftw_threads.so.2
/usr/lib64/libsrfftw_threads.so.2.0.7
/usr/share/doc/fftw2
/usr/share/doc/fftw2/AUTHORS
/usr/share/doc/fftw2/COPYRIGHT
/usr/share/doc/fftw2/ChangeLog
/usr/share/doc/fftw2/NEWS
/usr/share/doc/fftw2/README
/usr/share/doc/fftw2/README.hacks
/usr/share/doc/fftw2/TODO
/usr/share/licenses/fftw2
/usr/share/licenses/fftw2/COPYING

References

Summary

In this tutorial we learn how to install fftw2 on Rocky Linux 8 using yum and dnf.