1g.version(1) GRASS GIS User's Manual g.version(1)
2
3
4
6 g.version - Displays GRASS GIS version info.
7 Optionally also prints build or copyright information.
8
10 general, support, citing, copyright, version, license
11
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, GEOS
33
34 -g
35 Print info in shell script style (including Git reference commit)
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
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
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, GDAL/OGR or GEOS are
61 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
68 Basic info
69 g.version
70 GRASS 7.8.dev (2019)
71
72 GIS Library info
73 g.version -r
74 GRASS 7.8.dev (2019)
75 libgis Revision
76 libgis Date
77
78 Full info in shell script style
79 g.version -rge
80 version=7.8.dev
81 date=2019
82 revision=d4879d401
83 build_date=2019-08-04
84 build_platform=x86_64-pc-linux-gnu
85 build_off_t_size=8
86 libgis_revision=060163d17
87 libgis_date="2017-04-04 09:43:02 +0200 (Tue, 04 Apr 2017) "
88 proj4=5.2.0
89 gdal=2.3.2
90 geos=3.7.1
91 sqlite=3.26.0
92 Note: if revision=exported is reported instead of the git hash then the
93 git program was not available during compilation of GRASS GIS and the
94 source code did not contain the .git/ subdirectory (requires e.g. to
95 git clone the GRASS GIS software repository.)
96
98 The GRASS Development Team has invested significant time and effort in
99 creating GRASS GIS, please cite it when using it for data analysis.
100 The GRASS GIS Web site offers citations in different styles.
101
103 Michael Shapiro, U.S. Army Construction Engineering Research Laboratory
104 Extended info by Martin Landa, Czech Technical University in Prague,
105 Czech Republic
106
108 Available at: g.version source code (history)
109
110 Main index | General index | Topics index | Keywords index | Graphical
111 index | Full index
112
113 © 2003-2020 GRASS Development Team, GRASS GIS 7.8.5 Reference Manual
114
115
116
117GRASS 7.8.5 g.version(1)