Linux Prerequisites

Required Dependencies

GeoFIS requires the following libraries and tools to be installed (from package manager or apt-get install):

  • ‘subversion’ package
  • ‘rsync’ package
  • GNU C++ compiler ‘g++’
  • Java SE Development Kit ‘openjdk-8-jdk’ or ‘openjdk-7-jdk’. Run in command-line javac -version to check that Java compiler is correctly installed.
  • Apache Maven ‘maven’ >= 3
  • SWIG ‘swig’ >= 2.0.6
  • ‘libgmp-dev’ package
  • ‘libmpfr-dev’ package
  • ‘libgdal-dev’ package
  • ‘libgeos-dev’ package
  • ‘r-base’ >= 3. For Debian Wheezy users follow instructions to Upgrade and update R 2.15 to R 3.0 in Debian Wheezy
  • ‘libpcre3-dev’ package (required for R rJava package)
  • ‘libbz2-dev’ package (required for R rJava package)
  • ‘liblzma-dev’ package (required for R rJava package)
  • ‘zlib1g-dev’ package (required for R rJava package)
  • ‘libicu-dev’ package (required for R rJava package)
  • ‘gfortran’ package (required for R gstat package)
  • ‘liblapack-dev’ package (required for R gstat package)
  • ‘libtiff5-dev’ package (required for R EBImage package)
  • ‘libpng-dev’ or ‘libpng12-dev’ package (required for R EBImage package)
  • ‘libfftw3-dev’ package (required for R EBImage package)
  • ‘libcurl4-gnutls-dev’ package (required for R EBImage package)
  • ‘libxml2-dev’ package (required for R data.tree package)

Setting the JAVA_HOME

Export JAVA_HOME to the location of your JDK, e.g.:

    export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64