
Time to time, you need to recompile everything, so do make distcleanĪnd then start with configuration and continue with compilation and installation.
PYTHON COMMANDS FOR GRASS GIS UPDATE
To update the source code later, use: svn up First, a Python script must contain the so-called shebang (ie., the definition of the interpreter in the first line of the script) for which we here use. grass70_release), subdirectory bin, file grass70.
PYTHON COMMANDS FOR GRASS GIS INSTALL
You can optionally not install but then you have to run GRASS GIS using full path to the source code directory (. The number after -j is number of cores which should be used for compilation (this may speed up the compilation, it does not influence the result). with-liblas=yes -with-liblas-config=/usr/bin/liblas-config with-mysql=yes -with-mysql-includes="/usr/include/mysql" \ with-postgresql=yes -with-postgres-includes="/usr/include/postgresql" \ with-freetype=yes -with-freetype-includes="/usr/include/freetype2/" \ Go to the directory which was created by svn: cd grass70_release Then to get the latest code for 7.0 release use: svn co grass70_release ~/dev or ~/bin or /usr/local/src or /opt/. Navigate to the directory where you want the code and GRASS GIS to be compiled (e.g. If we run the Python commands from GUI Python console, we can use AddLayer to add the newly created layer: AddLayer('elevsmoothed') Calling GRASS GIS modules with textual input or output Textual output from modules can be captured using the readcommand () function. More dependencies: sudo apt-get install libproj-dev Libav-tools libavutil-dev ffmpeg2theora \ Libboost-thread-dev libboost-program-options-dev liblas-c-dev \ Libreadline6 libreadline6-dev libfreetype6-dev \ Wx2.8-headers wx-common libwxgtk2.8-dev libwxgtk2.8-dbg \ Python-dateutil libgsl0-dev python-numpy \ Python-wxversion python-wxtools python-wxgtk2.8 \ Here are the actual steps (partially mine, partially extracted from the wiki page): sudo apt-get update & sudo apt-get upgradeįlex make bison gcc libgcc1 g++ cmake ccache \

You need to install compile tools and dependencies, download source code using SVN, configure, compile and install. (Edit: GRASS GIS 7.0 was released, so situation is different this was valid for September 2014, however the compilation can be advantageous anyway.) I would suggest to compile GRASS GIS from the source code. Unfortunately, GRASS GIS development version package for 7.0 is not in a good shape now.
