1g.version(1)                  Grass User's Manual                 g.version(1)
2
3
4

NAME

6       g.version  - Displays GRASS GIS version info.
7       Optionally also prints build or copyright information.
8

KEYWORDS

10       general, support, citing, copyright, version, license
11

SYNOPSIS

13       g.version
14       g.version --help
15       g.version [-cxbreg]  [--help]  [--verbose]  [--quiet]  [--ui]
16
17   Flags:
18       -c
19           Print also the copyright message
20
21       -x
22           Print also the citation options
23
24       -b
25           Print also the build information
26
27       -r
28           Print also the GIS library revision number and date
29
30       -e
31           Print also extended info for additional libraries
32           GDAL/OGR, PROJ.4, GEOS
33
34       -g
35           Print info in shell script style (including SVN revision number)
36
37       --help
38           Print usage summary
39
40       --verbose
41           Verbose module output
42
43       --quiet
44           Quiet module output
45
46       --ui
47           Force launching GUI dialog
48

DESCRIPTION

50       g.version prints to standard output the GRASS version number, date, the
51       GRASS GIS copyright (-c flag), and GRASS build information (-b flag).
52

NOTES

54       This program requires no command line arguments; the user simply  types
55       g.version on the command line to see the version number and date of the
56       GRASS GIS software currently being run by the user.
57
58       Information about GRASS GIS core GIS Library can be printed by -r flag.
59
60       Version numbers of additional libraries like PROJ.4, GDAL/OGR  or  GEOS
61       are printed by -e flag.
62
63       See also function version() from Python Scripting Library.
64       import grass.script as gcore
65       print gcore.version()
66

EXAMPLES

68   Basic info
69       g.version
70       GRASS 7.5.svn (2017)
71
72   GIS Library info
73       g.version -r
74       GRASS 7.5.svn (2017)
75       libgis Revision: 70829
76       libgis Date: 2017-04-04 09:43:02 +0200 (Tue, 04 Apr 2017)
77
78   Full info in shell script style
79       g.version -rge
80       version=7.5.svn
81       date=2017
82       revision=r71702M
83       build_date=2017-11-12
84       build_platform=x86_64-pc-linux-gnu
85       build_off_t_size=8
86       libgis_revision=70829
87       libgis_date="2017-04-04 09:43:02 +0200 (Tue, 04 Apr 2017) "
88       proj4=4.9.3
89       gdal=2.1.3
90       geos=3.6.1
91       sqlite=3.20.1
92

Citing GRASS GIS

94       The  GRASS Development Team has invested significant time and effort in
95       creating GRASS GIS, please cite it when using  it  for  data  analysis.
96       The GRASS GIS Web site offers citations in different styles.
97

AUTHORS

99       Michael Shapiro, U.S. Army Construction Engineering Research Laboratory
100       Extended  info  by  Martin Landa, Czech Technical University in Prague,
101       Czech Republic
102
103       Last changed: $Date: 2017-11-12 20:33:52 +0100 (Sun, 12 Nov 2017) $
104

SOURCE CODE

106       Available at: g.version source code (history)
107
108       Main index | General index | Topics index | Keywords index |  Graphical
109       index | Full index
110
111       © 2003-2019 GRASS Development Team, GRASS GIS 7.6.0 Reference Manual
112
113
114
115GRASS 7.6.0                                                       g.version(1)
Impressum