FFTW Logo
Go back to the FFTW download page.

FFTW Packages for Linux

Users of GNU/Linux distributions such as Debian, Ubuntu, RedHat, CentOS, etc., are encouraged to use the FFTW package that comes with their distribution. The FFTW project does not provide distibution-specific packages or configuration files.

RPM Packages for FFTW 2.x

In the past (1999 or so) we produced a RPM package for fftw-2.1.3. This information does not apply to fftw-3.x (released in 2000), and it is therefore obsolete. We still publish it for historical reasons.

Begin obsolete information:

The Redhat package we've created installs both the uniprocessor and threads versions of FFTW in both double and single precision. Both shared and static libraries are included. (Note: The single-precision version of the library is installed with an "s" prefix, as described in the manual. The double-precision version is installed with the standard name, without a prefix.)

First, there is the source package. You can compile this for your system by using rpm --rebuild on this source RPM, and then install the resulting binary packages (in /usr/src/redhat/RPMS/arch) with rpm -i. This is the most reliable way to install the FFTW package. The source package can be found at:

Note that this source package builds two binary packages, according to the Redhat convention: fftw and fftw-devel. The former only includes the shared libraries (the minimum needed by programs that link with FFTW) and the latter includes header files, documentation, etcetera (needed if you want to develop or compile programs using FFTW).

Additionally, we have binary packages. Since FFTW's compilation script automatically tries to pick compiler flags that are best for your system, you probably should compile from source if you have a system different from the ones we compiled on. You will also need to recompile if you have a different version of the C library, etcetera.

Note: Like our source distribution, these packages install everything under /usr/local, as required by the Linux Filesystem Hierarchy Standard. However, they are relocatable: to install under /usr, use rpm --prefix /usr -i instead of rpm -i. Also, you may need to add "/usr/local/lib" to your /etc/ld.so.conf file and re-run ldconfig (as root) so that Linux will find the FFTW shared libraries.


Go back to the FFTW download page.