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-11-jdk’ or ‘openjdk-8-jdk’.
Run in terminaljavac -version
to check that Java compiler is correctly installed. - Apache Maven ‘maven’ >= 3
- SWIG ‘swig’ >= 3.0.10
- ‘libgmp-dev’ package
- ‘libmpfr-dev’ package
- ‘r-base’ >= 3.5
- ‘libpcre2-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)
- ‘libgeos++-dev’ package (required for R rgeos package)
- ‘libgdal-dev’ package (>= 1.11.4) (required for R rgdal package and CGAL library)
- ‘libproj-dev’ package (>= 4.8.0) (required for R rgdal package)
- ‘libudunits2-dev’ package (required for R units package)
Setting the JAVA_HOME
Export JAVA_HOME
to the location of your JDK:
export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::")