External Email - Use Caution        

I should have said at the end for installation under $HOME to set,

$ export FREESURFER_HOME=$HOME/freesurfer

- R.
fsbuild
March 3, 2020 at 15:39

        External Email - Use Caution        


Hello Ben,

For packages to install, see the following wiki page,

https://surfer.nmr.mgh.harvard.edu/fswiki/BuildRequirements

Usually to expand the freesurfer *.tar.gz archive under /usr/local, you would need sudo/root privileges, e.g.

$ cd /usr/local
$ sudo tar zxpf freesurfer-Linux-centos6_x86_64-stable-pub-v6.0.0.tar.gz
….
.. output deleted

- and you would end up with /usr/local/freesurfer and in turn do

$ export FREESURFER_HOME=/usr/local/freesurfer

But if you don’t have sudo privileges, e.g., it does not work to do
$ sudo touch /usr/local/foo
$ sudo rm /usr/local/foo

- then you may want to consider putting freesurfer under your $HOME directory or somewhere you have permission to write files w/o needing to use sudo, e.g.,

$ cd $HOME
$ tar zxpf freesurfer-Linux-centos6_x86_64-stable-pub-v6.0.0.tar.gz
$ export FREESURFER_HOME=$HOME

- R.




_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer