How to install FreeSurfer on Ubuntu

Get the appropriate download link from here:

If you want to use our tmslab Software, you need FreeSurfer Version 4.5.0. Version 5.0.0 didn't work as desired.

# prerequisites
sudo apt-get install tcsh
cd ~
# this is the 64 bit version
cd /usr/local/
sudo tar -xzvf ~/freesurfer-*.tar.gz
echo "FREESURFER_HOME=/usr/local/freesurfer" >> ~/.bashrc
echo 'source $FREESURFER_HOME/' >> ~/.bashrc
# delete the original file to save space, if you don't need it anymore
# rm ~/freesurfer-*.tar.gz

Now register at and paste the license code emailed to you here:

sudo gedit /usr/local/freesurfer/.license

In Ubuntu Lucid we had to set the following symlink:

sudo ln -s /usr/lib/{4,3}


how_to/install_freesurfer_on_ubuntu.txt ยท Last modified: 03.02.2011 16:24 (external edit)
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki