Loaded plugins: fastestmirror, security

Loading mirror speeds from cached hostfile

* base: mirrors.163.com

* extras: mirrors.cqu.edu.cn

* updates: mirrors.nwsuaf.edu.cn

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package gcc.x86_64 0:4.4.7-3.el6 will be updated

--> Processing Dependency: gcc = 4.4.7-3.el6 for package: gcc-gfortran-4.4.7-3.el6.x86_64

---> Package gcc.x86_64 0:4.4.7-11.el6 will be an update

--> Processing Dependency: libgomp = 4.4.7-11.el6 for package: gcc-4.4.7-11.el6.x86_64

--> Processing Dependency: cpp = 4.4.7-11.el6 for package: gcc-4.4.7-11.el6.x86_64

--> Processing Dependency: libgcc >= 4.4.7-11.el6 for package: gcc-4.4.7-11.el6.x86_64

---> Package gcc-c++.x86_64 0:4.4.7-3.el6 will be updated

---> Package gcc-c++.x86_64 0:4.4.7-11.el6 will be an update

--> Processing Dependency: libstdc++ = 4.4.7-11.el6 for package: gcc-c++-4.4.7-11.el6.x86_64

---> Package libstdc++-devel.x86_64 0:4.4.7-3.el6 will be updated

---> Package libstdc++-devel.x86_64 0:4.4.7-11.el6 will be an update

--> Running transaction check

---> Package cpp.x86_64 0:4.4.7-3.el6 will be updated

---> Package cpp.x86_64 0:4.4.7-11.el6 will be an update

---> Package gcc-gfortran.x86_64 0:4.4.7-3.el6 will be updated

---> Package gcc-gfortran.x86_64 0:4.4.7-11.el6 will be an update

--> Processing Dependency: libgfortran = 4.4.7-11.el6 for package: gcc-gfortran-4.4.7-11.el6.x86_64

---> Package libgcc.x86_64 0:4.4.7-3.el6 will be updated

---> Package libgcc.x86_64 0:4.4.7-11.el6 will be an update

---> Package libgomp.x86_64 0:4.4.7-3.el6 will be updated

---> Package libgomp.x86_64 0:4.4.7-11.el6 will be an update

---> Package libstdc++.x86_64 0:4.4.7-3.el6 will be updated

---> Package libstdc++.x86_64 0:4.4.7-11.el6 will be an update

--> Running transaction check

---> Package libgfortran.x86_64 0:4.4.7-3.el6 will be updated

---> Package libgfortran.x86_64 0:4.4.7-11.el6 will be an update

--> Finished Dependency Resolution

Dependencies Resolved

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

Package                    Arch              Version                  Repository       Size

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

Updating:

gcc                        x86_64            4.4.7-11.el6             base             10 M

gcc-c++                x86_64            4.4.7-11.el6             base            4.7 M

libstdc++-devel            x86_64            4.4.7-11.el6             base            1.6 M

Updating for dependencies:

cpp                        x86_64            4.4.7-11.el6             base            3.7 M

gcc-gfortran           x86_64            4.4.7-11.el6             base            4.7 M

libgcc                     x86_64            4.4.7-11.el6             base            102 k

libgfortran                x86_64            4.4.7-11.el6             base            267 k

libgomp                    x86_64            4.4.7-11.el6             base            133 k

libstdc++                  x86_64            4.4.7-11.el6             base            294 k

Transaction Summary

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

Upgrade       9 Package(s)

Total download size: 26 M

Downloading Packages:

(1/9): cpp-4.4.7-11.el6.x86_64.rpm                                    | 3.7 MB     00:04

(2/9): gcc-4.4.7-11.el6.x86_64.rpm                                    |  10 MB     00:10

(3/9): gcc-c++-4.4.7-11.el6.x86_64.rpm                                | 4.7 MB     00:04

(4/9): gcc-gfortran-4.4.7-11.el6.x86_64.rpm                           | 4.7 MB     00:05

(5/9): libgcc-4.4.7-11.el6.x86_64.rpm                                 | 102 kB     00:00

(6/9): libgfortran-4.4.7-11.el6.x86_64.rpm                            | 267 kB     00:00

(7/9): libgomp-4.4.7-11.el6.x86_64.rpm                                | 133 kB     00:00

(8/9): libstdc++-4.4.7-11.el6.x86_64.rpm                              | 294 kB     00:00

