Installation NativeRL - PathmindAI/nativerl GitHub Wiki

To "install NativeRL", you will need to obtain three files.

  1. OpenJDK
  2. NativeRL (you generated this already in step 2)
  3. Conda Environment (you generated this already in step 2)

From there, move these files into a fresh folder and run the commands below. Also, keep in mind that you'll need a Linux environment (e.g. Windows Linux Subsystem).

Install JDK

tar xf OpenJDK8U-jdk_x64_linux_hotspot_8u222b10.tar.gz rm -rf OpenJDK8U-jdk_x64_linux_hotspot_8u222b10.tar.gz

Build Anaconda Environment (Takes about 30 minutes)

mkdir -p conda cd conda tar xf ../rllibpack.tar.gz rm ../rllibpack.tar.gz source bin/activate cd ..

Unpack NativeRL

mkdir -p work cd work unzip ../nativerl-1.8.1-SNAPSHOT-bin.zip rm ../nativerl-1.8.1-SNAPSHOT-bin.zip mv nativerl-bin/* . mv examples/train.sh . cd .. ;

If all works correct, you should see the below.

installation_0

  1. conda folder containing your Conda environment.
  2. jdk8u222-b10 which contains OpenJDK.
  3. work which contains NativeRL itself.

installation_1

Inside the work folder, you should see a bunch of files and folders. This means everything worked correctly so just ignore those files for now.