Differences between revisions 14 and 30 (spanning 16 versions)
Revision 14 as of 2005-09-08 12:29:07
Size: 1553
Comment:
Revision 30 as of 2015-12-21 17:02:31
Size: 1612
Editor: ZekeKaufman
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
[wiki:Self:FreeSurferWiki top] | [wiki:Self:Installation previous] | [wiki:Self:SetupConfiguration next] [[DownloadAndInstall|top]] | [[Installation|previous]] | [[TestingFreeSurfer|next]]
Line 5: Line 5:
== 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 15: Line 7:
The tar.gz file will extract to a directory called 'freesurfer'. To install, mv the tar.gz file to whereever you wish to install
freesurfer, and type:
The tar.gz file will extract to a directory called 'freesurfer'. Installation simply involves extracting the contents of the .tar.gz file. Installing into the directory {{{/usr/local}}} is recommended. For example:
Line 18: Line 10:
tar xzvf freesurfer-Linux-<platform>-<release>-full.tar.gz $> tar -C /usr/local -xzvf freesurfer-Linux-<platform>-<release>-full.tar.gz
Line 22: Line 14:
== MINC toolkit perl path fix-up ==
Line 24: Line 15:
Some of the MNI tools currently contain hard-coded paths to perl. To fix this situation, as root user, type: == 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 26: Line 18:
mkdir -p /usr/pubsw/bin
cd /usr/pubsw/bin
ln -s `which perl`
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 31: Line 27:
Now the MNI tools will find the perl binary on your platform. You can confirm this by typing 'nu_correct', which should
return version information (v1.10).
Reminder to NMR Center users! [[InternalFreeSurferDistributions|You already have FreeSurfer installed on your system!]]
Line 36: Line 31:
A license file is required to enable the tools. One can be  A license file is required to enable the tools. One can be
Line 39: Line 34:
http://surfer.nmr.mgh.harvard.edu/registration.html https://surfer.nmr.mgh.harvard.edu/registration.html
Line 42: Line 37:
lines of the license information to a file named .license (thats
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.


------
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'. Installation simply involves extracting the contents of the .tar.gz file. Installing into the directory /usr/local is recommended. For example:

$> 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)