g.version (1)
NAME
g.version - Displays GRASS GIS version info.
Optionally also prints build or copyright information.
KEYWORDS
general, support, citing, copyright, version, license
SYNOPSIS
g.version
g.version --help
g.version [-cxbreg] [--help] [--verbose] [--quiet] [--ui]
Flags:
-c
Print also the copyright message
-x
Print also the citation options
-b
Print also the build information
-r
Print also the GIS library revision number and date
-e
Print also extended info for additional libraries
GDAL/OGR, PROJ.4, GEOS
-g
Print info in shell script style (including SVN revision number)
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--ui
Force launching GUI dialog
DESCRIPTION
g.version prints to standard output the GRASS version number, date, the GRASS GIS copyright (-c flag), and GRASS build information (-b flag).
NOTES
This program requires no command line arguments; the user simply types g.version on the command line to see the version number and date of the GRASS GIS software currently being run by the user.
Information about GRASS GIS core GIS Library can be printed by -r flag.
Version numbers of additional libraries like PROJ.4, GDAL/OGR or GEOS are printed by -e flag.
See also function version() from Python Scripting Library.
import grass.script as gcore
print gcore.version()
EXAMPLES
Basic info
g.version
GRASS 7.2.svn (2017)
GIS Library info
GRASS 7.2.0svn (2016)
libgis Revision: 68908
libgis Date: 2016-07-09 20:12:57 +0200 (Sat, 09 Jul 2016)
Full info in shell script style
g.version -rge
version=7.2.0svn
date=2016
revision=r70151M
build_date=2016-12-28
build_platform=x86_64-pc-linux-gnu
build_off_t_size=8
libgis_revision=68908
libgis_date="2016-07-09 20:12:57 +0200 (Sat, 09 Jul 2016) "
proj4=4.9.2
gdal=2.1.2
geos=3.5.0
sqlite=3.13.0
Citing GRASS GIS
The GRASS Development Team has invested significant time and effort in creating GRASS GIS, please cite it when using it for data analysis. The GRASS GIS Web site offers citations in different styles.
AUTHORS
Michael Shapiro, U.S. Army Construction Engineering Research Laboratory
Extended info by Martin Landa, Czech Technical University in Prague, Czech Republic
Last changed: $Date: 2017-01-01 20:48:33 +0100 (Sun, 01 Jan 2017) $
SOURCE CODE
Available at: g.version source code (history)
Main index | General index | Topics index | Keywords index | Graphical index | Full index
2003-2017 GRASS Development Team, GRASS GIS 7.2.1 Reference Manual