How To Install nfft on CentOS 7

In this tutorial we learn how to install nfft on CentOS 7. nfft is Nonequispaced fast Fourier transform

Introduction

In this tutorial we learn how to install nfft on CentOS 7.

What is nfft

The NFFT (nonequispaced fast Fourier transform or nonuniform fast Fourier transform) is a C subroutine library for computing the nonequispaced discrete Fourier transform (NDFT) and its generalisations in one or more dimensions, of arbitrary input size, and of complex data.

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

Install nfft on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install nfft

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

sudo dnf -y install nfft

How To Uninstall nfft on CentOS 7

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

sudo dnf remove nfft

References

Summary

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