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 8.2.0dev (2022)
71
72 GIS Library info
73 g.version -r
74 GRASS 8.2.0dev (2022)
75 libgis revision: c9e8576cf
76 libgis date: 2022-04-27T09:38:49+00:00
77
78 Full info in shell script style
79 g.version -rge
80 version=8.2.0dev
81 date=2022
82 revision=d57f40906
83 build_date=2021-05-23
84 build_platform=x86_64-pc-linux-gnu
85 build_off_t_size=8
86 libgis_revision=c9e8576cf
87 libgis_date=2022-04-27T09:38:49+00:00
88 proj=8.2.1
89 gdal=3.4.3
90 geos=3.9.2
91 sqlite=3.36.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 Accessed: Mon Jun 20 16:45:52 2022
111
112 Main index | General index | Topics index | Keywords index | Graphical
113 index | Full index
114
115 © 2003-2022 GRASS Development Team, GRASS GIS 8.2.0 Reference Manual
116
117
118
119GRASS 8.2.0 g.version(1)