Re-running g.extension on an installed GRASS GIS Addon extension re-installs the requested extension which may include updates.
In order to bulk-update all locally installed GRASS GIS extensions, they can be re-installed altogether by the g.extension.all module.
The flag -s changes this install target directory to the GRASS GIS installation directory (GISBASE, e.g. /usr/) rather than the default GRASS_ADDON_BASE directory (see also variables). g.extension checks if the user has permission to write to GISBASE or GRASS_ADDON_BASE.
On MS-Windows systems, g.extension downloads an executable from the GRASS GIS project server. On all other operating systems, it downloads the source code of the requested Addon and compiles it locally.
g.extension extension=r.stream.distance
g.extension extension=r.stream.distance operation=remove
g.extension -l
g.extension -a
GRASS GIS 7 Addons Manual pages
GRASS Addons wiki page.
Last changed: $Date$