Ubuntu切换软件版本 -
以g++为例
1. 将各个版本添加到列表中
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 11
sudo upda
2022-11-29