External Email - Use Caution        


We do not support end users building freesurfer from source.   Development builds can be unstable and may not work and/or work the same way depending upon when you download them; the same is true for checking out the source code on any given day.

You should instead create a docker container running a standard Ubuntu 22 release, e.g., LTS 22.0.4, for which there already exists a .deb installer package corresponding to a stable freesurfer release.   The freesurfer releases are listed here with the latest release being 8.0.0,

https://surfer.nmr.mgh.harvard.edu/fswiki/rel7downloads

Install a freesurfer Ubuntu 22 .deb package in the container using the standard install command, e.g., if you download the 8.0.0 release installer,
https://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/8.0.0/freesurfer_ubuntu22-8.0.0_amd64.deb
... then the install command would be,
$ sudo apt install freesurfer_ubuntu22-8.0.0_amd64.deb

- R.