Differences between revisions 1 and 12 (spanning 11 versions)
Revision 1 as of 2017-04-18 18:23:21
Size: 791
Editor: ZekeKaufman
Comment:
Revision 12 as of 2018-09-27 11:47:06
Size: 2229
Editor: AndrewHoopes
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
This page describes how to update Freeview within a !FreeSurfer v6 installation. This page describes how to update Freeview within a !FreeSurfer v6 installation. On Linux this involves updating a single file in your {{{FREESURFER_HOME/bin}}} directory. On Mac it involves replacing the Freeview.app folder in your {{{FREESURFER_HOME}}} directory. A backup should always be made of the file (or directory) before it is replaced.

''Please note the development versions of Freeview will contain the most up to date features but lacks the rigorous testing done before a major release. Therefore, it is imperative that you back up your existing version before replacing it with the development version.''
Line 12: Line 14:
 1. Download the latest "development version" of Freeview using the following link. Again, overwriting the origin {{{freeview.bin}}} file may require {{{sudo}}} access:  1. Download the latest "development version" of Freeview using the following link. Again, overwriting the original {{{freeview.bin}}} file may require sudo access:
Line 19: Line 21:
$FREESURFER_HOME/bin cd $FREESURFER_HOME/bin
Line 23: Line 25:
 1. You should now have the new freeview application which is opened by typing {{{freeview}}} on the command line (after sourcing Freesurfer):

 {{{
freeview
 }}}
Line 24: Line 32:

 1. Go into your {{{$FREESURFER_HOME}}} and create a backup of your existing freeview app (this ''may'' require sudo access):

 {{{
cd $FREESURFER_HOME
cp Freeview.app Freeview-backup.app
 }}}

 2. Download the dev, standalone freeview tarball from here:
 [[https://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/freeview/freeview_osx.tar.gz|freeview_osx.tar.gz]]

 3. Untar freeview within your {{{$FREESURFER_HOME}}} (this ''may'' require sudo):

 {{{
cd $FREESURFER_HOME
tar -xzvf /path/to/freeview_osx.tar.gz
 }}}
 
4. If you are replacing freeview in a stable freesurfer release, then you must also remove the line "`source $FREESURFER_HOME/sources.csh`" from the `$FREESURFER_HOME/bin/freeview` script

This page describes how to update Freeview within a FreeSurfer v6 installation. On Linux this involves updating a single file in your FREESURFER_HOME/bin directory. On Mac it involves replacing the Freeview.app folder in your FREESURFER_HOME directory. A backup should always be made of the file (or directory) before it is replaced.

Please note the development versions of Freeview will contain the most up to date features but lacks the rigorous testing done before a major release. Therefore, it is imperative that you back up your existing version before replacing it with the development version.

Linux

  1. Go into your $FREESURFER_HOME/bin and create a backup of your existing freeview.bin file (this may require sudo access):

    cd $FREESURFER_HOME/bin
    cp freeview.bin freeview.bin.BKP
  2. Download the latest "development version" of Freeview using the following link. Again, overwriting the original freeview.bin file may require sudo access:

    freeview.bin

  3. Make sure the new freeview.bin file is made executable. This is acheived via the following command:

    cd $FREESURFER_HOME/bin
    chmod a+x freeview.bin
  4. You should now have the new freeview application which is opened by typing freeview on the command line (after sourcing Freesurfer):

    freeview

Mac

  1. Go into your $FREESURFER_HOME and create a backup of your existing freeview app (this may require sudo access):

    cd $FREESURFER_HOME
    cp Freeview.app Freeview-backup.app
  2. Download the dev, standalone freeview tarball from here:

    freeview_osx.tar.gz

  3. Untar freeview within your $FREESURFER_HOME (this may require sudo):

    cd $FREESURFER_HOME
    tar -xzvf /path/to/freeview_osx.tar.gz

4. If you are replacing freeview in a stable freesurfer release, then you must also remove the line "source $FREESURFER_HOME/sources.csh" from the $FREESURFER_HOME/bin/freeview script

UpdateFreeview (last edited 2025-11-06 17:56:38 by buildqa)