Skip to content

Linux Install

ICT4EO Research Group edited this page Mar 19, 2014 · 5 revisions

Vistrails Install

Download

You will first need to download and install VisTrails; the instructions on the VisTrails site are clear in this regard. (NOTE: EO4Vistrails has currently been tested with VisTrails 2.1.)

If you are running on Ubuntu, then read the Ubuntu install notes.

Installation

  1. In 2.1 and later of Vistrails, the package NumSciPy is not included as part of the standard Vistrails distribution. You need to download this package from the Vistrails packages, copy it into the vistrails/packages folder, and install as described above. This package depends on numpy, scipy and matplotlib - see below under Core Dependencies - which must all be installed before NumSciPy can work.

  2. Sometimes the automatic installation of missing packages for the core Vistrails package does not work, resulting in an error on startup. It may be necessary to install the python bindings for VTK and qt4. In Ubuntu:

    sudo apt-get install python-qt4-gl
    sudo apt-get install python-vtk
    

EO4Vistrails Install

Download

The latest trunk of the EO4VisTrails package can be accessed using Git (on Ubuntu: sudo apt-get install git) from the following URL.

git clone https://github.com/ict4eo/eo4vistrails/

Symlink the folder eo4vistrails into the packages directory of your VisTrails install and enable the package as directed by the VisTrails documentation. It is likely that you will get errors, and will need to install the dependencies outlined below.

Dependencies

Notes

  1. Before starting with EO4VisTrails, you will also need to make sure that a number of dependencies are installed. Note that in most cases you will need the Python bindings for these libraries as well.
  2. If you are using Ubuntu, please consider enabling the UbuntuGIS PPA.
  3. By installing QuantumGIS, some of the required libraries and python bindings are already installed as dependancies (e.g. gdal and qgis).
  4. Beside pysal and rpyc all packages can be installed from the Ubuntu repositories via apt-get. (You could also install python-setuptools to be able to use easy*install instead.)

Vistrails Dependencies

  1. As already noted above, the NumSciPy package will need to have been either enabled, or installed and enabled.
  2. Also ensure that the controlflow package is enabled.

Core Dependencies

Core dependencies must be in place for EO4VisTrails to work at all.

  • scipy - http://www.scipy.org/ (>= 0.8.0)
    • ubuntu: sudo apt-get install python-scipy
  • numpy - http://numpy.scipy.org/ (>= 0.9.0)
    • ubuntu: sudo apt-get install python-numpy
  • owslib - (currently shipped with EO4VisTrails)
  • qgis - http://www.qgis.org/ (>= 1.4.1)
    • ubuntu: sudo apt-get install qgis (this also installs gdal and the required python bindings python-qgis and python-gdal)
      • occasionally, obscure errors occur with QGIS bindings. Symptoms typically are errors that complain about missing symbols (C/C++). It remains unclear what the cause is, but a workaround is to remove the qgis-plugin-grass and qgis-plugin-grass-common packages.
  • gdal -
    • ubuntu: sudo apt-get install python-gdal This should have been installed as part of the QGIS install
  • matplotlib - http://http://matplotlib.sourceforge.net/ (>= 0.1.1)
    • ubuntu: sudo apt-get install python-matplotlib
  • python-qt4-sql - necessary for the OGC WPS module
    • ubuntu: sudo apt-get install python-qt4-sql
  • python-jinja2
    • ubuntu: sudo apt-get install python-jinja2
  • python-xlrd
    • ubuntu: sudo apt-get install python-xlrd
  • python-xlwt
    • ubuntu: sudo apt-get install python-xlwt

Other Dependencies

These other dependencies allow various other modules, such as R scripting and access to PostGIS, to work. These modules will be disabled (invisible) if the required dependencies are not in place (with warnings displayed in the console).

Clone this wiki locally