ubuntu/debian多版本gcc共存
udo add-apt-repository ppa:ubuntu-toolchain-r/test -y
udo apt-get update -y
udo apt-get install gcc-7 g++-7 -y
udo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 50
udo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 50
udo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 70
udo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 70
update-alternatives --config gcc
update-alternatives --config g++