1. download .tar.gz on download page http://www.fftw.org/download.html
2. move it to the lib folder and unzip it with tar -zxvf fftw-3.x.x.tar.gz
3. cd into the folder created ffw-3.x.x/
5. use pwd to find the path of the current folder and use it as the prefix in "CURRENT PATH" so all the lib, headers and bin will be installed in this folder (prevents problem with root access)