How to install FreeSurfer#
laMEG requires FreeSurfer to process cortical surfaces.
Download Freesurfer 6.0.0#
wget https://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/6.0.0/freesurfer-Linux-centos6_x86_64-stable-pub-v6.0.0.tar.gz
sudo tar -C /usr/local -xzvf freesurfer-Linux-centos6_x86_64-stable-pub-v6.0.0.tar.gz
Add FREESURFER_HOME
and SUBJECT_DIR
to /home/<your username>
/.bashrc:
export FREESURFER_HOME=/usr/local/freesurfer
source $FREESURFER_HOME/SetUpFreeSurfer.sh
export SUBJECTS_DIR=<path to subject data>
Add a license.txt File#
Go to https://surfer.nmr.mgh.harvard.edu/registration.html and copy it into /usr/local/freesurfer.