How To Install sfftw-dev on Debian 9

In this tutorial we learn how to install sfftw-dev on Debian 9. sfftw-dev is library for computing Fast Fourier Transforms

Introduction

In this tutorial we learn how to install sfftw-dev on Debian 9.

What is sfftw-dev

sfftw-dev is:

This library computes FFTs in one or more dimensions. It is extremely fast. This package contains the statically linked library and the header files.

There are three methods to install sfftw-dev on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install sfftw-dev Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install sfftw-dev using apt-get by running the following command:

sudo apt-get -y install sfftw-dev

Install sfftw-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install sfftw-dev using apt by running the following command:

sudo apt -y install sfftw-dev

Install sfftw-dev Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install sfftw-dev using aptitude by running the following command:

sudo aptitude -y install sfftw-dev

How To Uninstall sfftw-dev on Debian 9

To uninstall only the sfftw-dev package we can use the following command:

sudo apt-get remove sfftw-dev

Uninstall sfftw-dev And Its Dependencies

To uninstall sfftw-dev and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove sfftw-dev

Remove sfftw-dev Configurations and Data

To remove sfftw-dev configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge sfftw-dev

Remove sfftw-dev configuration, data, and all of its dependencies

We can use the following command to remove sfftw-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge sfftw-dev

Dependencies

sfftw-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install sfftw-dev package on Debian 9 using different package management tools: apt, apt-get and aptitude.