How To Install fftw2-devel on CentOS 8

fftw2-devel is Headers, libraries and docs for the FFTW library (version 2)

Introduction

In this tutorial we learn how to install fftw2-devel on CentOS 8.

What is fftw2-devel

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. This package contains header files and development libraries needed to develop programs using the FFTW fast Fourier transform library version 2.

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

Install fftw2-devel on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install fftw2-devel

Install fftw2-devel on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install fftw2-devel using yum by running the following command:

sudo yum -y install fftw2-devel

How To Uninstall fftw2-devel on CentOS 8

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

sudo dnf remove fftw2-devel

fftw2-devel Package Contents on CentOS 8

/usr/include/fftw.h
/usr/include/fftw_threads.h
/usr/include/rfftw.h
/usr/include/rfftw_threads.h
/usr/include/sfftw.h
/usr/include/sfftw_threads.h
/usr/include/srfftw.h
/usr/include/srfftw_threads.h
/usr/lib64/libfftw.so
/usr/lib64/libfftw_threads.so
/usr/lib64/librfftw.so
/usr/lib64/librfftw_threads.so
/usr/lib64/libsfftw.so
/usr/lib64/libsfftw_threads.so
/usr/lib64/libsrfftw.so
/usr/lib64/libsrfftw_threads.so
/usr/share/doc/fftw2-devel
/usr/share/doc/fftw2-devel/doc
/usr/share/doc/fftw2-devel/doc/equation-1.gif
/usr/share/doc/fftw2-devel/doc/equation-2.gif
/usr/share/doc/fftw2-devel/doc/equation-3.gif
/usr/share/doc/fftw2-devel/doc/equation-4.gif
/usr/share/doc/fftw2-devel/doc/fftw.info
/usr/share/doc/fftw2-devel/doc/fftw.info-1
/usr/share/doc/fftw2-devel/doc/fftw.info-2
/usr/share/doc/fftw2-devel/doc/fftw.info-3
/usr/share/doc/fftw2-devel/doc/fftw.info-4
/usr/share/doc/fftw2-devel/doc/fftw.info-5
/usr/share/doc/fftw2-devel/doc/fftw.ps
/usr/share/doc/fftw2-devel/doc/fftw.texi
/usr/share/doc/fftw2-devel/doc/fftw_1.html
/usr/share/doc/fftw2-devel/doc/fftw_10.html
/usr/share/doc/fftw2-devel/doc/fftw_2.html
/usr/share/doc/fftw2-devel/doc/fftw_3.html
/usr/share/doc/fftw2-devel/doc/fftw_4.html
/usr/share/doc/fftw2-devel/doc/fftw_5.html
/usr/share/doc/fftw2-devel/doc/fftw_6.html
/usr/share/doc/fftw2-devel/doc/fftw_7.html
/usr/share/doc/fftw2-devel/doc/fftw_8.html
/usr/share/doc/fftw2-devel/doc/fftw_9.html
/usr/share/doc/fftw2-devel/doc/fftw_foot.html
/usr/share/doc/fftw2-devel/doc/fftw_toc.html
/usr/share/doc/fftw2-devel/doc/mdate-sh
/usr/share/doc/fftw2-devel/doc/rfftwnd.fig
/usr/share/doc/fftw2-devel/doc/rfftwnd.gif
/usr/share/doc/fftw2-devel/doc/stamp-vti
/usr/share/doc/fftw2-devel/doc/texi2html
/usr/share/doc/fftw2-devel/doc/texinfo.tex
/usr/share/doc/fftw2-devel/doc/version.texi
/usr/share/info/fftw.info-1.gz
/usr/share/info/fftw.info-2.gz
/usr/share/info/fftw.info-3.gz
/usr/share/info/fftw.info-4.gz
/usr/share/info/fftw.info-5.gz
/usr/share/info/fftw.info.gz
/usr/share/licenses/fftw2-devel
/usr/share/licenses/fftw2-devel/COPYING

References

Summary

In this tutorial we learn how to install fftw2-devel on CentOS 8 using yum and dnf.