forked from CyberChad/Metaverse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
31 lines (23 loc) · 868 Bytes
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
#get prerequisites
sudo apt install git
sudo apt install python-pip
#-- anaconda for linux --
#gui packages
sudo apt install libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6
#big installer
#wget https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh
#mini installer
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
#build environment for soar
sudo apt install build-essential swig python-all-dev
#soar requires the jdk 8, and cannot run with 11+. Need to add this repo from archives
sudo apt repository ppa:openjdk-r/ppa
sudo apt update
openjdk-8-jdk
#build soar
cd Soar
python2 scons/scons.py all
#rebuild sml_python so we can call it from our Python 3 environment
sudo apt install python3-dev
python2 scons/scons.py sml_python --python=python3