4.3.3 Install OML4R 2.0 packages, libraries and supporting packages on OML4R server

Instructions for installing OML4R 2.0 packages, libraries and its supporting packages (based on R 4.4.1) on OML4R server.

Note:

By default, the server.sh script installs the OML4R 2.0 packages and libraries along with the required supporting packages. If you have already installed the OML4R server using server.sh, you can skip the following steps.

To install OML4R 2.0 packages, libraries and its supporting packages (based on R 4.4.1) on the server, follow the steps below:

  1. The ORE script is shipped under the $ORACLE_HOME/bin directory, if it is not executable, run below command to make it executable.
    chmod +x $ORACLE_HOME/bin/ORE
  2. Go to the server/ directory and run the following commands to install the OML4R 2.0 packages on the server:
    cd server/
    
    ORE CMD INSTALL ORE_2.0_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL OREbase_2.0_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL OREcommon_2.0_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL OREdm_2.0_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL OREdplyr_2.0_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL OREeda_2.0_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL OREembed_2.0_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL OREgraphics_2.0_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL OREmodels_2.0_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL OREpredict_2.0_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL OREstats_2.0_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL OREserver_2.0_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL ORExml_2.0_R_x86_64-unknown-linux-gnu.tar.gz
    

    Note:

    The ORE CMD INSTALL command installs the packages to the $ORACLE_HOME/R/library directory, which is the R library location on the OML4R server.
  3. Go to the supporting/ directory and run the following commands to install the supporting packages on the server:
    cd supporting/
    
    ORE CMD INSTALL arules_1.7-3_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL assertthat_0.2.1_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL Cairo_1.5-15_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL cli_3.3.0_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL crayon_1.5.1_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL DBI_1.1.2_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL dplyr_1.0.9_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL ellipsis_0.3.2_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL fansi_1.0.3_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL generics_0.1.2_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL glue_1.6.2_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL lazyeval_0.2.2_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL lifecycle_1.0.1_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL magrittr_2.0.3_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL pillar_1.8.1_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL pkgconfig_2.0.3_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL png_0.1-8_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL purrr_0.3.4_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL R6_2.5.1_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL rlang_1.0.2_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL ROracle_1.5-0_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL statmod_1.4.36_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL tibble_3.2.1_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL tidyselect_1.1.2_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL utf8_1.2.2_R_x86_64-unknown-linux-gnu.tar.gz
    ORE CMD INSTALL vctrs_0.4.2_R_x86_64-unknown-linux-gnu.tar.gz
    
  4. Go to the server/ directory and copy the OML4R libraries to $ORACLE_HOME/lib.
    cd server/
    cp ore.so $ORACLE_HOME/lib
    cp librqe.so $ORACLE_HOME/lib
    

    Note:

    If these two shared libraries already exists under $ORACLE_HOME/bin, overwrite them.