Centos下安装gcc

虚拟机安装了一个CentOS7,发现没有gcc,通过以下命令安装:

yum install gcc 
yum install gcc-c++

原文地址:https://www.cnblogs.com/yshyee/p/8962386.html