1 2 3 4 5 6 7 8 9 10 11 12 | #! /bin/bash # Tested on fresh install of Ubuntu 18.04 LTS # If you want parallel compilation, run `MAKEFLAGS="-j$(nproc)" ./install.sh` echo 'Installing dependencies via apt. You may be asked to enter your password.' sudo apt-get -qy install git build-essential cmake libboost-dev libboost-filesystem-dev libboost-serialization-dev libeigen3-dev libglew-dev libglfw3-dev libpng-dev python git submodule update --init --recursive mkdir -p build pushd build cmake .. make popd |