-bash: gcc: command not found 没有安装GCC

    首先用命令 whereis gcc 查看安装的gcc位置,如果正常安装,会显示GCC的安装位置,否则出现下图:

    

    说明GCC没有安装。

   

    解决方法:centos下载GCC命令:yum install gcc


猜你喜欢

转载自blog.csdn.net/m0_37051593/article/details/80717088