1.3. Basic Bootcamp Prep¶
Get the most uptodate AFNI on your computer.
IF you do not have AFNI set up on your computer system at all, then please see the step-by-step instructions (which optionally include installing the Bootcamp data, so then you will be all set):
- for Linux (Ubuntu)
- for Linux (RedHat/CentOS/Fedora)
- for Mac OS X
- for Windows users… eek.
Methods for checking/evaluating each setup are also described on those pages. PLEASE make sure you have verified that all is well with AFNI on your computer.
ELSE (you have AFNI set up on your computer, but you are not certain that it is the most up-to-date version), please do the following:
if you have installed pre-compiled binaries on your computer (the most common approach):
@update.afni.binaries -d
if you compile AFNI from source, then go here and download the latest source.
Boot up.
Copy+paste the following:
curl -O https://afni.nimh.nih.gov/pub/dist/edu/data/CD.tgz tar xvzf CD.tgz cd CD tcsh s2.cp.files . ~ cd ..
Purpose: In order, these commands: get the tarred+zipped directory that contains the class data (and is hence named “CD”), downloading it to the current location in the terminal; untar/unzip it (=opens it up); go into the newly opened directory; execute a script to copy the files to
$HOME/CD/
; and finally exit the directory.At this point, if there have been no errors, you can delete/remove the tarred/zipped package, using “
rm CD.tgz
”. If you are really confident, you can also deleted the CD tree in the present location (but leaving it in$HOME/CD/
).Note
If using Linux terminal commands is new to you, then do look over the handy Unix documentation/tutorial and practice a few of the basic commands on your own system (e.g., ls, cd, less, etc.). It will greatly enhance your bootcamp experience– we promise!
EVALUATE THE SETUP: an important and useful step in this process!
Copy+paste the following, and read the displayed “Please Fix” section at the end of the output (try the suggestions there!):
afni_system_check.py -check_all
… and, for extra help, copy+paste this:
afni_system_check.py -check_all > out.afni_system_check.txt
and email the file “out.afni_system_check.txt” to your local AFNI Guru for advice.
Open up the AFNI and SUMA GUIs, juuuust to make sure all is well:
afni suma
Report any crashes!
If the “system check” gives any errors, please:
- check the list of known setup issues;
- search on the Message Board, and/or put the error into google;
- post a question on the aforementioned Message Board.