Mac OS X 10.7 or 10.8 installation
simple install: no fink (so no uber_*.py)
applies to clean 10.7 or 10.8 systems
These AFNI installation instructions are simplified for a fast install
by avoiding installation of fink. Without fink, the user_*.py programs
will not be usable (unless pyqt4 is installed another way). But those
programs are not necessary.
So the only needed instructions are in part #4.
* Note that 10.8 does not come with X11 (or XQuartz) installed. When afni
is started for the first time, you should be directed (by the operating
system) to a link to install XQuartz.
1. account setup
Assuming a user account exists, these steps are all optional
(because X11 comes installed by default on 10.7 and 10.8).
1a. Create a user account with su (Administrator) privileges
(via "System Preferences", under "Accounts").
Note: Admin privleges are only needed for fink, so that is optional.
1b. (optional) Set the shell to /bin/tcsh. This no longer works using
the chsh command.
Under System Preferences : System : Accounts menu, right-click on the
user to get the Advanced Options menu and change the Login shell to
/bin/tcsh.
1c. (optional) Under System Preferences : Sharing : Services, enable
Remote Login to allow ssh access.
1d. Set the policy where "focus follows mouse", so that it is not
necessary to first click on a new window (to select it) before
subsequent clicks are applied to that window. There are 3 applications
that this might apply to, so we make sure...
From a terminal window, enter:
defaults write org.macosforge.xquartz.X11 wm_ffm -bool true
defaults write org.x.X11 wm_ffm -bool true
defaults write com.apple.Terminal FocusFollowsMouse -string YES
2. Xcode installation
Xcode is only needed for a compiler, which is only needed for fink.
This is skipped for now.
3. Fink installation
Skipped for now. No uber*.py... <sniff!>
4. AFNI installation
4a. Download and unpack the current binaries into your home directory,
changing the directory name to 'abin'.
cd
curl -O http://afni.nimh.nih.gov/pub/dist/tgz/macosx_10.7_Intel_64.tgz
tar -xzf macosx_10.7_Intel_64.tgz
mv macosx_10.7_Intel_64 abin
rm macosx_10.7_Intel_64.tgz
4b. Update the path and library path.
tcsh users:
echo 'set path = ( $path $HOME/abin )' >> .cshrc
echo 'setenv DYLD_FALLBACK_LIBRARY_PATH $HOME/abin' >> .cshrc
source .cshrc
rehash
bash users:
echo 'export PATH=$PATH:$HOME/abin' >> .profile
echo 'export DYLD_FALLBACK_LIBRARY_PATH=$HOME/abin' >> .profile
. .profile
4c. Try it out! If these start, you should be in good shape. Note that
10.8 users may need to follow the link to install XQuartz.
afni
suma
4d. 10.8 - install XQuartz
When prompted, install XQuartz.
4e. (optional, but helpful) Update help files for tab-completion.
Run this command, and then follow the brief instructions.
apsearch -update_all_afni_help
4f. Get sample data and review AFNI handouts.
Class Data and Handouts