1.2.1. Mac OS (admin’ed): the administrator part¶
What to do?¶
Here we describe the administrator’s part of the AFNI installation and system setup for administered Mac OS versions 10.9-15.
Root privilege is required for the instruction on this page.
These are accompanied by instructions for regular users, which need to be performed after in order to complete the AFNI setup.
Install Xcode and XQuartz¶
Copy+paste:
xcode-select --install
For …
- … OS X >= 10.11, click on this link:Then click on the “Quick Download” DMG, and follow the instructions to install.
… OS X 10.9 and 10.10, copy+paste:
/Applications/Utilities/X11.app
Purpose: These install Xcode command line tools (needed for the gcc compiler et al.) and XQuartz (the desktop manager needed to run X11 programs, such as
afni
!).
Install R¶
- Click on this link:Purpose: Get R-3.6.3 (a recent, but not the most recent, version of R).
Copy+paste:
sudo rPkgsInstall -pkgs ALL
Purpose: Get specific R packages needed for AFNI programs.
Install Netpbm¶
Copy+paste:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Copy+paste:
brew install netpbm
Purpose: Install “netpbm”, which has functionality for converting
image formats (such as to PNG) and is used in several programs like
@snapshot_volreg
, @chauffeur_afni
and others. Uses the
package manager homebrew
to do the installation.