GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
g.version(1) GRASS GIS User's Manual g.version(1)

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

general, support, citing, copyright, version, license

g.version
g.version --help
g.version [-cxbreg] [--help] [--verbose] [--quiet] [--ui]

-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, GEOS
-g

Print info in shell script style (including Git reference commit)
--help

Print usage summary
--verbose

Verbose module output
--quiet

Quiet module output
--ui

Force launching GUI dialog

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

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, 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()


g.version
GRASS 7.8.dev (2019)


g.version -r
GRASS 7.8.dev (2019)
libgis Revision
libgis Date


g.version -rge
version=7.8.dev
date=2019
revision=d4879d401
build_date=2019-08-04
build_platform=x86_64-pc-linux-gnu
build_off_t_size=8
libgis_revision=060163d17
libgis_date="2017-04-04 09:43:02 +0200 (Tue, 04 Apr 2017) "
proj4=5.2.0
gdal=2.3.2
geos=3.7.1
sqlite=3.26.0

Note: if revision=exported is reported instead of the git hash then the git program was not available during compilation of GRASS GIS and the source code did not contain the .git/ subdirectory (requires e.g. to git clone the GRASS GIS software repository.)

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.

Michael Shapiro, U.S. Army Construction Engineering Research Laboratory
Extended info by Martin Landa, Czech Technical University in Prague, Czech Republic

Available at: g.version source code (history)

Main index | General index | Topics index | Keywords index | Graphical index | Full index

© 2003-2021 GRASS Development Team, GRASS GIS 7.8.6 Reference Manual

GRASS 7.8.6

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.