1.4. Download other/specific AFNI/SUMA software

1.4.1. Overview


If you are setting up your system for running AFNI, the main set of installation instructions for most operating systems is provided on THIS page.

Here, we provide direct links for downloading precompiled AFNI binaries, as well as the compilable source code.

As of Jan. 1, 2016, AFNI utilizes a version numbering system, which is useful for tracking changes, getting help on the Message Board, reporting in published work, etc. The version is reported using a trio of numbers, corresponding to “major.minor.micro” (or roughly, “yearly.quarterly.oftenly”) updates. You can discover the mystery number on your own system by simply typing:

afni -ver

This version number should always be provided when posting questions on the Message Board.


The record of changes (new options, new programs, bug fixes, et al.) is maintained for all the see in the online AFNI History.

1.4.2. Update existing AFNI binaries

If you already have AFNI binaries working on your computer, all you need to do is run:

@update.afni.binaries -d

This automatically detects which package to download and where to install it. The new binaries are placed in the same location so you can just keep rollin’ along. (The existing/old binaries are placed in a subdirectory called auto_backup.BINARY_VERSION/, just in case you want them.)

1.4.3. Download current precompiled AFNI binaries

To download particular a set of binaries, then you can click on a link below for your desired system.

Again, to go through full AFNI install for Linux, Mac or even now Windows 10 users, look at the main install page instructions.

Unless otherwise stated, the binaries are for 64 bit systems.

  • For Linux/Unix (and Windows with Linux installed)

    • linux_ubuntu_16_64.tgz

      for Ubuntu (>= 16.04):

      curl -O https://afni.nimh.nih.gov/pub/dist/tgz/linux_ubuntu_16_64.tgz
    • linux_openmp_64.tgz

      for Ubuntu (<16), Fedora, Red Hat, etc.:

      curl -O https://afni.nimh.nih.gov/pub/dist/tgz/linux_openmp_64.tgz
    • linux_centos_7_64.tgz

      for CentOS, Red Hat (RHEL 7):

      curl -O https://afni.nimh.nih.gov/pub/dist/tgz/linux_centos_7_64.tgz
  • For Mac OS

    • macos_10.12_local.tgz

      Mac 10.12 and higher:

      curl -O https://afni.nimh.nih.gov/pub/dist/tgz/macos_10.12_local.tgz
    • macosx_10.7_local.tgz

      Mac 10.7 - 10.11, but these binaries are no longer updated (email with any questions):

      curl -O https://afni.nimh.nih.gov/pub/dist/tgz/macosx_10.7_local.tgz
  • For other systems

    • linux_xorg7.tgz

      32 bit linux systems:

      curl -O https://afni.nimh.nih.gov/pub/dist/tgz/linux_xorg7.tgz
    • linux_xorg7_64.tgz

      possibly other Linux, but probably use one of the above options:

      curl -O https://afni.nimh.nih.gov/pub/dist/tgz/linux_xorg7_64.tgz
    • linux_fedora_21_64.tgz

      Fedora 21, but these binaries are no longer updated (at the moment):

      curl -O https://afni.nimh.nih.gov/pub/dist/tgz/linux_fedora_21_64.tgz

1.4.4. To: download the AFNI source code

Another way to get AFNI working on your computer (requiring a bit more work) is to compile from the source itself:

  • AFNI Source Code

    Compilable source (can be built on most Linux/Unix/Mac):

    curl -O https://afni.nimh.nih.gov/pub/dist/tgz/afni_src.tgz

There are several usable, example Makefiles included in the main afni_src/ directory, as well as a couple (mainly for Linux systems) in afni_src/other_builds/.

In all likelihood this option is pretty much only useful if you are writing or contributing code yourself, or if your system is particularly finicky. Otherwise, it is likely far easier to grab a set of recommended precompiled binaries of the Linux/Unix or Mac variety.

1.4.5. To: browse all AFNI packages (and atlases)

The following is a browsable page that contains a tarball for each of the precompiled platform versions:

AFNI Software Packages

It also contains several standard reference brains and demo data sets. All files are downloadable by clicking on the links on the above page, and also by using command line functions such as wget or curl -O, such as:

curl -O https://afni.nimh.nih.gov/pub/dist/tgz/TTatlas+tlrc.*
curl -O https://afni.nimh.nih.gov/pub/dist/tgz/TTatlas+tlrc.*

NB: for most demo sets, there is an @Install_* command to procure and open the directory.