How to get RHESSys
Getting the RHESSys source code
The source for RHESSys and various tools for use with RHESSys is hosted on sourceforge and accessible via anonymous subversion access.
The latest stable release can be checked out with the following terminal window command:
$> svn co -r 318 https://rhessys.svn.sourceforge.net/svnroot/rhessys/trunk/
(the -r ### will download the latest RHESSys version deemed stable)
The latest development version can be checked out with the following terminal window command:
$> svn co https://rhessys.svn.sourceforge.net/svnroot/rhessys/trunk/
(this will download the most recent RHESSys version that was checked in and may still be undergoing bug fixes)
When the download completes, a message will print to the screen "Checked out revision ###". Take note of this revision number. A directory called 'trunk' will download (to the directory you are in) containing all the RHESSys code directories/files. It may be useful to append the revision number to the directory called trunk, i.e. trunk###, in the event you do not want future downloads to overwrite the code for this particular revision. Also, after compiling RHESSys, if the revision number is not already contained in the executable name, it may be useful to include it, i.e. rhessys5.15.r### (recommended).
While RHESSys itself is a stand alone C program that can be compiled and run on it's own, in order to install certain RHESSys programs (g2w to create a worldfile and CF to create a flowtable - required input files to run RHESSys), GRASS GIS libraries and header files must first be installed. Therefore, before compiling g2w and CF, you must first install GRASS GIS.