Patches are released for minor upgrades of FSL: e.g. 5.0.1 to 5.0.2

Applying a patch depends on what Operating System you are using:

  1. Debian/Ubuntu
    • The recommended way is to apply the patch with the neurodebian repository via system update or apt-get

  2. Binary packages - all other systems (Mac/Linux/Windows)
    • Download the patch file ( see link below ) for your system (you can choose between an upgrade from the previous version - e.g. 5.0.1 to 5.0.2 - or an upgrade from the base version - e.g. 5.0.0 to 5.0.2)
    • The patch file is a *.tar.gz file - try to avoid double-clicking on it or running anything that might unpack it

    • Find where the patch file has been saved (e.g. ~/Downloads/) or put the patch file in a standard place (e.g. ~/Desktop/)
    • Start a terminal and do:
      • cd $FSLDIR/..

      • sudo tar -zxvf ~/Downloads/fsl-macosx-patch-5.0.2_from_5.0.1.tar.gz

    • Note that you must use the appropriate path and name of the patch file in the above command (i.e. alter the name of the file to match the name of the specific version you downloaded, and also if it not saved in ~/Downloads/ then change ~/Downloads/ to ~/Desktop/ or wherever it is located)
    • If the file was unzipped when it was downloaded (e.g. it no longer ends with .tar.gz but now ends with just .tar) then you must use the new name (ending with just .tar) and you also need to use -xvf instead of -zxvf in the second command.

    • You can avoid using sudo in the above command if you wish, as long as FSL was installed in a local directory (i.e. in a place you do normally have write permissions). However, using sudo will not cause any problems.

  3. Source packages - all systems
    • As above, download and install the source patch and then recompile following the usual source compilation installation instructions

Patch files can be downloaded (for methods 2 or 3 above) from:


FslInstallation/Patches (last edited 10:44:41 20-02-2015 by MarkJenkinson)