How To Install fftw-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install fftw-devel.x86_64 in Amazon Linux 2. fftw-devel.x86_64 is Headers, libraries and docs for the FFTW library

Introduction

In this tutorial we learn how to install fftw-devel.x86_64 on Amazon Linux 2.

What is fftw-devel.x86_64

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 to install fftw-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install fftw-devel.x86_64.

Install fftw-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install fftw-devel.x86_64

How To Uninstall fftw-devel.x86_64 on Amazon Linux 2

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

sudo yum remove fftw-devel.x86_64

fftw-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/fftw3.f
/usr/include/fftw3.f03
/usr/include/fftw3.h
/usr/include/fftw3l.f03
/usr/include/fftw3q.f03
/usr/lib64/libfftw3.so
/usr/lib64/libfftw3_omp.so
/usr/lib64/libfftw3_threads.so
/usr/lib64/libfftw3f.so
/usr/lib64/libfftw3f_omp.so
/usr/lib64/libfftw3f_threads.so
/usr/lib64/libfftw3l.so
/usr/lib64/libfftw3l_omp.so
/usr/lib64/libfftw3l_threads.so
/usr/lib64/pkgconfig/fftw3.pc
/usr/lib64/pkgconfig/fftw3f.pc
/usr/lib64/pkgconfig/fftw3l.pc
/usr/share/doc/fftw-devel-3.3.3
/usr/share/doc/fftw-devel-3.3.3/fftw-faq.html
/usr/share/doc/fftw-devel-3.3.3/fftw-faq.html/index.html
/usr/share/doc/fftw-devel-3.3.3/fftw-faq.html/section1.html
/usr/share/doc/fftw-devel-3.3.3/fftw-faq.html/section2.html
/usr/share/doc/fftw-devel-3.3.3/fftw-faq.html/section3.html
/usr/share/doc/fftw-devel-3.3.3/fftw-faq.html/section4.html
/usr/share/doc/fftw-devel-3.3.3/fftw-faq.html/section5.html
/usr/share/info/fftw3.info-1.gz
/usr/share/info/fftw3.info-2.gz
/usr/share/info/fftw3.info.gz

References

Summary

In this tutorial we learn how to install fftw-devel.x86_64 on Amazon Linux 2 using yum.