安装:

yum -y install gcc automake autoconf libtool make

安装g++:

yum install gcc gcc-c++