Nate,

Try typing the following from the command window:

export FREESURFER_HOME=/Applications/freesurfer
source $FREESURFER_HOME/SetUpFreeSurfer.sh

Or, you can add these lines to your .bashrc file in your home directory by
using any text editor, or by typing the following in the command line:

echo "export FREESURFER_HOME=/Applications/freesurfer" >> ~/.bashrc
echo "source $FREESURFER_HOME/SetUpFreeSurfer.sh" >> ~/.bashrc

Once these lines are in your .bashrc file, freesurfer will load everytime
you open the terminal program.

-Zeke





> I am new to Unix and FreeSurfer, and I am having some trouble installing
> FreeSurfer on my Macbook Air (10.8). I've downloaded the .dmg file just
> fine, and when I start the installation steps, I'm instructed to add some
> lines to my .cshrc or .tcshrc files in my home directory. Can anyone point
> me to this file? Also, just below on the installation dialog, it says for
> sh or bash users:
>
> export FREESURFER_HOME=<freesurfer_installation_directory>/freesurfer
> source $FREESURFER_HOME/SetUpFreeSurfer.sh
>
>
> Can I use these instead of the first two lines of code? I tried to enter
> these bash lines one at a time into my terminal window. The first one
> ("export") did not give me any errors but for the "source" one, I received
> the message:
>
> bash: /freesurfer/SetUpFreeSurfer.sh: No such file or directory.
>
> Any idea as to why I am getting this error? My apologies in advance for my
> lack of experience.
>
> Many thanks,
> Nate
> _______________________________________________
> 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


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to