系统相关
首页 > 系统相关> > linux缺少g++

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!

标签:++,aarch64,c++,7.3,h30,20190804,linux,缺少,ky10
来源: https://www.cnblogs.com/shenggong/p/15033274.html