External Email - Use Caution        

Hello Jamie,

If you are using the Windows Subsystem for Linux (WSL), you don't need to download the archive on the windows side and copy it over to Ubuntu linux through the mounted path.  I would try downloading the freesurfer 7.2.0 installer in linux.

In Ubuntu linux, run the terminal program, and use these commands to try and directly install freesurfer. (There is also some documentation under https://surfer.nmr.mgh.harvard.edu/fswiki/FS7_wsl_ubuntu).

Get the 7.2.0 installer with,

$ cd
$ wget  https://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/7.2.0/freesurfer_7.2.0_amd64.deb

Then try the install with the .deb file,

$ sudo apt-get update
$ sudo apt-get install ./freesurfer_7-dev_amd64.deb

... answer Y/yes to prompts ...

Do you want to continue? [Y/n] Y

.... if the install succeeds, you should then try the freesurfer environment ...

$ bash
$ export FREESURFER_HOME=/usr/local/freesurfer/7.2.0
$ source $FREESURFER_HOME/SetUpFreeSurfer.sh


- R.

"Ford, Jamie K" (j.ford@imperial.ac.uk)
January 12, 2022 at 10:19

        External Email - Use Caution        

Hi everyone,

 

 

Please could someone please help me on some issues I’m having in trying to download FS with Linux (version 7.1.1)?

 

In Ubuntu 18.04 LTS, I successfully ran:

  • cd /mnt/c/Users/[my Windows username]/Downloads
  • tar -zxvf freesurfer-linux-centos7_x86_64-7.1.1.tar.gz
  • cd Freesurfer
  • pwd
  • export FREESURFER_HOME=$HOME/freesurfer
  • export SUBJECTS_DIR=$FREESURFER_HOME/subjects

 

However, for “source $FREESURFER_HOME/SetUpFreeSurfer.sh”, I get an error message saying “-bash: /home/[Ubuntu username]/freesurfer/SetUpFreeSurfer.sh: No such file or directory”

 

I’m really new to Linux, so if someone could explain how to solve this as simply as possible, I would really appreciate it.

 

Thank you so much!

 

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