1) Download and install the XQuartz X-window app.
https://www.xquartz.org
Remember you must log out and log back in again
before it will work properly.
2) Download and open your chosen EXAFSPAK disk image
3) Drag the exafspak folder to your home folder
4) Work out which shell you run in terminal. To
do this, open a terminal (found in Applications ->
Utilities) and type
echo
$SHELL
If the response is "/bin/bash"
you are using BASH
If the response is "/bin/zsh"
you are using ZSH
5) If you are using ZSH, add the following lines to
the hidden file .zshrc using your favorite
editor:
#
export EXAFS=$HOME/exafspak
PATH=$EXAFS:$PATH
#
if the hidden file .zshrc
does not exist then create it
6) If you are using BASH, add the same lines to the
hidden files .bash_profile and .bashrc
7) Restart the terminal application
8) EXAFSPAK has not been signed by Apple (see note
below), so we need to defeat Apple's Gate-keeper
application by removing the extended attributes for
all the files in the EXAFSPAK folder. To do this
type in the terminal:
cd
xattr -c exafspak/*
9) Finally, test EXAFSPAK by typing
process -v -h
which should print the version and
help screen. This should look something like
this:
Process
Built : Tue Apr 12 19:29:10 2022
On :
Aurora.attlocal.net
Using : Intel C++ / Intel Fortran
S-Win
Version : Tue Apr 12 19:23:27 2022
Built : Tue Apr 12 19:28:08 2022
On :
Aurora.attlocal.net
Using : Intel C++ / Intel Fortran
Usage: process FILE [OPTIONS]
Options:
/automatic
/device[=<arg>]
/dumb
/help
/logfile[=<arg>]
/nobell
/recover[=<arg>]
/route[=<arg>]
/xwindows=<arg>
Options
can be denoted by "-option" or "/option"
10) Congratulations! You have successfully
installed EXAFSPAK on your Mac. Thank you!
NOTE:
EXAFSPAK is has not been signed by Apple. Step 8
should overcome this restriction, but if you have
problems please email Simon George (simon@simonscientific.com)
for help.
You can authorize an individual program immediately
after it produces a security error (" ... cannot
be opened because the developer cannot be verified").
To do this, open System Preferences -> Security
& Privacy, In the lower panel there should
be an option to "open anyway" the application - you
sometimes need to unlock the padlock with your
password.
Coming Soon
1) Installation script - to automate steps 3 - 8
above
2) Signing of the code by Apple
Contacts in case of Problems
For macOS specific problems (including this
website), contact Simon George: simon@simonscientific.com
For EXAFSPAK specific questions, contact Graham
George: g.george@usask.ca
Latest Update: 04 February 2024