no acceptable C compiler found in $PATH

转载自:https://blog.csdn.net/IT_LPF/article/details/107360501

 

========================================

 

Linux操作系统发生如下报错:

no acceptable C compiler found in $PATH,代表你没有安装C编译器

 

执行 yum -y install gcc-c++命令进行安装,安装完后,输入gcc -v检查是否安装成功,出现下图所示代表安装c编译器成功。

 

posted @ 2023-01-10 15:03  larybird  阅读(2102)  评论(0)    收藏  举报