Installing Open Foris Geospatial Toolkit

From Open Foris Wiki

Jump to: navigation, search
Line 42: Line 42:
==Windows Cygwin installation==
==Windows Cygwin installation==
-
[http://www.cygwin.com/ Cygwin] projects provide a Linux terminal in Windows.
+
The [http://www.cygwin.com/ Cygwin] project provides a Linux terminal in Windows.
 +
# Download the setup.exe installer
 +
# Run it as admin
 +
# Ensure to flag the following options during the installation
 +
## under Devel
 +
### ''gcc-g++''
 +
### ''make''
 +
## under Web
 +
### ''wget''
 +
## under Libs
 +
### ''gsl''
 +
### ''gsl-app''
 +
### ''gsl-devel''
 +
### ''gsl-doc''
 +
# Accept to download the related dependencies
 +
# The installation may take some time
-
To compile the Open Foris you need to compile GDAL manually:
+
To compile the Open Foris Geospatial Toolkit you need to compile GDAL manually.
-
 
+
# Download the installer from the [http://trac.osgeo.org/gdal/wiki/DownloadSource gdal official repository] (e.g. gdal-1.8.1.tar.gz)
-
Download from the [http://trac.osgeo.org/gdal/wiki/DownloadSource gdal official repository] (e.g gdal-1.8.1.tar.gz) and install using the following commands commands:
+
# Save it in your CygWin home folder (e.g. ''C:\cygwin\home\[username]'')
 +
# Run CygWin ('''NOTE: FOR INSTALLATION, RUN CYGWIN AS ADMIN; at least "make install" and "./OpenForisToolkit.run"''')
 +
# Install GDAL using the following commands
<pre>
<pre>
-
cd ~
+
cd [folder containing gdal-1.8.1.tar.gz]
-
tar -xvwzf gdal-1.8.1.tar.gz
+
tar -xvzf gdal-1.8.1.tar.gz
cd gdal-1.8.1
cd gdal-1.8.1
./configure
./configure
Line 56: Line 73:
</pre>
</pre>
-
By the cygwin setup.exe select gsl library (http://www.gnu.org/software/gsl/): gsl , gsl-app , gsl-devel , gsl-doc
+
At this point you can install OpenForis. Still in CygWin, run the following commands:
-
and install.
+
<pre>
-
 
+
wget http://foris.fao.org/static/geospatialtoolkit/releases/OpenForisToolkit.run
-
At this point you can install OpenForis:
+
chmod u+x OpenForisToolkit.run
-
<pre>wget http://foris.fao.org/static/geospatialtoolkit/
releases/OpenForisToolkit.run</pre>
+
./OpenForisToolkit.run
-
<pre>chmod u+x OpenForisToolkit.run</pre>
+
</pre>
-
<pre>./OpenForisToolkit.run</pre>
+
== Get Info, Update, Unistall Open Foris Toolkit ==
== Get Info, Update, Unistall Open Foris Toolkit ==

Revision as of 12:35, 15 July 2013

Personal tools