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 tkmeditParcColorsCMAbin/ etc/ fsfast/ SegmentNoLUT.txt Simple_surface_labels2009.txt trctrain/build-stamp.txt FreeSurferColorLUT.txt lib/ sessions/ sources.csh* WMParcStatsLUT.txtDefectLUT.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.shIt comes back as saying:no such file or directory foundI 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/subjectsAlso, if I "ls" the files in $home/username/Downloads/freesurferthere 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.gz2) Platform: Ubuntu 18.04 Any help would be greatly appreciated.Thank you!Kind regards,Rio_______________________________________________Freesurfer mailing listFreesurfer@nmr.mgh.harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer%E2%80%8B
freesurfer@nmr.mgh.harvard.edu