Unfortunately, GRASS GIS development version package for 7.0 is not in a good shape now. I would suggest to compile GRASS GIS from the source code. (Edit: GRASS GIS 7.0 was released, so situation is different; this was valid for September 2014, however the compilation can be advantageous anyway.)
You need to install compile tools and dependencies, download source code using SVN, configure, compile and install.
The steps are described here:
Go through the sections:
- Using pre-compiled dev Packages for PROJ.4, GEOS and GDAL
- Compile from source, subsection GRASS GIS
Here are the actual steps (partially mine, partially extracted from the wiki page):
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install \
flex make bison gcc libgcc1 g++ cmake ccache \
python python-dev \
python-wxversion python-wxtools python-wxgtk2.8 \
python-dateutil libgsl0-dev python-numpy \
wx2.8-headers wx-common libwxgtk2.8-dev libwxgtk2.8-dbg \
libwxbase2.8-dev libwxbase2.8-dbg \
zlib1g-dev gettext \
libtiff-dev libpnglite-dev \
libcairo2 libcairo2-dev \
sqlite3 libsqlite3-dev \
libreadline6 libreadline6-dev libfreetype6-dev \
libfftw3-3 libfftw3-dev \
libboost-thread-dev libboost-program-options-dev liblas-c-dev \
libav-tools libavutil-dev ffmpeg2theora \
libavformat-dev libswscale-dev \
sudo apt-get install libproj-dev
sudo apt-get install libgeos-dev
sudo apt-get install libgdal-dev
sudo apt-get install python-gdal
Navigate to the directory where you want the code and GRASS GIS to be compiled (e.g.
Then to get the latest code for 7.0 release use:
svn co https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0 grass70_release
Go to the directory which was created by
export CFLAGS="-O2 -Wall"
export CXXFLAGS="-O2 -Wall"
--with-freetype=yes --with-freetype-includes="/usr/include/freetype2/" \
--with-postgresql=yes --with-postgres-includes="/usr/include/postgresql" \
--with-mysql=yes --with-mysql-includes="/usr/include/mysql" \
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).
sudo make install
You can optionally not install but then you have to run GRASS GIS using full path to the source code directory (
To update the source code later, use:
And then compile again.
Time to time, you need to recompile everything, so do
and then start with configuration and continue with compilation and installation.