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. HDU4639

    /*计算里面有多少个相邻的he,1个he就是1种意思,两个就是,两种,所以这是 一个斐波拉期数列,间隔的hehe互不影响所以是互斥事件,直接相乘就可以*/ #include<stdio.h> ...

  2. Forward Proxy vs Reverse Proxy

    Overview We've talked about reverse proxy servers and how they can really be good at protecting the ...

  3. 【WIN7】windows\system32 下的几乎所有文件的简单说明【1】

    1: aclui.dll .....Security Descriptor Editor,没有它,注册表编缉器会无法运行 2: ACTIVEDS.DLL .....(ADs 路由层 DLL). 没有它 ...

  4. Java:正则表达式

    Java:正则表达式 package com.fsti.icop.util.regexp; import java.util.regex.Matcher; import java.util.regex ...

  5. css盒模型不同浏览器下解释不同 解决办法

    盒子模型是css中一个重要的概念,理解了盒子模型才能更好的排版.其实盒子模型有两种,分别是 ie 盒子模型和标准 w3c 盒子模型.他们对盒子模型的解释各不相同,先来看看我们熟知的标准盒子模型: 从上 ...

  6. 较常用的Math方法及ES6中的扩展

    记录下与Math有关的常用方法,如:求最大值.最小值等,或者是保留几位数啥的 1.数据 let floatA = 2.325232; let floatB = 2.3456; let temporar ...

  7. idea setting

    input

  8. 堆与堆排序、Top k 问题

     堆排序与快速排序,归并排序一样都是时间复杂度为O(N*logN)的几种常见排序方法.学习堆排序前,先讲解下什么是数据结构中的二叉堆. 二叉堆的定义 二叉堆是完全二叉树或者是近似完全二叉树. 二叉堆满 ...

  9. java中HashMap集合的常用方法

    public Object clone() 返回hashMap集合的副本 其余的方法都是实现Map集合的 https://www.cnblogs.com/xiaostudy/p/9510763.htm ...

  10. NO.2 You must restart adb and Eclipse多种情形分析与解决方案

    一.问题描述:     运行android程序控制台输出     The connection to adb is down, and a severe error has occured.      ...