- yum -y install gcc
- yum -y install gcc-c++
- yum install make
- -- 或者
- yum groupinstall "Development Tools"
- -- 或者
- yum install gcc gcc-c++ kernel-devel
- #该片段来自于http://www.codesnippet.cn/detail/140520133353.html
来源: http://www.codesnippet.cn/detail/140520133353.html