(9/9): libstdc++-devel-4.4.7-11.el6.x86_64.rpm                        | 1.6 MB     00:01

---------------------------------------------------------------------------------------------

Total                                                        951 kB/s |  26 MB     00:27

Running rpm_check_debug

Running Transaction Test Transaction Test Succeeded

Running Transaction

Updating   : libgcc-4.4.7-11.el6.x86_64                                               1/18

Updating   : libstdc++-4.4.7-11.el6.x86_64                                            2/18

Updating   : libstdc++-devel-4.4.7-11.el6.x86_64                                      3/18

Updating   : cpp-4.4.7-11.el6.x86_64                                                  4/18

Updating   : libgomp-4.4.7-11.el6.x86_64                                              5/18

Updating   : gcc-4.4.7-11.el6.x86_64                                                  6/18

Updating   : libgfortran-4.4.7-11.el6.x86_64                                          7/18

Updating   : gcc-gfortran-4.4.7-11.el6.x86_64                                         8/18

Updating   : gcc-c++-4.4.7-11.el6.x86_64                                              9/18

Cleanup    : gcc-c++-4.4.7-3.el6.x86_64                                              10/18

Cleanup    : gcc-gfortran-4.4.7-3.el6.x86_64                                         11/18

Cleanup    : libstdc++-devel-4.4.7-3.el6.x86_64                                      12/18

Cleanup    : gcc-4.4.7-3.el6.x86_64                                                  13/18

Cleanup    : libstdc++-4.4.7-3.el6.x86_64                                            14/18

Cleanup    : libgcc-4.4.7-3.el6.x86_64                                               15/18

Cleanup    : cpp-4.4.7-3.el6.x86_64                                                  16/18

Cleanup    : libgomp-4.4.7-3.el6.x86_64                                              17/18

Cleanup    : libgfortran-4.4.7-3.el6.x86_64                                          18/18

Verifying  : libstdc++-4.4.7-11.el6.x86_64                                            1/18

Verifying  : gcc-4.4.7-11.el6.x86_64                                                  2/18

Verifying  : gcc-c++-4.4.7-11.el6.x86_64                                              3/18

Verifying  : libgfortran-4.4.7-11.el6.x86_64                                          4/18

Verifying  : libgcc-4.4.7-11.el6.x86_64                                               5/18

Verifying  : libgomp-4.4.7-11.el6.x86_64                                              6/18

Verifying  : libstdc++-devel-4.4.7-11.el6.x86_64                                      7/18

Verifying  : cpp-4.4.7-11.el6.x86_64                                                  8/18

Verifying  : gcc-gfortran-4.4.7-11.el6.x86_64                                         9/18

Verifying  : gcc-c++-4.4.7-3.el6.x86_64                                              10/18

Verifying  : libgfortran-4.4.7-3.el6.x86_64                                          11/18

Verifying  : gcc-4.4.7-3.el6.x86_64                                                  12/18

Verifying  : libgomp-4.4.7-3.el6.x86_64                                              13/18

Verifying  : libgcc-4.4.7-3.el6.x86_64                                               14/18

Verifying  : cpp-4.4.7-3.el6.x86_64                                                  15/18

Verifying  : gcc-gfortran-4.4.7-3.el6.x86_64                                         16/18

Verifying  : libstdc++-devel-4.4.7-3.el6.x86_64                                      17/18

Verifying  : libstdc++-4.4.7-3.el6.x86_64                                            18/18

Updated:

gcc.x86_64 0:4.4.7-11.el6                         gcc-c++.x86_64 0:4.4.7-11.el6

libstdc++-devel.x86_64 0:4.4.7-11.el6

Dependency Updated:

cpp.x86_64 0:4.4.7-11.el6                  gcc-gfortran.x86_64 0:4.4.7-11.el6

libgcc.x86_64 0:4.4.7-11.el6               libgfortran.x86_64 0:4.4.7-11.el6

libgomp.x86_64 0:4.4.7-11.el6              libstdc++.x86_64 0:4.4.7-11.el6

Complete!

