REQUIREMENTS.html 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  5. <title>REQUIREMENTS to compile GRASS GIS 8</title>
  6. <link rel="stylesheet" href="grassdocs.css" type="text/css">
  7. </head>
  8. <body bgcolor="#FFFFFF">
  9. <h2>REQUIREMENTS to compile GRASS GIS 8</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="https://www.gnu.org/software/gcc/gcc.html">https://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="https://www.gnu.org/software/make/make.html">https://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="https://www.zlib.net">https://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="https://github.com/westes/flex">https://github.com/westes/flex</a>
  35. </li>
  36. <li><b>parser generator</b> (yacc, bison)
  37. <br>bison: <a href="https://www.gnu.org/software/bison/bison.html">https://www.gnu.org/software/bison/bison.html</a>
  38. </li>
  39. <li><b>PROJ</b> - Cartographic Projection Library<br>
  40. <a href="https://proj.org/">https://proj.org/</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="https://gdal.org">https://gdal.org</a>
  45. </li>
  46. <li><b>Python &gt;= 3.7</b> (for temporal framework, scripts, wxGUI, and ctypes interface)<br>
  47. <a href="https://www.python.org">https://www.python.org</a>
  48. </li>
  49. </ul>
  50. <h3>Optional packages:</h3>
  51. Note: also the respective development packages (commonly named xxx-dev or xxx-devel) need
  52. to be installed.
  53. <ul>
  54. <li><b>C++ Compiler</b> (required for the various C++ GRASS module)<br>
  55. gcc: <a href="https://www.gnu.org/software/gcc/gcc.html">https://www.gnu.org/software/gcc/gcc.html</a>
  56. </li>
  57. <li><b>bzip2</b>, needed for raster compression with bzip2<br>
  58. <a href="https://www.bzip.org">https://www.bzip.org</a>
  59. </li>
  60. <li><b>zstd</b> (Zstandard), needed for raster compression with zstd<br>
  61. <a href="https://facebook.github.io/zstd">https://facebook.github.io/zstd</a>
  62. </li>
  63. <li><b>FFTW 2.x or 3.x</b> (library for computing the Discrete Fourier Transform), required
  64. for i.fft and i.ifft and other modules<br>
  65. <a href="http://www.fftw.org">http://www.fftw.org</a>
  66. </li>
  67. <li><b>GEOS</b> (Geometry Engine library), needed for v.buffer and adds extended options
  68. to the v.select module<br>
  69. <a href="https://trac.osgeo.org/geos">https://trac.osgeo.org/geos</a>
  70. </li>
  71. <li><b>LAPACK / BLAS</b> (libraries for numerical computing) for GMATH library (GRASS Numerical Library)<br>
  72. <a href="https://www.netlib.org/lapack">https://www.netlib.org/lapack</a> (usually available on Linux distros)
  73. <br>
  74. <i>Note:</i> LAPACK/BLAS support is at time only needed for selected Addons
  75. <li><b>NetCDF</b> (for 3D raster netcdf export)<br>
  76. <a href="https://www.unidata.ucar.edu/software/netcdf/">https://www.unidata.ucar.edu/software/netcdf/</a>
  77. </li>
  78. <li>If hardware openGL support is missing in the X Server, <b>Mesa-3.x</b> (openGL clone)
  79. may be required for wxNVIZ<br>
  80. <a href="https://mesa3d.org/">https://mesa3d.org/</a>
  81. </li>
  82. <li><b>libpng</b> (for r.out.png and the PNG driver), usually already installed.<br>
  83. <a href="http://www.libpng.org/pub/png/libpng.html">http://www.libpng.org/pub/png/libpng.html</a>
  84. </li>
  85. <li><b>libtiff</b> (for r.out.tiff), usually already installed.<br>
  86. <a href="https://gitlab.com/libtiff/libtiff">https://gitlab.com/libtiff/libtiff</a>
  87. </li>
  88. <li><b>readline</b> for extra command prompt functionality
  89. <br><a href="https://tiswww.case.edu/~chet/readline/rltop.html">https://tiswww.case.edu/~chet/readline/rltop.html</a>
  90. <br><a href="ftp://ftp.gnu.org/gnu/readline">ftp://ftp.gnu.org/gnu/readline</a>
  91. </li>
  92. <li><b>PostgreSQL libraries</b> (for the PostgreSQL database interface and PostGIS support)<br>
  93. <a href="https://www.postgresql.org">https://www.postgresql.org</a>
  94. </li>
  95. <li><b>MariaDB/MySQL libraries</b> (for the MySQL database interface)<br>
  96. <a href="https://mariadb.org/">https://mariadb.org/</a>
  97. </li>
  98. <li><b>SQLite libraries</b> (for the SQLite database interface)<br>
  99. <a href="https://www.sqlite.org">https://www.sqlite.org</a>
  100. </li>
  101. <li><b>unixODBC</b> (for the ODBC database interface)<br>
  102. <a href="http://www.unixodbc.org">http://www.unixodbc.org</a>
  103. </li>
  104. <li><b>R Statistics</b> (for the R statistical language interface)<br>
  105. <a href="https://cran.r-project.org">https://cran.r-project.org</a>
  106. </li>
  107. <li><b>FreeType2</b> (for TrueType font support and d.text.freetype)<br>
  108. <a href="https://www.freetype.org/">https://www.freetype.org/</a>
  109. </li>
  110. <li><b>Ctypes</b> (for ctypes interface)<br>
  111. Ctypes can be added as a third-party module in Python 2.3 and 2.4
  112. - <a href="https://pypi.python.org/pypi/ctypes/1.0.2">https://pypi.python.org/pypi/ctypes/1.0.2</a><br>
  113. <a href="https://docs.python.org/library/ctypes.html">https://docs.python.org/library/ctypes.html</a>
  114. </li>
  115. <li><b>wxPython &gt;= 2.8.10.1</b> (for wxGUI)<br>
  116. <a href="https://www.wxpython.org">https://www.wxpython.org</a>
  117. </li>
  118. <li><b>NumPy &gt;= 1.0.4</b> (for various wxGUI components and pyGRASS)<br>
  119. <a href="https://numpy.org">https://numpy.org</a>
  120. </li>
  121. <li><b>Python dateutil Library</b> ("python-dateutil", needed for the tgrass modules t.*)<br>
  122. <a href="https://labix.org/python-dateutil">https://labix.org/python-dateutil</a>
  123. </li>
  124. <li><b>Python PLY Library (Python Lex-Yacc)</b> ("python-ply", needed for the temporal algebra in tgis)<br>
  125. <a href="https://www.dabeaz.com/ply">https://www.dabeaz.com/ply</a>
  126. </li>
  127. <li><b>Python Imaging Library or PILLOW</b> (highly recommended for wxGUI and necessary for wxGUI Cartographic Composer)<br>
  128. <a href="https://www.pythonware.com/products/pil">https://www.pythonware.com/products/pil</a>,
  129. newer versions are named "python-pillow"
  130. </li>
  131. <li><b>Python matplotlib &gt; 1.2</b> ("python-matplotlib", needed for the several wxGUI tools)<br>
  132. <a href="https://matplotlib.org/">https://matplotlib.org/</a>
  133. </li>
  134. <li><b>Python six Library</b> ("python-six", needed for Python API)<br>
  135. <a href="https://github.com/benjaminp/six">https://github.com/benjaminp/six</a>
  136. </li>
  137. <li><b>Python wxPython backend for python-matplotlib</b> ("python-matplotlib-wx", needed for e.g. g.gui.timeline)<br>
  138. <a href="https://matplotlib.org/">https://matplotlib.org/</a>
  139. </li>
  140. <li><b>python-termcolor</b> (recommended for g.search.modules)<br>
  141. <a href="https://pypi.python.org/pypi/termcolor">https://pypi.python.org/pypi/termcolor</a>
  142. </li>
  143. <li><b>six</b> (needed for cross-version Python compatibility)<br>
  144. <a href="https://pypi.python.org/pypi/six">https://pypi.python.org/pypi/six</a>
  145. </li>
  146. <li><b>FFMPEG or alternative</b> (for wxGUI Animation tool - g.gui.module),
  147. specifically ffmpeg tool<br>
  148. <a href="https://ffmpeg.org">https://ffmpeg.org</a>
  149. </li>
  150. <li><b>mpeg_encode or ppmtompeg tool</b> (for r.out.mpeg module)<br>
  151. <a href="https://ffmpeg.org">https://ffmpeg.org</a>
  152. </li>
  153. <li><b>Cairo &gt;= 1.5.8</b> (for Cairo driver)<br>
  154. <a href="https://cairographics.org">https://cairographics.org</a>
  155. </li>
  156. <!-- really needed? -->
  157. <li><b>AVCE00 and E00Compr Libraries</b> (avcimport)<br>
  158. <a href="https://avce00.maptools.org">https://avce00.maptools.org</a>
  159. </li>
  160. <li><b>git</b> (git for g.extension)<br>
  161. <a href="https://git-scm.com/">https://git-scm.com/</a><br>
  162. </li>
  163. <li><b>Subversion</b> (svn in g.extension to fetch code selectively from grass-addons on GitHub)<br>
  164. <a href="https://subversion.apache.org/">https://subversion.apache.org/</a><br>
  165. </ul>
  166. <h3>Note:</h3>
  167. <!-- since 2014 no longer supported: -->
  168. SUN Solaris users may go here to download precompiled libraries etc.:
  169. <br><a href="https://www.sunfreeware.com">https://www.sunfreeware.com</a>
  170. <p>
  171. <!-- no longer supported: -->
  172. SGI IRIX users may go here to download precompiled libraries etc.:
  173. <br><a href="https://freeware.sgi.com">https://freeware.sgi.com</a>
  174. <p>
  175. MacOSX users may go here to download precompiled libraries etc.:
  176. <br><a href="https://fink.sourceforge.net">https://fink.sourceforge.net</a>
  177. <p>
  178. <hr width="100%">
  179. <i>&copy; GRASS Development Team 1997-2022</i>
  180. <p>Please report bugs here:
  181. <br><a href="https://grass.osgeo.org/contribute/">https://grass.osgeo.org/contribute/</a>
  182. </body>
  183. </html>