1、安装gcc
//方法一 sudo apt-get build-dep gcc //方法二 sudo apt-get install build-essential
查看gcc版本
gcc --version