linux缺少g++

yum whatprovides "*/g++"
Last metadata expiration check: 2:14:47 ago on Tue 20 Jul 2021 07:04:45 AM CST.
bash-completion-1:2.8-9.ky10.noarch : Completion for bash command
Repo        : @System
Matched from:
Filename    : /usr/share/bash-completion/completions/g++

bash-completion-1:2.8-9.ky10.noarch : Completion for bash command
Repo        : Kylin-Linux-Advanced-Server-10
Matched from:
Filename    : /usr/share/bash-completion/completions/g++

gcc-c++-7.3.0-20190804.h30.ky10.aarch64 : C++ support for GCC
Repo        : Kylin-Linux-Advanced-Server-10
Matched from:
Filename    : /usr/bin/g++

 

 yum install gcc-c++
Last metadata expiration check: 2:15:41 ago on Tue 20 Jul 2021 07:04:45 AM CST.
Dependencies resolved.
===============================================================================================================
 Package               Architecture  Version                        Repository                            Size
===============================================================================================================
Installing:
 gcc-c++               aarch64       7.3.0-20190804.h30.ky10        Kylin-Linux-Advanced-Server-10       6.6 M
Installing dependencies:
 libstdc++-devel       aarch64       7.3.0-20190804.h30.ky10        Kylin-Linux-Advanced-Server-10       1.1 M

Transaction Summary
===============================================================================================================
Install  2 Packages

Total size: 7.8 M
Installed size: 27 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                       1/1
  Installing       : libstdc++-devel-7.3.0-20190804.h30.ky10.aarch64                                       1/2
  Installing       : gcc-c++-7.3.0-20190804.h30.ky10.aarch64                                               2/2
  Running scriptlet: gcc-c++-7.3.0-20190804.h30.ky10.aarch64                                               2/2
  Verifying        : gcc-c++-7.3.0-20190804.h30.ky10.aarch64                                               1/2
  Verifying        : libstdc++-devel-7.3.0-20190804.h30.ky10.aarch64                                       2/2

Installed:
  gcc-c++-7.3.0-20190804.h30.ky10.aarch64            libstdc++-devel-7.3.0-20190804.h30.ky10.aarch64           

Complete!

上一篇:迅为iTOP3399开发板QT系统PCIE 4G移植-编译程序


下一篇:【树莓派】Centos8 aarch64 安装花生壳并配置内网穿透