解决Linux “g++: Command not found“报错问题
报错提示:"g++: Command not found"
报错原因:缺少组件导致的
解决步骤:
1、通过 yum search "gcc-c++" 命令检查缺少组件的版本,毕竟不同系统需要安装的版本是不同的。
2、安装对应版本 yum install "gcc-c++.x86_64" -y
报错提示:"g++: Command not found"
报错原因:缺少组件导致的
解决步骤:
1、通过 yum search "gcc-c++" 命令检查缺少组件的版本,毕竟不同系统需要安装的版本是不同的。
2、安装对应版本 yum install "gcc-c++.x86_64" -y