Installing Open Foris Geospatial Toolkit

From Open Foris Wiki

Jump to: navigation, search
 
Line 6: Line 6:
#First make sure that you have installed all the necessary gdal and gsl libraries and tools. If you do not have them then download and install them by using following commands:
#First make sure that you have installed all the necessary gdal and gsl libraries and tools. If you do not have them then download and install them by using following commands:
-
##<pre>sudo apt-get install gcc</pre>
+
##<pre>sudo apt-get install gcc g++ gdal-bin libgdal1-dev libgsl0-dev libgsl0ldbl libproj-dev python-gdal python-scipy python-tk python-qt4 perl</prE>
-
##<pre>sudo apt-get install g++</pre>
+
-
##<pre>sudo apt-get install gdal-bin</pre>
+
-
##<pre>sudo apt-get install libgdal1-dev</pre>
+
-
##<pre>sudo apt-get install libgsl0-dev</pre>
+
-
##<pre>sudo apt-get install libgsl0ldbl</pre>
+
-
##<pre>sudo apt-get install python-gdal</pre>
+
-
##<pre>sudo apt-get install python-scipy</pre>
+
-
##<pre>sudo apt-get install python-tk</pre>
+
-
##<pre>sudo apt-get install perl</pre>
+
#Then download the OpenForisToolkit.run installer  
#Then download the OpenForisToolkit.run installer  
##<pre>wget http://foris.fao.org/static/geospatialtoolkit/releases/OpenForisToolkit.run</pre>
##<pre>wget http://foris.fao.org/static/geospatialtoolkit/releases/OpenForisToolkit.run</pre>
Line 42: Line 33:
==Windows Cygwin installation==
==Windows Cygwin installation==
-
WARNING: ADMINISTRATIVE PRIVILEGES ARE REQUIRED IN ORDER TO PERFORM THE INSTALLATIONS AND EVENTUALLY ALSO TO USE THE APPLICATION.
+
'''WARNING'''
 +
 
 +
'''ADMINISTRATIVE PRIVILEGES ARE REQUIRED''' IN ORDER TO PERFORM THE INSTALLATIONS AND EVENTUALLY '''ALSO TO USE THE APPLICATION'''.
 +
USERS WITH STANDARD PRIVILEGES MAY WANT TO CREATE A VIRTUAL MACHINE WITH [http://www.virtualbox.org VIRTUAL BOX] AND [http://www.ubuntu.com UBUNTU 12.04] WHERE ADMINISTRATIVE RIGHTS WILL BE REQUESTED ONLY FOR THE INSTALLATION.
The [http://www.cygwin.com/ Cygwin] project provides a Linux terminal in Windows.
The [http://www.cygwin.com/ Cygwin] project provides a Linux terminal in Windows.
Line 75: Line 69:
# Download the installer from the [http://trac.osgeo.org/gdal/wiki/DownloadSource gdal official repository] (e.g. [http://download.osgeo.org/gdal/1.10.1/gdal-1.10.1.tar.gz gdal-1.10.1.tar.gz])
# Download the installer from the [http://trac.osgeo.org/gdal/wiki/DownloadSource gdal official repository] (e.g. [http://download.osgeo.org/gdal/1.10.1/gdal-1.10.1.tar.gz gdal-1.10.1.tar.gz])
# Save it in your CygWin home folder (e.g. ''C:\cygwin\home'' or ''C:\cygwin64\home'') or in another destination of your choice
# Save it in your CygWin home folder (e.g. ''C:\cygwin\home'' or ''C:\cygwin64\home'') or in another destination of your choice
-
# Run CygWin ('''NOTE: FOR INSTALLATION, RUN CYGWIN AS ADMIN; Right click on Start > (All) Programs > CygWin > CygWin Terminal and Run as [admin credentials])
+
# Run CygWin ('''NOTE: FOR INSTALLATION, RUN CYGWIN AS ADMIN; Right click on Start > (All) Programs > CygWin > CygWin Terminal and Run as [admin credentials]''')
# Install GDAL using the following commands (the last two can take some time to complete)
# Install GDAL using the following commands (the last two can take some time to complete)
<pre>
<pre>
Line 95: Line 89:
== Get Info, Update, Unistall Open Foris Toolkit ==
== Get Info, Update, Unistall Open Foris Toolkit ==
#After the first installation, you can check the '''current version info''' with the command <pre>oft-info.bash</pre>  
#After the first installation, you can check the '''current version info''' with the command <pre>oft-info.bash</pre>  
-
#and '''update''' to the latest version using command <pre>oft-update.bash</pre>  
+
#and '''update''' to the latest version using command <pre>sudo oft-update.bash</pre>  
-
#You can also '''uninstall''' all the tools. To do that, enter the command:<pre>oft-uninstall.bash</pre>
+
#You can also '''uninstall''' all the tools. To do that, enter the command:<pre>sudo oft-uninstall.bash</pre>
# In case you do not need further CygWin packages, you can delete the folder created at step 6
# In case you do not need further CygWin packages, you can delete the folder created at step 6

Current revision as of 07:58, 27 July 2014

Personal tools