Installation Overview - openSUSE Leap 42.1

Java

Download the latest version of the Oracle JRE. If you want to compile your rJava you need the JDK wich contains the necessary libraries and header files.

> wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.rpm

Install the JDK.

> rpm -i jdk-8u101-linux-x64.rpm 

R

To install R from the OpenSuse repository, we first have to add the appropriate repository.

> zypper --non-interactive addrepo --no-gpgcheck http://download.opensuse.org/repositories/devel:/languages:/R:/released/openSUSE_Leap_42.1/ R-released 

Install all dependent packages and the base package of R. Most of these packages are neede to compile the rJava package.

> zypper install R-base	

Install the relevant packages (rJava) of R. If the Java Development Kit (JDK) is missing or not registered in R Make sure R is configured with full Java support (including JDK). Run

> R CMD javareconf
as root to add Java support to R.

If you don't have root privileges, run

> R CMD javareconf -e
to set all Java-related variables and then install rJava.

Before you can install rJava, it might be necessary to install the following libraries.
> zypper --non-interactive install pcre-devel && \
	zypper --non-interactive install libbz2-devel && \
	zypper --non-interactive install zlib-devel && \
	zypper --non-interactive install libicu-devel && \
	zypper --non-interactive install xz-devel
No it's time to start R.
> R 
In R you can install rJava with the following command.
> install.packages("rJava",dependencies=T) 

Installation of Python

Install Python 2.7

zypper install python python-setuptools python-devel python-pip

Install the py4J Python library and the library for creating wheel files

pip2 install py4j wheel

To use the scientific computing part, you need basic packages for scientific computing (numpy and scipy). If you do not want to use these packages, you can skip this step (If you want to run the unit tests, disable the corresponding tests in ScientificPythonTest).

zypper install python-numpy python-scipy
pip2 install nltk

If you want to use Python 3, you need to use the corresponding operating system packages for Python 3 (e.g., python3, python3-setuptools, ..). Use pip3 instead of pip2 to install the Python packages.

Install the 5Analytics AI Platform

> curl -L http://download.5analytics.com/dist/ada-latest.noarch.rpm 
> rpm -i ada-latest.noarch.rpm 

Install the 5Analytics R Package.

>  R CMD INSTALL /opt/ada/FiveA_*.tar.gz 
get_appGet our Community Edition
or visit our Homepage!