External Email - Use Caution        

.. Sorry, I should have said - if you expanded the tar archive under $HOME/Downloads, then

$ ls $HOME/Downloads/freesurfer

… would show you something like …

ASegStatsLUT.txt  diffusion/              FreeSurferEnv.sh  mni@                  SetUpFreeSurfer.sh*            subjects/
average/          docs/                   fsafd/            python/               Simple_surface_labels2005.txt  tkmeditParcColorsCMA
bin/              etc/                    fsfast/           SegmentNoLUT.txt      Simple_surface_labels2009.txt  trctrain/
build-stamp.txt   FreeSurferColorLUT.txt  lib/              sessions/             sources.csh*                   WMParcStatsLUT.txt
DefectLUT.txt     FreeSurferEnv.csh       matlab/           SetUpFreeSurfer.csh sources.sh*

... and then you would do

$ export FREESURER_HOME=$HOME/Downloads/freesurfer

… then the same as before ...

$ cat $FREESURFER_HOME/SetUpFreeSurfer.sh
$ source $FREESURFER_HOME/SetUpFreeSurfer.sh

- R.
On Oct 13, 2020, at 04:58, fsbuild <fsbuild@contbay.com> wrote:

        External Email - Use Caution        


Hello Rio,

I’m not sure why the paths you list include "$home/username”.

Usually the absolute path listed by the environment variable HOME ends with the subdirectory named with your username.  So your Downloads folder is usually referenced as $HOME/Downloads

If you expanded the tar archive there, then the command,

$ ls $HOME/Downloads

… would show you something like ...

ASegStatsLUT.txt  diffusion/              FreeSurferEnv.sh  mni@                  SetUpFreeSurfer.sh*            subjects/
average/          docs/                   fsafd/            python/               Simple_surface_labels2005.txt  tkmeditParcColorsCMA
bin/              etc/                    fsfast/           SegmentNoLUT.txt      Simple_surface_labels2009.txt  trctrain/
build-stamp.txt   FreeSurferColorLUT.txt  lib/              sessions/             sources.csh*                   WMParcStatsLUT.txt
DefectLUT.txt     FreeSurferEnv.csh       matlab/           SetUpFreeSurfer.csh sources.sh*

- and you would set FREESURFER_HOME as,

$ export FREESURFER_HOME=$HOME/Downloads

If you have permission to read the SetUpFreeSurfer.sh file, then you should see the file contents echoed to the terminal when you run,

$ cat $FREESURFER_HOME/SetUpFreeSurfer.sh

- and then it should work to do, e.g., in bash shell,

$ source $FREESURFER_HOME/SetUpFreeSurfer.sh

- R.

On Oct 12, 2020, at 22:57, Rio Yamaguchi <ryamaguchi..c@gmail.com> wrote:

        External Email - Use Caution        


Dear FreeSurfer team,

I'm attempting to install freesurfer and am encountering a few problems.
When I type in the command:
$ source $FREESURFER_HOME/SetUpFreeSurfer.sh

It comes back as saying:
no such file or directory found

I have done the two previous commands as specified;
$ export FREESURFER_HOME=$home/username/Downloads/freesurfer [which is the correct path to the freesurfer directory]
$ export SUBJECTS_DIR=$FREESURFER_HOME/subjects

Also, if I "ls" the files in $home/username/Downloads/freesurfer
there is a file "SetUpFreeSurfer.sh" thus I am unsure why this error occurs.

I've searched the list and whilst some similar errors have been reported. I could not resolve my issue. Does anyone have any thoughts on how to trouble-shoot this one? 

1) FreeSurfer version: freesurfer-linux-centos7_x86_64-7.1.1.tar.gz
2) Platform: Ubuntu 18.04 

Any help would be greatly appreciated.
Thank you!

Kind regards,
Rio

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

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