= Downloading GRASS Source = [[TOC(inline)]] == Packaged Source == All source releases are available for download from: * '''GRASS 6.3.0: Current technical preview release: [wiki:Release/6.3.0-News]''' * '''GRASS 6.2.3: Current stable release: [wiki:Release/6.2.3-News]''' * GRASS 6.2.2: Older stable release: [wiki:Release/6.2.2-News] * GRASS 5.4.1: Latest very old stable release: [wiki:Release/5.4.1-News] * '''Download at http://grass.osgeo.org/download/''' or directly from * http://grass.osgeo.org/grass70/source/ * http://grass.osgeo.org/grass64/source/ * http://grass.osgeo.org/grass63/source/ * http://grass.osgeo.org/grass62/source/ * http://grass.osgeo.org/grass54/source/ == Weekly snapshots == * http://grass.osgeo.org/grass63/source/snapshot/ == Subversion GRASS main source code repository == The GRASS GIS software lives in the [http://subversion.tigris.org/ Subversion] source control system. It can be browsed online using the [http://trac.osgeo.org/grass/browser Browse Source] button on the top bar. With the subversion client software installed, various versions can be accessed: === GRASS 7 === The new '''development''' version of '''GRASS 7''' can be extracted using the command: {{{ svn checkout https://svn.osgeo.org/grass/grass/trunk grass_trunk }}} === GRASS 6.4 === To extract the current '''development branch''' version of '''GRASS 6''' (leading to 6.4.0 stable) use the command: {{{ svn checkout https://svn.osgeo.org/grass/grass/branches/develbranch_6 grass6_devel }}} If you have a local trunk version and want to continue with GRASS 6 development, read here to easily [wiki:HowToSVN#Switchtherepository switch to this GRASS 6.4 development branch]. === GRASS 6.3 === To extract the current '''release branch''' version (technology preview) use the command: {{{ svn checkout https://svn.osgeo.org/grass/grass/branches/releasebranch_6_3 grass63_release }}} === GRASS 6.2 === To extract the old '''stable''' version use the command: {{{ svn checkout https://svn.osgeo.org/grass/grass/branches/releasebranch_6_2 grass62_release }}} Note: Write access to the Subversion repository is governed by [http://download.osgeo.org/grass/grass6_progman/rfc/rfc2_psc.html RFC 2: Legal aspects of code contributions]. Committers should take care to use https for access, and use their [http://www.osgeo.org/osgeo_userid OSGeo Userid] for authentication. === Comitting code to SVN (developers with write access) === A commit command might look something like: {{{ svn commit -m "Distinguish between raster and vector backends (bug #999)" main.c --username glynn }}} After your first commit SVN will remember your OSGeo user id and password so --username only has be used the first time. To add a new directory, please use (after checking that tmp files were removed and file permissions are appropriate): {{{ svn add newdir svn commit -m "New xyz functionality uploaded" newdir }}} == Subversion GRASS Addons source code repository == With the subversion client software installed, the current GRASS Addons can be extracted using the command: {{{ svn checkout https://svn.osgeo.org/grass/grass-addons grass-addons }}} Update access to the Subversion Addons repository is governed by [http://download.osgeo.org/grass/grass6_progman/rfc/rfc2_psc.html RFC 2: Legal aspects of code contributions]. Committers should take care to use https for access, and use their [http://www.osgeo.org/osgeo_userid OSGeo Userid] for authentication. A commit command might look something like: {{{ svn commit -m "Stereo DEM creation" main.c --username glynn }}} After your first commit SVN will remember your OSGeo user id and password so --username only has be used the first time. To add a new directory, please use (after checking that tmp files were removed and file permissions are appropriate): {{{ svn add newdir svn commit -m "New xyz functionality uploaded" newdir }}} == Subversion GRASS repository dumpstreams == Incremental dumpstreams of GRASS SVN repository are available at [http://svn.osgeo.org/dumps/grass/]. == Online browseable live web interfaces to source code repository == * [http://trac.osgeo.org/grass/browser/grass/ TracBrowser interface] * [http://josef.fsv.cvut.cz/cgi-bin/viewcvs.cgi/?root=grass-osgeo ViewCVS interface] (Subversion backup note: svnsync runs 3 times per day) * [http://svn.osgeo.org/grass/ Raw SVN server HTML interface] == Historical CVS == A copy of GRASS-CVS has been saved [http://josef.fsv.cvut.cz/cgi-bin/viewcvs.cgi/?root=grass-cvs-2007-12-09 here]. == Compilation notes for various operating systems == Please see [http://grass.osgeo.org/wiki/Compile_and_Install here].