GRASS CVS Intro
GRASS: How can I download the latest source code version from CVS (yes, I am a newbie)?
Perhaps I only have a modem connection to the internet!
[The CVS is the Concurrent
Versioning System which is used to maintain GRASS source code. It is nice
as only new code is transfered over the network, which heavily reduces the traffic
(and maybe phone costs).]
To access the latest GRASS
source code from our CVS repository, do
following (this assumes you want the latest source code to GRASS-cvs; see
the page on CVS tags for more information
on obtaining source for other versions:
To reduce download time, either get
The snapshot contains the entire sources including the CVS subdirectories which you need to
synchronize later again with CVS for updates.
Extract this package as described in the README from the source directory. The full
sources of the GRASS Project require about 60 MB.
After extracting the sources, you have to login into the CVS. To set up your CVS client
for read access, simply set the environment variable CVSROOT to:
(Consult your shell or
cvs client on how to this. Example for unix bash:
or for csh or tcsh:
setenv CVSROOT :pserver:firstname.lastname@example.org:/home/grass/grassrepository
Then do a
and type "grass"
when you are asked for password (note: your system will remember this
Now update the snapshot (as code updates may be available): By invoking
cvs up -dP
the local GRASS code on your machine is compared to that of the CVS server.
Only new files will be transfered. This CVS command will update your GRASS source code. Note:
This is rather fast and will take maybe 5-15min. depending on your modem/network speed.
To compile, see the local INSTALL file (even for code optimization or compilation of
Updating the GRASS code later on:
NOTE: The snapshot has to be transmitted only a single time. For future updates
simply run the following command within the main GRASS source directory:
cvs up -dP
This will update your source code again (and again and...).
Enjoy ongoing GRASS development!
Go back to GRASS GIS FAQ...
Last Modified: $Date: 2008-03-27 21:31:14 +0000 (Thu, 27 Mar 2008) $