1. Ubuntu升级
sudo apt-get update && sudo apt-get upgrade
2. 下载
wget https://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/7.2.0/freesurfer-linux-ubuntu18_amd64-7.2.0.tar.gz
3. 查看下载目录
ls
4. 解压
tar -zxvf freesurfer-linux-ubuntu18_amd64-7.2.0.tar.gz
5、转到freesurfer路径
cd $HOME
cd freesurfer
pwd
export FREESURFER_HOME=$HOME/freesurfer
source $FREESURFER_HOME/SetUpFreeSurfer.sh
-------- freesurfer-linux-ubuntu18_x86_64-7.2.0-20210721-aa8f76b --------
Setting up environment for FreeSurfer/FS-FAST (and FSL)
FREESURFER_HOME /home/user/freesurfer
FSFAST_HOME /home/user/freesurfer/fsfast
FSF_OUTPUT_FORMAT nii.gz
SUBJECTS_DIR /home/user/freesurfer/subjects
INFO: /home/user/matlab/startup.m does not exist ... creating
MNI_DIR /home/user/freesurfer/mni
FSL_DIR /home/user/fsl
6. which freeview
which freeview
/home/user/freesurfer/bin/freeview
7. 查看安装情况
freesurfer
FreeSurfer is a set of tools for the analysis and visualization
of structural and functional brain imaging data. FreeSurfer
also refers to the structural imaging stream within the
FreeSurfer suite.
Users should consult the online documentation available at:
http://surfer.nmr.mgh.harvard.edu
Alternatively, the 'recon-all' command help-text provides
adequate information to begin processing subject data, such
as the sample subject 'bert' found in the 'freesurfer/subjects'
directory. Type 'recon-all --help' to view this help-text.
Direct comments and questions to:
freesurfer@nmr.mgh.harvard.edu
You are running this version of FreeSurfer:
freesurfer-linux-ubuntu18_x86_64-7.2.0-20210721-aa8f76b