GRASS logo

NAME

g.extension - Tool to maintain GRASS extensions in local GRASS installation.
Downloads, installs extensions from GRASS Addons SVN repository into local GRASS installation or removes installed extensions.

KEYWORDS

general, extensions

SYNOPSIS

g.extension
g.extension help
g.extension [-lsu] [extension=name] [operation=name] svnurl=url [prefix=path] [--verbose] [--quiet]

Flags:

-l
List available modules in the GRASS Addons SVN repository
-s
Install system-wide (may need system administrator rights)
-u
Install system-wide using sudo
--verbose
Verbose module output
--quiet
Quiet module output

Parameters:

extension=name
Name of extension to install/remove
operation=name
Operation to be performed
Options: add,remove
Default: add
svnurl=url
SVN Addons repository URL
Default: http://svn.osgeo.org/grass/grass-addons/grass6
prefix=path
Prefix where to install extension
Default: $GRASS_ADDON_PATH

DESCRIPTION

g.extension downloads and installs extensions from GRASS Addons SVN repository into the local GRASS installation.

Re-running the script on an installed GRASS Addon re-installs the requested extension which may include updates.

If your GRASS_ADDON_PATH contains more than one path, the default action is to use the first directory in the list.

EXAMPLES

Download and install i.landsat.toar into current GRASS installation:
g.extension extension=i.landsat.toar

BUGS

This is a new module and obtaining successful behavior on all platforms is rather tricky. Please report any problems to the GRASS bug tracker. If this automatic build fails, instructions for compiling both the GRASS source code and GRASS addons by hand can be found in the GRASS wiki.

AUTHOR

Markus Neteler

Last changed: $Date: 2011-11-08 10:42:51 +0100 (Tue, 08 Nov 2011) $


Main index - general index - Full index

© 2003-2011 GRASS Development Team