Differences between revisions 22 and 29 (spanning 7 versions)
Revision 22 as of 2008-04-29 11:45:24
Size: 1608
Editor: localhost
Comment: converted to 1.6 markup
Revision 29 as of 2015-12-21 17:00:39
Size: 1645
Editor: ZekeKaufman
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
[[DownloadAndInstall|top]] | [[Installation|previous]] | [[SetupConfiguration|next]] [[DownloadAndInstall|top]] | [[Installation|previous]] | [[TestingFreeSurfer|next]]
Line 4: Line 4:

== Viewing contents ==

To view the contents of a distribution, once downloaded, type:
{{{
tar tzf freesurfer-Linux-<platform>-<release>-full.tar.gz
}}}
replacing <platform>-<release> with whatever is appropriate. The 'tar tzf' command will not install the contents, just show the contents of the tar.gz file.
Line 18: Line 10:
cd /usr/local
tar
xzvf freesurfer-Linux-<platform>-<release>-full.tar.gz
$> tar -C /usr/local -xzvf freesurfer-Linux-<platform>-<release>-full.tar.gz
Line 23: Line 14:
Note that for this installation example, your FREESURFER_HOME becomes:
== Setup and Configuration ==
Type the following command into a terminal window to setup and source the !FreeSurfer environment. Note that you must choose the directory where you extracted freesurfer to become your FREESURFER_HOME ({{{/usr/local/freesurfer}}} in our example):
Line 25: Line 18:
setenv FREESURFER_HOME /usr/local/freesurfer bash
$> export FREESURFER_HOME=/usr/local/freesurfer
$> source $FREESURFER_HOME/SetUpFreeSurfer.sh

(t)csh
$> setenv FREESURFER_HOME /usr/local/freesurfer
$> source $FREESURFER_HOME/SetUpFreeSurfer.csh
Line 38: Line 37:
lines of the license information to a file named .license (that's
DOT license)
and copy that file to your $FREESURFER_HOME.
lines of the license information to a file named license.txt and copy that file to your $FREESURFER_HOME.
Line 41: Line 39:
== Setup and Configuration ==
Line 43: Line 40:
Next: [[SetupConfiguration|setup and configure FreeSurfer]]. ------
If you came from the Quick Install page, return to that [[QuickInstall|here]].<<BR>>

top | previous | next

FreeSurfer Linux Installation

Installing contents

The tar.gz file will extract to a directory called 'freesurfer'. Installing into the directory /usr/local is recommended. To install, mv the tar.gz file to whereever you wish to install freesurfer (in this example /usr/local) and type:

$> tar -C /usr/local -xzvf freesurfer-Linux-<platform>-<release>-full.tar.gz

Again, replacing <platform>-<release> with your Linux variant.

Setup and Configuration

Type the following command into a terminal window to setup and source the FreeSurfer environment. Note that you must choose the directory where you extracted freesurfer to become your FREESURFER_HOME (/usr/local/freesurfer in our example):

bash
$> export FREESURFER_HOME=/usr/local/freesurfer
$> source $FREESURFER_HOME/SetUpFreeSurfer.sh

(t)csh
$> setenv FREESURFER_HOME /usr/local/freesurfer
$> source $FREESURFER_HOME/SetUpFreeSurfer.csh

Reminder to NMR Center users! You already have FreeSurfer installed on your system!

Freesurfer license file

A license file is required to enable the tools. One can be obtained for free by registering at:

https://surfer.nmr.mgh.harvard.edu/registration.html

Upon receiving the license information by email, copy the three lines of the license information to a file named license.txt and copy that file to your $FREESURFER_HOME.


If you came from the Quick Install page, return to that here.

LinuxInstall (last edited 2015-12-21 17:04:28 by ZekeKaufman)