Failed to install the AFNI software (macOS: The App-based system setup)

The following is the script content of my installation of AFNI software(macOS: The App-based system setup).I hope I can get everyone’s advice. thanks

Last login: Sun Jan 20 11:48:34 on ttys000
kekedeMacBook:~ keke$ bash
bash-3.2$ ruby -e "$(curl -fsSL" < /dev/null 2> /dev/null
==> This script will install:
==> Downloading and installing Homebrew...
HEAD is now at 60428d4dc Merge pull request #5562 from MikeMcQuaid/max-20-prs
Updated 1 tap (homebrew/core).
==> Updated Formulae
buku                       gnome-recipes              quicktype
geoipupdate                mps-youtube                spdlog
==> Deleted Formulae
apache-arrow                             apache-arrow-glib
==> Installation successful!

==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:

==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
==> Next steps:
- Run `brew help` to get started
- Further documentation:
bash-3.2$ brew install netpbm
Warning: netpbm 10.73.24 is already installed and up-to-date
To reinstall 10.73.24, run `brew reinstall netpbm`
bash-3.2$ exit
kekedeMacBook:~ keke$ curl -O
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
 21 2330M   21  491M    0     0   684k      0  0:58:07  0:12:15  0:45:52  150k
curl: (18) transfer closed with 1928927509 bytes remaining to read
kekedeMacBook:~ keke$ tar xvzf CD.tgz
x CD/
x CD/suma_demo.tgz
x CD/AFNI_data5.tgz: (Empty error message)
tar: Error exit delayed from previous errors.
kekedeMacBook:~ keke$ cd CD
kekedeMacBook:CD keke$ tcsh s2.cp.files . ~
s2.cp.files: No such file or directory.
kekedeMacBook:CD keke$ cd -check_all
-bash: cd: No such file or directory
kekedeMacBook:CD keke$ afni
-bash: afni: command not found
kekedeMacBook:CD keke$ suma
-bash: suma: command not found
kekedeMacBook:CD keke$


It looks like your download of CD.tgz failed. But you can
ignore that for now. Please open up a new terminal window
and run: -check_all

If that fails, please change it to:

~/abin/ -check_all


  • rick