REQUIREMENTS.html 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. <title>REQUIREMENTS to compile GRASS GIS 7</title>
  6. <link rel="stylesheet" href="grassdocs.css" type="text/css">
  7. </head>
  8. <body bgcolor="#FFFFFF">
  9. <h2>REQUIREMENTS to compile GRASS GIS 7</h2>
  10. A workstation running some flavor of UNIX including GNU/Linux, Solaris, IRIX, BSD,
  11. Mac OSX, Cygwin or MinGW (on Win32/Win64). Ideally, you should have at least 800 MB of
  12. free disk space. The source code package needs disk space of around 26 MB compressed
  13. and 440MB uncompressed. The resulting binaries may need between 20 MB and 180 MB
  14. depending on your platform and compiler flags. During a full compilation you may need
  15. temporarily up to 550MB including the source code.
  16. <p>
  17. To enable and disable features please read the <a href="INSTALL">INSTALL</a> file.
  18. <h3>General requirements:</h3>
  19. (most tools are standard tools on GNU/Linux, for other platforms you may have
  20. to install some of them.)
  21. <ul>
  22. <li><b>C-compiler</b> (cc, gcc, egcs, ...)
  23. <br>gcc: <a href="http://www.gnu.org/software/gcc/gcc.html">http://www.gnu.org/software/gcc/gcc.html</a>
  24. </li>
  25. <li><b>GNU make</b> is recommended (at least version 3.81)
  26. <br><a href="http://www.gnu.org/software/make/make.html">http://www.gnu.org/software/make/make.html</a>
  27. </li>
  28. <li><b>zlib</b> compression library (already installed on most modern systems)
  29. <br>It is used to internally compress GRASS raster maps.
  30. <br>libz: <a href="http://www.zlib.net">http://www.zlib.net</a>
  31. </li>
  32. <li><b>flex</b> lexical analyzer generator (flex)
  33. <br>Note: lex is no longer supported, please use flex instead.
  34. <br>flex: <a href="http://www.gnu.org/software/flex/flex.html">http://www.gnu.org/software/flex/flex.html</a>
  35. </li>
  36. <li><b>parser generator</b> (yacc, bison)
  37. <br>bison: <a href="http://www.gnu.org/software/bison/bison.html">http://www.gnu.org/software/bison/bison.html</a>
  38. </li>
  39. <li><b>PROJ4</b> - Cartographic Projection Library<br>
  40. <a href="http://trac.osgeo.org/proj">http://trac.osgeo.org/proj</a>
  41. </li>
  42. <li><b>GDAL/OGR</b> for import and export of most external raster and vector
  43. map formats<br>
  44. <a href="http://gdal.org">http://gdal.org</a>
  45. </li>
  46. <li><b>Python &gt;= 2.6</b> (for temporal framework, scripts, wxGUI, and ctypes interface)<br>
  47. <i>Note:</i> Python 3 support is still in development<br>
  48. <a href="http://www.python.org">http://www.python.org</a>
  49. </li>
  50. </ul>
  51. <h3>Optional requirements:</h3>
  52. Note: also the respective development packages (commonly named xxx-dev or xxx-devel) need
  53. to be installed.
  54. <ul>
  55. <li><b>C++ Compiler</b> (required for the various C++ GRASS module)<br>
  56. gcc: <a href="http://www.gnu.org/software/gcc/gcc.html">http://www.gnu.org/software/gcc/gcc.html</a>
  57. </li>
  58. <li><b>FFTW 2.x or 3.x</b> (library for computing the Discrete Fourier Transform), required
  59. for i.fft and i.ifft and other modules<br>
  60. <a href="http://www.fftw.org">http://www.fftw.org</a>
  61. </li>
  62. <li><b>GEOS</b> (Geometry Engine library), needed for v.buffer and adds extended options
  63. to the v.select module<br>
  64. <a href="http://trac.osgeo.org/geos">http://trac.osgeo.org/geos</a>
  65. </li>
  66. <li><b>LAPACK / BLAS</b> (libraries for numerical computing) for GMATH library (GRASS Numerical Library)<br>
  67. <a href="http://www.netlib.org/lapack">http://www.netlib.org/lapack</a> (usually available on Linux distros)
  68. <br>
  69. <i>Note:</i> LAPACK/BLAS support is at time only needed for selected Addons
  70. <li><b>NetCDF</b> (for 3D raster netcdf export)<br>
  71. <a href="http://www.unidata.ucar.edu/software/netcdf/">http://www.unidata.ucar.edu/software/netcdf/</a>
  72. </li>
  73. <li>If hardware openGL support is missing in the X Server, <b>Mesa-3.x</b> (openGL clone)
  74. may be required for wxNVIZ<br>
  75. <a href="http://mesa3d.sourceforge.net">http://mesa3d.sourceforge.net</a>
  76. </li>
  77. <li><b>libpng</b> (for r.out.png and the PNG driver), usually already installed.<br>
  78. <a href="http://www.libpng.org/pub/png/libpng.html">http://www.libpng.org/pub/png/libpng.html</a>
  79. </li>
  80. <li><b>libtiff</b> (for r.out.tiff), usually already installed.<br>
  81. <a href="http://www.remotesensing.org/libtiff">http://www.remotesensing.org/libtiff</a>
  82. </li>
  83. <li><b>readline</b> for extra command prompt functionality
  84. <br><a href="http://tiswww.case.edu/~chet/readline/rltop.html">http://tiswww.case.edu/~chet/readline/rltop.html</a>
  85. <br><a href="ftp://ftp.gnu.org/gnu/readline">ftp://ftp.gnu.org/gnu/readline</a>
  86. </li>
  87. <li><b>PostgreSQL libraries</b> (for the PostgreSQL database interface and PostGIS support)<br>
  88. <a href="http://www.postgresql.org">http://www.postgresql.org</a>
  89. </li>
  90. <li><b>MySQL libraries</b> (for the MySQL database interface)<br>
  91. <a href="http://www.mysql.org">http://www.mysql.org</a>
  92. </li>
  93. <li><b>SQLite libraries</b> (for the SQLite database interface)<br>
  94. <a href="http://www.sqlite.org">http://www.sqlite.org</a>
  95. </li>
  96. <li><b>unixODBC</b> (for the ODBC database interface)<br>
  97. <a href="http://www.unixodbc.org">http://www.unixodbc.org</a>
  98. </li>
  99. <li><b>R Statistics</b> (for the R statistical language interface)<br>
  100. <a href="http://cran.r-project.org">http://cran.r-project.org</a>
  101. </li>
  102. <li><b>FreeType2</b> (for TrueType font support and d.text.freetype)<br>
  103. <a href="http://freetype.sourceforge.net">http://freetype.sourceforge.net</a>
  104. </li>
  105. <li><b>Ctypes</b> (for ctypes interface)<br>
  106. Ctypes can be added as a third-party module in Python 2.3 and 2.4
  107. - <a href="http://pypi.python.org/pypi/ctypes/1.0.2">http://pypi.python.org/pypi/ctypes/1.0.2</a><br>
  108. <a href="http://docs.python.org/library/ctypes.html">http://docs.python.org/library/ctypes.html</a>
  109. </li>
  110. <li><b>wxPython &gt;= 2.8.10.1</b> (for wxGUI)<br>
  111. <a href="http://www.wxpython.org">http://www.wxpython.org</a>
  112. </li>
  113. <li><b>NumPy &gt;= 1.0.4</b> (for various wxGUI components and pyGRASS)<br>
  114. <a href="http://numpy.org">http://numpy.org</a>
  115. </li>
  116. <li><b>Python dateutil Library</b> ("python-dateutil", needed for the tgrass modules t.*)<br>
  117. <a href="http://labix.org/python-dateutil">http://labix.org/python-dateutil</a>
  118. </li>
  119. <li><b>Python PLY Library (Python Lex-Yacc)</b> ("python-ply", needed for the temporal algebra in tgis)<br>
  120. <a href="http://www.dabeaz.com/ply">http://www.dabeaz.com/ply</a>
  121. </li>
  122. <li><b>Python Imaging Library or PILLOW</b> (highly recommended for wxGUI and necessary for wxGUI Cartographic Composer)<br>
  123. <a href="http://www.pythonware.com/products/pil">http://www.pythonware.com/products/pil</a>,
  124. newer versions are named "python-pillow"
  125. </li>
  126. <li><b>Python matplotlib &gt; 1.2</b> ("python-matplotlib", needed for the several wxGUI tools)<br>
  127. <a href="http://matplotlib.org/">http://matplotlib.org/</a>
  128. </li>
  129. <li><b>python-termcolor</b> (recommended for g.search.modules)<br>
  130. <a href="https://pypi.python.org/pypi/termcolor">https://pypi.python.org/pypi/termcolor</a>
  131. </li>
  132. <li><b>FFMPEG or alternative</b> (for wxGUI Animation tool - g.gui.module),
  133. specifically ffmpeg tool<br>
  134. <a href="http://ffmpeg.org">http://ffmpeg.org</a>
  135. </li>
  136. <li><b>mpeg_encode or ppmtompeg tool</b> (for r.out.mpeg module)<br>
  137. <a href="http://ffmpeg.org">http://ffmpeg.org</a>
  138. </li>
  139. <li><b>Cairo &gt;= 1.5.8</b> (for Cairo driver)<br>
  140. <a href="http://cairographics.org">http://cairographics.org</a>
  141. </li>
  142. <!-- really needed? -->
  143. <li><b>AVCE00 and E00Compr Libraries</b> (avcimport)<br>
  144. <a href="http://avce00.maptools.org">http://avce00.maptools.org</a>
  145. </li>
  146. <li><b>Subversion</b> (svn for g.extension)<br>
  147. <a href="https://subversion.apache.org/">https://subversion.apache.org/</a><br>
  148. </li>
  149. </ul>
  150. <h3>Note:</h3>
  151. <!-- since 2014 no longer supported: -->
  152. SUN Solaris users may go here to download precompiled libraries etc.:
  153. <br><a href="http://www.sunfreeware.com">http://www.sunfreeware.com</a>
  154. <p>
  155. <!-- no longer supported: -->
  156. SGI IRIX users may go here to download precompiled libraries etc.:
  157. <br><a href="http://freeware.sgi.com">http://freeware.sgi.com</a>
  158. <p>
  159. MacOSX users may go here to download precompiled libraries etc.:
  160. <br><a href="http://fink.sourceforge.net">http://fink.sourceforge.net</a>
  161. <p>
  162. <hr width="100%">
  163. <i>&copy; GRASS Development Team 1997-2017</i>
  164. <p>Please report bugs here:
  165. <br><a href="http://grass.osgeo.org/development/bug-tracking/">http://grass.osgeo.org/development/bug-tracking/</a>
  166. <p>
  167. <i>Last changed: $Date$</i>
  168. </body>
  169. </html>