## REQUIREMENTS to compile GRASS GIS 6

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 uncompressed. 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
- libncurses4.x/5.x (already installed on modern systems)
  http://www.gnu.org/software/ncurses/ncurses.html
  ftp://ftp.gnu.org/pub/gnu/ncurses
- X Window system for graphical output, development libraries (X development libraries, in some linux distributions they are separate packages, e.g. xlibs-dev or x11-server-devel)
  http://www.xfree.org
  http://www.x.org
  winGRASS note: As alternative a generic MS-Windows driver is under construction which does not require X11
- PROJ4 - Projection Library
  http://trac.osgeo.org/proj
- GDAL and OGR for import and export of most external raster and vector map formats
  http://gdal.osgeo.org

### Optional requirements:

- Tcl/Tk 8.x libraries (including the 'wish' program) to use the GRASS GUI menu system and the NVIZ visualization suite
  Some features of the new gis.m GIS manager may depend on version 8.4 or newer.
  see http://tcl.sourceforge.net
- If hardware openGL support is missing in the X Server, Mesa-3.x (openGL clone) may be required for NVIZ
  http://mesa3d.sourceforge.net
- C++ Compiler (required for the r.terraflow 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
- LAPACK / BLAS (libraries for numerical computing) for GMATH library (GRASS numerical lib)
  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!
- libpng (for r.out.png and the PNG driver), usually already installed.
  http://www.libpng.org/pub/png/libpng.html
- libjpeg (for r.out.tiff), usually already installed.
  http://www.ijg.org
  ftp://ftp.uu.net/graphics/jpeg
- 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)
  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
- Motif or Lesstif libraries (for the "xganim" module)
  http://www.lesstif.org
- R language (for the R statistical language interface)
  http://cran.r-project.org
- FreeType2 (for TrueType font support and d.text.freetype)
  http://www.freetype.org
- Python >= 2.4 (for wxGUI and ctypes interface)
  Note: Python 3 is not supported
  http://www.python.org
- 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.1.1 (for wxGUI, see file gui/wxpython/README)
  http://www.wxpython.org
- NumPy >= 1.0.4 (for wxPython-based GUI tools, see file gui/wxpython/README)
  http://numpy.scipy.org
- FFMPEG (for direct rendering of animations from NVIZ), including libavcodec, libavformat, libswscale
  http://ffmpeg.org
- Cairo >= 1.5.8 (Cairo graphics library
  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-2011

Please report bugs here:
http://grass.osgeo.org/bugtracking/index.php

Last changed: $Date: 2011-12-30 09:08:30 +0100 (Fri, 30 Dec 2011) $