安装g++:
sudo apt-get install g++
安装失败提示maybe run apt-get update or try with --fix-missing
此时,用g++ -v 查看也没有版本信息
那么,我们执行
sudo apt-get clean
sudo apt-get update
再重新安装g++就OK啦
当尝试使用sudoapt-getinstallg++命令安装g++时遇到错误,可能需要运行apt-getupdate或尝试带有--fix-missing参数的安装。如果g++版本信息缺失,可以执行apt-getclean和apt-getupdate,然后重新安装g++以解决问题。
安装g++:
sudo apt-get install g++
安装失败提示maybe run apt-get update or try with --fix-missing
此时,用g++ -v 查看也没有版本信息
那么,我们执行
sudo apt-get clean
sudo apt-get update
再重新安装g++就OK啦
1万+
5765
7538
7655
1万+

被折叠的 条评论
为什么被折叠?