Installation Overview - Redhat Enterprise Linux 7

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 Redhat repository, we first have to add the Extra Packages for Enterprise Linux (EPEL) repository.

> rpm -ihv http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm

Install all dependent packages and the base package of R.

> yum -y  install R-base 	

After that we have to install the development package of R and the dependent packages. Most of these packages are needed to compile the rJava package.

Before we can install the R-devel package, we have to add a couple of other packages from the Centos Repository.

> yum -y install texinfo
> rpm -ihv http://mirror.centos.org/centos/7/os/x86_64/Packages/texlive-epsf-svn21461.2.7.4-38.el7.noarch.rpm
> rpm -ihv http://mirror.centos.org/centos/7/os/x86_64/Packages/texinfo-tex-5.1-4.el7.x86_64.rpm
> yum -y  install R-devel

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.
> yum -y  install pcre-devel && \
	yum -y  install bzip2-devel && \
	yum -y  install zlib-devel && \
	yum -y  install libicu-devel && \
	yum -y  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://www.5analytics.com/download/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!