centos 7 安装gcc g++

yum install gcc gcc-c++

over.

ps:如果系统报yum命令未找到,退出重新登陆试试root。

原文地址:https://www.cnblogs.com/guazi/p/6498769.html