Ubuntu安裝高版本的gcc以及多版本切換

 1、apt-get update 2、apt-get install -y gcc-7 g++-7  update-alternatives /usr/bin/gcc-5 50  --slave  update-alternatives /usr/bin/gcc-7 70  --slave add-apt-repository ppa:ubuntu-toolchain-r/test gcc  -
相關文章
相關標籤/搜索