Current Linux : normal user
basic instructions
Assumption(s):
The computer's operating system should be a recent release of Linux,
i.e. at least as new as Red Hat 8.0, Mandrake 9.x, etc.
The commands listed below assume that the user is running the T-shell
(/bin/tcsh). This makes a difference here only when setting the path,
but in general, /bin/tcsh is recommended over /bin/bash.
To change the shell to /bin/tcsh, see notes: change the shell
To set the PATH under /bin/bash, see notes: set the PATH in /bin/bash
----------------------------------------------------------------------
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.
----------------------------------------------------------------------
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:
(set package to linux_xorg7 if you prefer that to linux_gcc32)
(note: this step can be repeated to update your AFNI binaries)
set package = linux_gcc32
wget http://afni.nimh.nih.gov/pub/dist/tgz/$package.tgz
tar xvfz $package.tgz
mv $package/* abin
rmdir $package
Step 2: enter these commands to get and unpack some sample data:
wget http://afni.nimh.nih.gov/pub/dist/edu/data/AFNI_data3.tgz
tar xvfz AFNI_data3.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: open a new terminal window, and start playing!
cd AFNI_data3/afni
afni