Mac OS X - installing AFNI

basic instructions

Assumption(s):

    As of today, the most current MAC OS X operating system is version 10.4.
    We have binaries for versions 10.3 and 10.4; at some point, we will phase
    out support for 10.3.  See directory: pub/dist/tgz for binaries.

        current binaries:
        macosx_10.3.tgz
        macosx_10.3_G5.tgz
        macosx_10.4.tgz
        macosx_10.4_G5.tgz
        macosx_10.4_Intel.tgz

    For other versions of Mac OS X, step 2 will need to be replaced with
    steps to compile AFNI.  (see: compiling AFNI on a Mac)

    Prior to installation of AFNI, it is necessary to install some development
    packages.  Please see OS X : pre-install for the pre-installation steps
    needed for Mac OS X systems.

    The commands listed below assume:
	1. the user's shell is the T-shell (/bin/tcsh)
	   (see notes: changing the shell)

	2. the user has the /sw/bin directory as part of the PATH
	   (see notes: setting the PATH)

	   The /sw/bin directory is needed for the wget command, which is
           generally added by fink.  An alternate option would be to use
           /sw/bin/wget directly, as in:

	   /sw/bin/wget http://afni.nimh.nih.gov/pub/dist/tgz/macosx_10.3.tgz

----------------------------------------------------------------------

Description:

    There are basically 5 steps to installing and running AFNI.  The
    commands associated with these steps can be entered into a terminal
    window.  For a user with very modest experience, it may be best to
    copy-and-paste the commands into a terminal window, rather than to
    type them in.  If a typo is not noticed, or not understood, it can
    be difficult to figure out how to correct the problem.

    In these examples, I will refer to the macosx_10.3 binaries, though
    anyone with a G5 might want to replace them with macosx_10.3_G5 .

----------------------------------------------------------------------

AFNI: download and install

    Step 0: enter these commands to prepare for installation:
	    
	    cd
	    mkdir abin
	    

    Step 1: enter these commands to get and unpack the AFNI binary package:
	    
	    wget http://afni.nimh.nih.gov/pub/dist/tgz/macosx_10.3.tgz
	    tar xvfz macosx_10.3.tgz
	    mv macosx_10.3/* abin
	    rmdir macosx_10.3
	    

    Step 2: enter these commands to get and unpack some sample data:
	    
	    wget http://afni.nimh.nih.gov/pub/dist/edu/data/AFNI_data1.tgz
	    tar xvfz AFNI_data1.tgz
	    

    Step 3: enter this command to add the directory ~/abin to your path:
	    
	    echo 'set path = ( $path ~/abin )' >> ~/.cshrc
	    

    Step 4: log out and log back in


    Step 5: start X and start playing!
	    
	    cd AFNI_data1/afni
	    afni