Beauchamp:AFNI Install

From OpenWetWare
Revision as of 11:04, 22 September 2014 by Michael S Beauchamp (talk | contribs)
Jump to navigationJump to search
Brain picture
Beauchamp Lab




AFNI

Follow the directions on the AFNI website to install AFNI

 http://afni.nimh.nih.gov/pub/dist/HOWTO/howto/ht00_inst/html/

Use either the basic or complete install, depending on how much you will be using AFNI. AFNI works from the terminal, so it can be helpful to pin the Terminal app to the dock. During the install, you should be prompted to install XQuartz (Xwindows software):

    http://xquartz.macosforge.org/trac/wiki

XCode and Terminal

For the complete install, you will need to download XCode from the App Store. An account on the Apple Store is required (MSB has one) but the download is free. You must also go to Preferences/Downloads in XCode and install the command line utilities. The complete install instructions also tell you how to install fink from

    http://www.finkproject.org/download/srcdist.php

The complete install instructions also mention some of the following nice but not essential steps: Configure your terminal. Go to Applications > Utilities and drag Terminal to the dock as you will most likely be using it often. Open terminal and go to Preferences. Under "Shells open with", click "Command (complete path)" and enter:

  /bin/tcsh

Copy over a .cshrc file which will help you set up your path every time you open Terminal.

  cp /Volumes/data/scripts/.cshrc ~/

If at any point you need to add something to your path, open the .cshrc file

  open -e ~/.cshrc

and add it in the following line:

  set path = ( $path /sw/bin /Applications/AFNI/ /Applications/MATLAB_R2011a.app/bin)