g++: command not found

简介: g++: command not found

报错:

libtool: line 1125: g++: command not found

搜索

# yum search "gcc-c++"
已加载插件:fastestmirror, langpacks
Determining fastest mirrors
 * base: mirrors.aliyun.com
 * epel: mirrors.ustc.edu.cn
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
============================= N/S matched: gcc-c++ =============================
avr-gcc-c++.x86_64 : Cross Compiling GNU GCC targeted at avr
gcc-c++.x86_64 : C++ support for GCC

安装:

yum -y install "gcc-c++.x86_64"
目录
相关文章
|
9月前
|
开发者 iOS开发
no identity found Command CodeSign failed with a nonzero exit code
no identity found Command CodeSign failed with a nonzero exit code
138 0
Gulp zsh: command not found: gulp
Gulp zsh: command not found: gulp
184 0
|
Perl
Command PhaseScriptExecution failed with a nonzero exit code问题解决
在某次pod install后,run项目出现以下错误
838 0
autoreconf: command not found
autoreconf: command not found
509 0
g++: command not found
g++: command not found
89 0
|
Linux Shell Windows
Shell - line 2: $‘\r‘: command not found
拷贝脚本提交后报错 line 2: $'\r': command not found,但是这是别的同学可以运行后发给我的,随后开始排查。安装 dos2unix 需要使用 yum。安装 yum 需要使用 brew。
536 0
Shell - line 2: $‘\r‘: command not found
|
移动开发 Linux Shell
$‘\r‘: command not found的解决方法
在Linux系统中,运行Shell脚本,出现了如下错误: one-more.sh: line 1: $'\r': command not found 1 出现这样的错误,是因为Shell脚本在Windows系统编写时,每行结尾是\r\n,而在Linux系统中行每行结尾是\n,所以在Linux系统中运行脚本时,会认为\r是一个字符,导致运行错误。
1384 0
|
网络虚拟化 内存技术
|
网络虚拟化 内存技术
|
开发工具 git 人工智能