17 строки
419 B
Bash
17 строки
419 B
Bash
#!/bin/bash
|
|
|
|
# Install unixodbc-dev for development headers
|
|
#
|
|
apt-get -q -y install unixodbc-dev
|
|
|
|
apt-get update -y
|
|
apt-get install build-essential software-properties-common -y
|
|
add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
|
apt-get update -y
|
|
apt-get install gcc-7 g++-7 -y
|
|
apt-get install cmake -y
|
|
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 70 --slave /usr/bin/g++ g++ /usr/bin/g++-7
|
|
|
|
exit $?
|
|
|