External Email - Use Caution
It should work to use multiple versions on the same machine. You need to: (1) install them under different paths; (2) have enough disk space for each distribution; (3) change the setting of FREESURFER_HOME when you change the freesurfer version in use. Then you need to re-source the SetUpFreeSurfer.[sh,csh] script each time you change FREESURFER_HOME to (re)set the shell environment. The package installers, *.rpm, *.deb, *.pkg, will install under a known path, i.e.., linux is /usr/local/freesurfer/<version> and for MacOS /Applications/freesurcer/<version>. The package management software on linux OS’s keeps track of the version that’s installed. I think if you had /usr/local/freesurfer/7.3.1 installed, then it would consider installing 7.3.2 as an upgrade to 7.3.1, and so it might remove 7.3.1 before installing 7.3.2 as /usr/local/freesurfer/7.3.2. There might be an option to tell the package tools to say to keep an old version. You could make a copy of 7.3.1, install the 7.3.2 package, and then restore 7.3.1 so you have /usr/local/freesurfer/{7.3.1,7.3.2}. I would try to have at least 1 version installed on Linux using the .deb or .rpm package installers. That will have checked your machine and potentially installed dependencies fressurfer needs to run. You could subsequently try using the tar archive for a different version located elsewhere, expanded as a non-root user.
- R.
On Feb 3, 2023, at 17:26, Gonzalo Rojas Costa <gonzalo.rojas.costa@gmail.com> wrote: External Email - Use Caution Hi: How can I install two different versions of freesurfer on the same computer? Sincerely,Gonzalo Rojas Costa_______________________________________________Freesurfer mailing listFreesurfer@nmr.mgh.harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer%E2%80%8B
freesurfer@nmr.mgh.harvard.edu