Differences between revisions 331 and 332
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#acl LcnGroup:read,write,delete,revert All:read
[[DownloadAndInstall|top]] | [[Registration|previous]] | [[Installation|next]]

= FreeSurfer Download =
!FreeSurfer for Linux is distributed in the form of a .tar.gz file, and is installed from the terminal command-line. The Mac OS X !FreeSurfer distribution is a .dmg file. Uncompressed (installed) size is 8.3GB. After download, you can find installation instructions for your specific platform here:

[[Installation|Installation instructions]].

----

'''When processing a group of subjects for your study, it is essential to process all your subjects with the same version of freesurfer, on the same OS platform and vendor, and for safety, even the same version of the OS. While we continue to work to ensure that results match across platforms (for instance the 32b and 64b CentOS 4 builds should produce identical results), there are none-the-less system-level libraries that are OS dependent. An exception to this rule is that you may view and edit files across any platform or version, and run some post-processing tools (outside the recon-all stream) if you check with us first (for instance you may run the longitudinal processing with newer versions).'''

----


'''Important Note for Mac OS X users:''' Mac OS X platform require the installation of XQuartz for freesurfer to work properly.
 * Pre-Yosemite versions of OSX (<= 10.9) require [[http://xquartz.macosforge.org/downloads/SL/XQuartz-2.7.5.dmg|XQuartz 2.7.5]].
 * Post-Yosemite versions of OSX (>= 10.10) require [[http://xquartz.macosforge.org/downloads/SL/XQuartz-2.7.6.dmg|XQuartz 2.7.6]] (or higher).

----

== Freesurfer 5.3 stable release ==

Please refer to the ReleaseNotes page for per-release information.

||'''OS''' || '''Platform''' || '''Version''' || '''Release Date''' || '''Download''' || '''Size''' ||
|| Linux || CentOS 6 x86_64 (64b)|| stable v5.3.0 ||15 May 2013 || [[ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/5.3.0/freesurfer-Linux-centos6_x86_64-stable-pub-v5.3.0.tar.gz|freesurfer-Linux-centos6_x86_64-stable-pub-v5.3.0.tar.gz]]||4.2G||
|| Linux || CentOS 4 x86_64 (64b)|| stable v5.3.0 ||15 May 2013 || [[ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/5.3.0/freesurfer-Linux-centos4_x86_64-stable-pub-v5.3.0.tar.gz|freesurfer-Linux-centos4_x86_64-stable-pub-v5.3.0.tar.gz]]||4.0G||
|| Linux || CentOS 4 (32b)|| stable v5.3.0 ||15 May 2013|| [[ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/5.3.0/freesurfer-Linux-centos4-stable-pub-v5.3.0.tar.gz|freesurfer-Linux-centos4-stable-pub-v5.3.0.tar.gz]]|| 3.8G ||
|| Mac || Lion OS X 10.7 and higher (64bit Intel) || stable v5.3.0 || 15 May 2013 || [[ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/5.3.0/freesurfer-Darwin-lion-stable-pub-v5.3.0.dmg|freesurfer-Darwin-lion-stable-pub-v5.3.0.dmg]] || 3.5G ||
|| Mac || !SnowLeopard OS X 10.6 (32bit Intel) || stable v5.3.0 || 15 May 2013 || [[ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/5.3.0/freesurfer-Darwin-snowleopard-i686-stable-pub-v5.3.0.dmg|freesurfer-Darwin-snowleopard-i686-stable-pub-v5.3.0.dmg]] || 3.2G ||
|| Virtualbox || Xubuntu 12.04 || stable v5.3.0 || 15 Aug 2013 || [[ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/5.3.0/freesurfer-Virtualbox-linux-x86-stable-pub-v5.3-full.vdi.gz|freesurfer-Virtualbox-linux-x86-stable-pub-v5.3-full.vdi.gz]] || 9.0G ||
##||Linux||[[AmazonCloud||Amazon Cloud]]||stable v5.1.0||Oct 2011||public AMI: 060244368407/FREESURFER51 || ||

FAQ:
 * Virtualbox installation instructions [[http://surfer.nmr.mgh.harvard.edu/fswiki/Installation/FreeSurferVirtualImage#RunningtheVirtualBoxforthefirsttime|can be found here]].
  * the root password for the Virtualbox release is '''''freesurfer'''''
 * here is the [[http://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/md5sum.txt|md5sum data]] and [[http://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/sha1sum.txt|sha1sum data]] for confirming tarball integrity after download.

 * on Ubuntu, you might have to do this if qdec or freeview complain about libjpeg:
{{{
sudo apt-get install libjpeg62
}}}
 
## * A [[http://www.vmware.com/|VMWare]] or !VirtualBox instance of freesurfer is not available. An alternative is to download the [[http://www.fmrib.ox.ac.uk/fsl/fsl/windows.html|FSL 64b vm]] and then within that instance, download and install the 64b Centos6 x86_64 freesurfer distribution. Another alternative is to use the [[https://www.cerebralvol.com/|Cerebravol service]].

-----

== wget ==
If you are having problems downloading the installation from your browser, you could use the command-line 'wget' utility ('curl -O' on the Mac):
{{{
wget -c ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/5.3.0/<filename>
}}}
where <filename> is a filename from the Download column in the table above. Note that the '-c' flag allows continuing a failed partial download.



## '''''Warning OSX users:''''' The current Freesurfer 6.0-beta release will NOT work on the most recent release of the Mac OSX 10.11 "El Capitan" unless you [[http://osxdaily.com/2015/10/05/disable-rootless-system-integrity-protection-mac-os-x|disable SIP]]. All previous versions of OSX should still work fine. A new v6-beta version will be released shortly that is compliant with the changes made in OSX 10.11.

## ||'''OS''' || '''Platform''' || '''Version''' || '''Release Date''' || '''Download''' || '''Size''' ||
## || Linux || CentOS 6 x86_64 (64b)|| stable v6.0-beta ||15 Oct 2015 || [[ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/6.0.0-beta/freesurfer-Linux-centos6_x86_64-stable-v6-beta-20151015.tar.gz|freesurfer-Linux-centos6_x86_64-stable-pub-v6-beta-20151015.tar.gz]]||7.5G||
## || Mac || OS X 10.7 and higher (64bit Intel) || stable v6.0-beta || 15 Oct 2015 || [[ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/6.0.0-beta/freesurfer-Darwin-OSX-stable-v6-beta-20151015.dmg|freesurfer-Darwin-OSX-stable-v6-beta-20151015.dmg]] || 4.5G ||

## These files can also be downloaded in a terminal using the following commands:

## {{{
## curl -O ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/6.0.0-beta/freesurfer-Darwin-OSX-stable-v6-beta-20151015.dmg
## }}}

-----

## == Freeview dev version ==

## Below are the links to the daily builds of the Freeview imaging software. Please be aware that daily ## builds of Freeview will contain the most up-to-date features, but will also possibly contain bugs or ## other undesirable behavior because daily builds have not had adequate time to be rigorously tested.
## ||'''OS''' || '''Platform''' || '''Download''' ||
## || Linux || CentOS 6 x86_64 (64b)|| [[ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/freeview## /linux_centos6_x86_64/freeview.bin|freeview.bin]] ||
## || Linux || CentOS 4 x86_64 (64b)|| [[ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/freeview/linux_centos4_x86_64/freeview.bin|freeview.bin]] ||

## '''Instructions:'''

## * For '''Linux''' systems, download the file and copy it over the existing {{{$FREESURFER_HOME/bin/freeview.bin}}} file.


## * For '''Mac OSX''' systems, you must download the dev version of freesurfer to use the latest version of freeview. It no longer can be installed ontop of freesurfer version 5.3

## Some '''Linux''' systems may get the following error:
## {{{freeview.bin: error while loading shared libraries: libnetcdf.so.6: cannot open shared object file: ## No such file or directory}}}
## To resolve the issue the following type the following command:
## {{{
## cd /usr/lib
## ln -s libnetcdf.so.7 libnetcdf.so.6
## }}}
## -----

== Development Version ==
To install the Development version of !FreeSurfer, download the appropriate dev build.
[[ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/dev|Some nightly dev builds are here.]]

-----
<<Anchor(archive)>>
== Archive ==
[[ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer|Old releases are here.]]

## == Mirrored ==

## [[http://magick.mit.edu/freesurfer/|Some releases are mirrored here.]]
## [[ftp://martini.csail.mit.edu/|Some releases are mirrored here.]]



=== Notes ===

{{{
uname -m
}}}
If the output says 'x86_64', you have a 64-bit Intel-compatible machine.

Note that a license key file is necessary to run the !FreeSurfer binaries (but is not necessary to download and install !FreeSurfer).

[[https://surfer.nmr.mgh.harvard.edu/registration.html|Registration is here.]]

Upon completion of the download, proceed to the [[Installation|installation section]].

== Standalone Tools ==
 * AutomatedDefacingTools