How To Install fftw-devel on CentOS 7

In this tutorial we learn how to install fftw-devel on CentOS 7. fftw-devel is Headers, libraries and docs for the FFTW library

Introduction

In this tutorial we learn how to install fftw-devel on CentOS 7.

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

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

Install fftw-devel on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install fftw-devel

Install fftw-devel on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install fftw-devel

How To Uninstall fftw-devel on CentOS 7

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

sudo dnf remove fftw-devel

References

Summary

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