安装gcc:sudo yum install gcc查看gcc版本:gcc --version
安装g++:sudo yum install gcc-c++ 查看g++版本:g++ --version
安装gdb:sudo yum install gdb查看gdb版本:gdb --version