yum install gcc-c++ yum install cmake yum install git
gcc -v cmake --version git --version
若显示版本号,则表示安装成功。