## REQUIREMENTS to compile GRASS GIS 7

A workstation running some flavor of UNIX like Solaris, IRIX, GNU/Linux, BSD, Mac OS X, Cygwin or MinGW (on Win32). Ideally, you should have at least 500 Mb. The source code package needs around 80 MB compressed. The resulting binaries may need between 20 MB and 180 MB depending on your platform. During a full compilation you may need temporarily up to 550MB including the source code.

To disable features please read the INSTALL file.

### General requirements:

(most tools are standard tools on GNU/Linux, for other platforms you may have to install some of them.)

- C-compiler (cc, gcc, egcs, ...)
  gcc: http://www.gnu.org/software/gcc/gcc.html
- GNU make is recommended (at least version 3.81)
  http://www.gnu.org/software/make/make.html
- zlib compression library (already installed on most modern systems)
  It is used to internally compress GRASS raster maps.
  libz: http://www.zlib.net
- flex lexical analyzer generator (flex)
  Note: lex is no longer supported, please use flex instead.
  flex: http://www.gnu.org/software/flex/flex.html
- parser generator (yacc, bison)
  bison: http://www.gnu.org/software/bison/bison.html
- PROJ4 - Cartographic Projection Library
  http://trac.osgeo.org/proj
- GDAL/OGR for import and export of most external raster and vector map formats
  http://gdal.org
- Python >= 2.6 (for temporal framework, scripts, wxGUI, and ctypes interface)
  Note: Python 3 support is still in development
  http://www.python.org

### Optional requirements:

- C++ Compiler (required for the various C++ GRASS module)
  gcc: http://www.gnu.org/software/gcc/gcc.html
- FFTW 2.x or 3.x (library for computing the Discrete Fourier Transform), required for i.fft and i.ifft and other modules
  http://www.fftw.org
- GEOS (Geometry Engine library), adds extended options to the v.select module
  http://trac.osgeo.org/geos
- LAPACK / BLAS (libraries for numerical computing) for GMATH library (GRASS Numerical Library)
  http://www.netlib.org/lapack (usually available on Linux distros)
  Note: LAPACK/BLAS support is intended for future module implementations, no need to use it at time!
- NetCDF (for 3D raster netcdf export)
  http://www.unidata.ucar.edu/software/netcdf/
- If hardware openGL support is missing in the X Server, Mesa-3.x (openGL clone) may be required for wxNVIZ
  http://mesa3d.sourceforge.net
- libpng (for r.out.png and the PNG driver), usually already installed.
  http://www.libpng.org/pub/png/libpng.html
- libtiff (for r.out.tiff), usually already installed.
  http://www.remotesensing.org/libtiff
- readline for extra command prompt functionality
  http://tiswww.case.edu/~chet/readline/rltop.html
  ftp://ftp.gnu.org/gnu/readline
- PostgreSQL libraries (for the PostgreSQL database interface and PostGIS support)
  http://www.postgresql.org
- MySQL libraries (for the MySQL database interface)
  http://www.mysql.org
- SQLite libraries (for the SQLite database interface)
  http://www.sqlite.org
- unixODBC (for the ODBC database interface)
  http://www.unixodbc.org
- R Statistics (for the R statistical language interface)
  http://cran.r-project.org
- FreeType2 (for TrueType font support and d.text.freetype)
  http://freetype.sourceforge.net
- Ctypes (for ctypes interface)
  Ctypes can be added as a third-party module in Python 2.3 and 2.4 - http://pypi.python.org/pypi/ctypes/1.0.2
  http://docs.python.org/library/ctypes.html
- wxPython >= 2.8.10.1 (for wxGUI)
  http://www.wxpython.org
- NumPy >= 1.0.4 (for various wxGUI components and pyGRASS)
  http://numpy.org
- Python dateutil Library ("python-dateutil", needed for the tgrass modules t.*)
  http://labix.org/python-dateutil
- Python PLY Library (Python Lex-Yacc) ("python-ply", needed for the temporal algebra in tgis)
  http://www.dabeaz.com/ply
- Python Imaging Library or PILLOW (highly recommended for wxGUI and necessary for wxGUI Cartographic Composer)
  http://www.pythonware.com/products/pil, a newer version is "python-pillow"
- FFMPEG or alternative (for wxGUI Animation tool - g.gui.module), specifically ffmpeg tool
  http://ffmpeg.org
- mpeg_encode or ppmtompeg tool (for r.out.mpeg module)
  http://ffmpeg.org
- Cairo >= 1.5.8 (for Cairo driver)
  http://cairographics.org
- AVCE00 and E00Compr Libraries (avcimport)
  http://avce00.maptools.org

### Note:

SUN Solaris users may go here to download precompiled libraries etc.:
http://www.sunfreeware.com

SGI IRIX users may go here to download precompiled libraries etc.:
http://freeware.sgi.com

MacOSX users may go here to download precompiled libraries etc.:
http://fink.sourceforge.net

© GRASS Development Team 2001-2015

Please report bugs here:
http://grass.osgeo.org/development/bug-tracking/

Last changed: $Date: 2015-01-14 07:08:03 +0100 (st, 14 I 2015) $