wiki:DownloadSource

Version 97 (modified by martinl, 6 years ago) ( diff )

--

Downloading GRASS Source

(Note: for binary installers, go here)

Packaged Source

The source code of all official releases is available for download from:

Weekly snapshots

Source code tarballs are available from here:

Git GRASS main source code repository

The GRASS GIS software lives in the Git source control system hosted by GitHub. It can be browsed online using GitHub UI. With the Git client software installed, various versions can be accessed:

  git clone https://github.com/OSGeo/grass.git

GRASS 7.7

(used to have the pseudo-name 7.5.svn till August 2018)

(used to have the pseudo-name 7.3.svn till November 2017)

The development branch (master) version of GRASS 7 can be extracted using the command:

  git checkout master
  # subsequent updates:
  git pull

GRASS 7.6

To extract the current 7.6.x release branch version (stable), use the command:

  git checkout releasebranch_7_6
  # subsequent updates:
  git pull

GRASS 7.4

To extract the current 7.4.x release branch version (old), which may receives bugfixes, use the command:

  git checkout releasebranch_7_4
  # subsequent updates:
  git pull

GRASS 7.2

To extract the current 7.2.x release branch version (historical), use the command:

  git checkout releasebranch_7_2
  # subsequent updates:
  git pull

GRASS 7.0

Note: not recommended any more since May 2016

To extract the current 7.0.x release branch version (historical), use the command:

  git checkout releasebranch_7_0
  # subsequent updates:
  git pull

GRASS 6.4

To extract the current state of the old 6.4.x release branch version (historical), use the command:

  git clone https://github.com/OSGeo/grass-legacy.git
  cd grass-legacy
  git checkout releasebranch_6_4

To extract a specific release, e.g. the 6.4.0 release candidate 5 (RC5) from 2009, use the command:

  git checkout release_20100903_grass_6_4_0

Committing code to Git (developers with write access)

Note: Write access to the Git repository is governed by RFC 2: Legal aspects of code contributions. Committers should take care to use https/ssh for access, and use their GitHub Account for authentication. See also How-To Contribute and How-To Git.

Git GRASS Addons source code repository

Want to contribute? Read on here

With the Git client software installed, the current GRASS Addons can be extracted using the command:

  git clone https://github.com/OSGeo/grass-addons.git

Update access to the Git Addons repository is governed by RFC 2: Legal aspects of code contributions. Committers should take care to use https/ssh for access, and use their GitHub Account for authentication. See also How-To Contribute and How-To Git.

Online browseable live web interfaces to source code repository

Historical SVN

While SVN history for many individual files exists back to 1999. GRASS source code has been migrated to Git in May 2019.

Historical CVS

  • Our old GRASS 5/6.1 CVS at freegis.org (ViewCVS interface; no longer updated since move to OSGeo SVN)
  • A copy of GRASS-CVS has been saved here at the Czech Technical University in Prague (CZ), Faculty of Civil Engineering.

Historical checkouts

You can download the source code as it existed on a particular day as follows:

git checkout 'master@{2008-09-01}'

Compilation notes for various operating systems

Please see here.

Note: See TracWiki for help on using the wiki.