External Email - Use Caution        


Hello Pedro,

It does not look like you are using a standard installation of freesurfer given the path you list below as /root/freesurfer.

We have information available about how to use either WSL (Windows Subsystem for Linux) to host Ubuntu Linux in order to run Freesurfer on Windows, https://surfer.nmr.mgh.harvard.edu/fswiki/FS7_wsl - or you can install VirtualBox on your Windows machine to run a VM we provide for download with freesurfer already installed and setup to run (see https://freesurfer.net/fswiki/VM_67)

For WSL, once you have Ubuntu Linux running, we recommend using one of the debian (.deb) package installers listed on the Freesurfer 7 download page that matches your Ubuntu system (https://surfer.nmr.mgh.harvard.edu/fswiki/rel7downloads).  So for Ubuntu 22 running in WSL, you would download one of the freesurfer_ubuntu22-7.X.X_amd64.deb files into Ubuntu linux and install it.  That would install freesurfer as /usr/local/freesurfer/7.x.x in the Ubuntu Linux image running in WSL.    In the VM, freesurfer 7.2.0 is already installed as /usr/local/freesurfer/7.2.0

We recommend you verify you are using (or try) one of the setups above.

- R.

On 6/1/23 11:38, Pedro henrique barradas (phbarradas@hotmail.com) wrote:

        External Email - Use Caution        

Hello!
I'm having a couple problems with the final installation steps

When I attempt to export $FREESURFER_HOME=$HOME/freesurfer it tells me:
  • bash: export: ´#HOME/freesurfer=root/freesurfer`: not a valid identifier
When I source it, it now says it cannot find the directory
and gives back the following answers:
  • bash: /root/freesurfer/SetUpFreeSurfer.sh: No such file or directory
I also tried doing "source SetUpFreeSurfer.sh" from the freesurfer directory and I got this response:
  • bash: /root/freesurfer/FreeSurferEnv.sh: No such file or directory

Also,
When I type echo $FREESURFER_HOME I get
root/freesurfer

But when I type pwd $FREESURFER_HOME it gives me
c/mnt/Users/ASUS/Downloads/freesurfer

I greatly appreciate any advice. Thank you
Best wishes


_______________________________________________
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 Mass General Brigham Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline <https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately.  Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.