forked from guicho271828/latplan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
executable file
·48 lines (38 loc) · 1.07 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/bin/bash
set -e
# errexit(){
# echo $@ >&2
# exit 1
# }
# if ! uname -a | grep Ubuntu ; then
# echo "This is not ubuntu! Modify install.sh by yourself" >&2
# fi
sudo apt install -y mercurial g++ cmake make python flex bison g++-multilib
git submodule update --init --recursive
(
cd downward
./build.py -j $(cat /proc/cpuinfo | grep -c processor) release64
)
# https://github.com/roswell/roswell/wiki/1.-Installation
sudo apt -y install git build-essential automake libcurl4-openssl-dev
git clone -b release https://github.com/roswell/roswell.git
(
cd roswell
sh bootstrap
./configure
make
sudo make install
ros setup
)
make -j 1 -C lisp
sudo apt -y install python3-pip python3-pil parallel \
bash-completion byobu htop parallel mosh git
pip3 install --user \
tensorflow keras h5py matplotlib progressbar2 \
timeout_decorator ansicolors scipy scikit-image
mkdir -p ~/.keras
cp keras-tf.json ~/.keras/keras.json
cat >> ~/.profile <<EOF
# This is added by latplan install.sh script.
export PYTHONPATH="$PWD:\$PYTHONPATH"
EOF