yum -y installgccyum -y installgcc-c++ yum installmake 或者yum groupinstall "Development Tools" 或者yum installgcc gcc-c++ kernel-devel