7.1.329. @update.afni.binariesΒΆ

Link to classic view

Update the AFNI binaries, either via ‘-defaults’ or by the ‘-bindir’ and/or ‘-package’ options.

examples:

@update.afni.binaries -defaults
@update.afni.binaries -package linux_xorg7

@update.afni.binaries -package linux_xorg7 -bindir ~/abin @update.afni.binaries -package linux_openmp_64

-programs file_tool python_scripts/*.py

options:

-help : show this help
-help_sys_progs : list system programs that block update
See -sys_ok for details.
-apsearch yes/no : specify getting apsearch updates -bindir ABIN : set AFNI binary directory to ABIN
-curl : default to curl instead of wget
-defaults : install current package into abin

-d : (short for -defaults)

This would be the method to ‘update the package that I am currently using’.

The package would be decided by ‘afni -ver’ and the directory would come from ‘which afni’. If either of these is not appropriate, the package would be determined by the OS (Linux or OSX allowed, 32 or 64-bits), and the install dir would be ~/abin.

If -bindir or -package cannot be determined, it must be supplied by the user.

26 Sep 2012 : -update_apsearch is applied by default
(if installed afni is in PATH)
-no_recur : do not download and run new @uab script -package PACKAGE : install distribution package PACKAGE

-prog_list PROGRAMS : install given programs, not whole PACKAGE

With this option, the listed programs would be installed, rather than the entire PACKAGE.

Note: directories are not allowed (e.g. meica.libs)

For example, consider:

-prog_list suma python_scripts/*.py

In this case, suma and the individual python files would all end up in abin, with no directories.

-quick : quick mode, no fancies

This option blocks unwanted or unneeded actions, mostly for testing. It basically applies:

-no_recur -apsearch no
-sys_ok

: OK to update, even if system progs found

If any system program (e.g. man, sudo, xterm, yum) is found, the default behavior is not to continue the update. Note that if ‘afni -ver’ shows a Debian package, then updates should be done via apt-get, not this program.

Use -sys_ok to all the update to proceed.

See -help_sys_progs for a list of checked system programs.

-test : just attempt the download and quit

-revert : revert binaries to previous version

Revert the AFNI binaries to those in directory ABIN/auto_backup.PACKAGE, where ABIN would otherwise be considered the installation directory.

Use this option if the last update of the binaries got you a lump of coal.

There should be only 1 backup to revert to. One cannot revert back 2 levels, say.

Note that the user must have write permissions in the ABIN directory.

Table Of Contents

This Page