报错提示:"g++: Command not found"


报错原因:缺少组件导致的


解决步骤:


1、通过 yum search "gcc-c++" 命令检查缺少组件的版本,毕竟不同系统需要安装的版本是不同的。

解决Linux “g++: Command not found“报错问题


2、安装对应版本 yum install "gcc-c++.x86_64" -y

解决Linux “g++: Command not found“报错问题


参考链接:https://www.laozuo.org/9596.html

相关文章: