2019-02-19 05:01:30 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -ev
|
|
|
|
set -x
|
|
|
|
|
|
|
|
apt-get update -y
|
|
|
|
apt-get install -y apt-utils | true
|
|
|
|
apt-get install -y software-properties-common | true
|
|
|
|
apt-get install -y python-software-properties
|
|
|
|
apt-get update -y
|
2020-12-16 14:51:26 +01:00
|
|
|
add-apt-repository -y ppa:jonathonf/gcc
|
|
|
|
apt-get update -y
|
2019-02-19 05:01:30 +01:00
|
|
|
apt-get install -y cmake software-properties-common git make
|
2020-12-16 14:51:26 +01:00
|
|
|
apt-get install -y gcc-7 g++-7
|
2019-02-19 05:01:30 +01:00
|
|
|
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 90
|
2020-12-16 14:51:26 +01:00
|
|
|
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 90
|
2019-02-19 05:01:30 +01:00
|
|
|
apt-get install -y unzip zlib1g-dev
|
|
|
|
apt-get install -y libboost-all-dev
|