Skip to content

g.extension.all

Rebuilds or removes all locally installed GRASS Addons extensions.

By default only extensions built against different GIS Library are rebuilt.

g.extension.all [-f] [operation=string] [--verbose] [--quiet] [--qq] [--ui]

Example:

g.extension.all

grass.script.run_command("g.extension.all", operation="rebuild", flags=None, verbose=None, quiet=None, superquiet=None)

Example:

gs.run_command("g.extension.all")

grass.tools.Tools.g_extension_all(operation="rebuild", flags=None, verbose=None, quiet=None, superquiet=None)

Example:

tools = Tools()
tools.g_extension_all()

This grass.tools API is experimental in version 8.5 and expected to be stable in version 8.6.

Parameters

operation=string
    Operation to be performed
    Allowed values: rebuild, remove
    Default: rebuild
-f
    Force operation (required for removal)

--help
    Print usage summary
--verbose
    Verbose module output
--quiet
    Quiet module output
--qq
    Very quiet module output
--ui
    Force launching GUI dialog

operation : str, optional
    Operation to be performed
    Allowed values: rebuild, remove
    Default: rebuild
flags : str, optional
    Allowed values: f
    f
        Force operation (required for removal)

verbose: bool, optional
    Verbose module output
    Default: None
quiet: bool, optional
    Quiet module output
    Default: None
superquiet: bool, optional
    Very quiet module output
    Default: None

operation : str, optional
    Operation to be performed
    Allowed values: rebuild, remove
    Default: rebuild
flags : str, optional
    Allowed values: f
    f
        Force operation (required for removal)

verbose: bool, optional
    Verbose module output
    Default: None
quiet: bool, optional
    Quiet module output
    Default: None
superquiet: bool, optional
    Very quiet module output
    Default: None

DESCRIPTION

g.extension.rebuild.all reinstalls and updates all locally installed GRASS Addons extensions in local GRASS installation. The extensions can be installed by g.extension. List of locally installed extensions can be printed by g.extension -a.

EXAMPLES

Rebuild locally installed extensions which were built against different GIS Library (see g.version -r)

g.extension.rebuild.all

Force to rebuild all locally installed extensions

g.extension.rebuild.all -f

SEE ALSO

g.extension

See also GRASS Addons wiki page.

AUTHOR

Martin Landa, Czech Technical University in Prague, Czech Republic

SOURCE CODE

Available at: g.extension.all source code (history)
Latest change: Friday Aug 08 09:39:19 2025 in commit ed72c71