安装g++,在centos上执行yum -y install gcc gcc-c++ libstdc++-devel的更多相关文章

  1. yum -y install pip No package pip available. Error: Nothing to do

    centos下安装pip时失败: [root@wfm ~]# yum -y install pipLoaded plugins: fastestmirror, refresh-packagekit, ...

  2. 在centos上使用yum安装rabbitmq-server

    rabbitmq及其依赖环境 rabbitmq安装之前需要安装socat,否则直接安装rabbitmq可能会报错 如果没有找到,则先安装epel源 yum -y install epel-releas ...

  3. CentOS上使用yum安装Apache

    关键词 CentOS上使用yum安装Apache 摘要 Apache在Linux系统中,其实叫“httpd”,它“无耻的”占据了官方名义!CentOS可以使用yum命令,非常简单和容易的安装Apach ...

  4. 【在下版本,有何贵干?】Dockerfile中 RUN yum -y install vim失败Cannot prepare internal mirrorlist: No URLs in mirrorlist

    隐秘的版本问题---- Dockerfile中 RUN yum -y install vim失败Cannot prepare internal mirrorlist: No URLs in mirro ...

  5. yum -y install与yum install有什么不同

    yum -y install 包名(支持*) :自动选择y,全自动 yum install 包名(支持*) :手动选择y or n yum remove 包名(不支持*) rpm -ivh 包名(支持 ...

  6. Centos7 下 yum -y install ntp 出现/var/run/yum.pid 已被锁定

    [root@localhost ~ ]# yum -y install ntp已加载插件:fastestmirror, langpacksRepodata is over 2 weeks old. I ...

  7. yum -y install 和yum install 的区别

    yum -y install 包名(支持*) :自动选择y,全自动 yum install 包名(支持*) :手动选择y or n yum remove 包名(不支持*) rpm -ivh 包名(支持 ...

  8. yum -y install 问题解决

    1.错误如下: Last login: Thu Jul 26 09:04:14 2018 from 192.168.3.250[root@diagbot01 ~]# yum -y install do ...

  9. yum -y install python-devel

    yum -y install python-devel的时候报错如图: Could not retrieve mirrorlist http://mirrorlist.centos.org/?rele ...

随机推荐

  1. JVM(4) 虚拟机性能监控与故障处理工具

    1. Sun JDK 监控和故障处理工具 1)jps:JVM process Status Tool,显示指定系统内所有的HotSpot虚拟机进程.可以列出正在运行的虚拟机进程,并显示虚拟机执行主类( ...

  2. with as (cte common table expression) 公共表表达式

    SQL中 with as 的用法——使用公用表表达式(CTE)  公用表表达式 (CTE) 可以认为是在单个 SELECT.INSERT.UPDATE.DELETE 或 CREATE VIEW 语句的 ...

  3. String类型是特殊的引用类型

    例证: string peom1 = "Kubla Khan"; string peom2 = "Kubla Khan"; string peom3 = Str ...

  4. 【JavaScript】键盘控制小球

    参考: 1.Simple Canvas Game 2.javaScript 事件监听 <!DOCTYPE html> <html> <head> <meta ...

  5. Tomcat 优化相关知识

    ---------(Tomcat Listener)----------- Tomcat 性能的因素是内存泄露.Server标签中可以配置多个Listener,其中 JreMemoryLeakPrev ...

  6. jQuery双向滑动杆 设置数值百分比

    在线演示 本地下载

  7. 20145229吴姗珊《网络对抗》shellcode注入&Return-to-libc攻击深入

    20145229吴姗珊<网络对抗>shellcode注入&Return-to-libc攻击深入(待上传) shellcode注入 shellcode是一段代码,是溢出程序和蠕虫病毒 ...

  8. iOS基于XMPP实现即时通讯之一、环境的搭建

    移动端访问不佳,请访问我的个人博客 使用XMPP已经有一段时间了,但是一直都没深入研究过,只是使用SDK做一些简单的操作,看了许多大神的博客,自己总结一下,准备写一系列关于XMPP的使用博客,以便于自 ...

  9. ElasticSearch高可用集群环境搭建和分片原理

    1.ES是如何实现分布式高并发全文检索 2.简单介绍ES分片Shards分片技术 3.为什么ES主分片对应的备分片不在同一台节点存放 4.索引的主分片定义好后为什么不能做修改 5.ES如何实现高可用容 ...

  10. AtCoder Regular Contest 099

    AtCoder Regular Contest 099 C - Minimization 题意 题意:给出一个n的排列.每次操作可以使一段长度为K的连续子序列变成该序列的最小数.求最少几次使得整个数列 ...