= Downloading GRASS Source = (Note: for binary installers, go [https://grass.osgeo.org/download/ here]) [[TOC]] == Packaged Source == The source code of all official releases is available for download from: * For a release download list (GRASS GIS 5.x to 7.x), see '''[wiki:Release]''' overview page * Download at http://grass.osgeo.org/download/ or directly from * http://grass.osgeo.org/grass76/source/ (current) * http://grass.osgeo.org/grass74/source/ (old) * http://grass.osgeo.org/grass72/source/ (very old) * http://grass.osgeo.org/grass70/source/ (historical) * http://grass.osgeo.org/grass64/source/ (historical) * http://grass.osgeo.org/grass54/source/ (historical) == Weekly snapshots == Source code tarballs are available from here: * http://grass.osgeo.org/grass77/source/snapshot/ (development) * http://grass.osgeo.org/grass76/source/snapshot/ (stable) * http://grass.osgeo.org/grass74/source/snapshot/ (old stable) * http://grass.osgeo.org/grass72/source/snapshot/ (historical) * http://grass.osgeo.org/grass70/source/snapshot/ (historical) * http://grass.osgeo.org/grass64/source/snapshot/ (historical) == Subversion GRASS main source code repository == The GRASS GIS software lives in the [https://git-scm.com Git] source control system hosted by [https://github.com GitHub]. It can be browsed online using [https://github.com/OSGeo/grass 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 [wiki:Release 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 [wiki:RFC/2_LegalAspectsOfCodeContributions RFC 2: Legal aspects of code contributions]. Committers should take care to use https/ssh for access, and use their [https://github.com GitHub Account] for authentication. See also [wiki:HowToContribute How-To Contribute] and [wiki:HowToGit How-To Git]. == Git GRASS Addons source code repository == ''Want to contribute? Read on [wiki:HowToContribute#WriteaccesstotheGRASS-Addons-SVNrepository 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 [wiki:RFC/2_LegalAspectsOfCodeContributions RFC 2: Legal aspects of code contributions]. Committers should take care to use https/ssh for access, and use their [https://github.com GitHub Account] for authentication. See also [wiki:HowToContribute How-To Contribute] and [wiki:HowToGit How-To Git]. == Online browseable live web interfaces to source code repository == * !GitHub interfaces: * [https://github.com/OSGeo/grass GRASS Core Repository] * [https://github.com/OSGeo/grass-addons GRASS Addons 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. * http://svn.osgeo.org/grass * Online browseable UI, https://trac.osgeo.org/grass/browser == Historical CVS == * Our [http://freegis.org/cgi-bin/viewcvs.cgi/ 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 [http://josef.fsv.cvut.cz/cgi-bin/viewcvs.cgi/?root=grass-cvs-2007-12-09 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 [https://grasswiki.osgeo.org/wiki/Compile_and_Install here].