出现No package gcc+ available解决办法
系统
CentOS Linux release 7.4.1708 (Core)
安装gcc时报错
[root@ip-172-29-0-155 node-v10.15.3]# yum -y install gcc+ Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.aliyun.com * extras: mirrors.aliyun.com * updates: mirrors.aliyun.com No package gcc+ available.
解决办法
1)找到支持的版本
[root@ip-172-29-0-155 node-v10.15.3]# yum search "gcc-c++" Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.aliyun.com * extras: mirrors.aliyun.com * updates: mirrors.aliyun.com ================================================================================================================ N/S matched: gcc-c++ ================================================================================================================ gcc-c++.x86_64 : C++ support for GCC Name and summary matches only, use "search all" for everything.
2)安装
yum install gcc-c++.x86_64
作者:李先生
-------------------------------------------
个性签名:在平凡中坚持前行,总有一天会遇见不一样的自己!
如果觉得这篇文章对你有小小的帮助的话,记得在右下角点个“推荐”哦,博主在此感谢!
万水千山总是情,打赏一分行不行,所以如果你心情还比较高兴,也是可以扫码打赏博主,哈哈哈(っ•̀ω•́)っ✎⁾⁾!
微信公众号 微信打赏 支付宝打赏
posted on 2019-03-15 16:53 Captain_Li 阅读(14882) 评论(1) 编辑 收藏 举报