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. pycharm 常用配置

    lz提示一下,pycharm中的设置是可以导入和导出的,file>export settings可以保存当前pycharm中的设置为jar文件,重装时可以直接import settings> ...

  2. @RequestBody和@ResponseBody的使用情形以及RestTemplate的http报文转换

    @RequestBody和@ResponseBody两个注解,分别完成请求报文到对象和对象到响应报文的转换. @RequestBody 1.@requestBody注解常用来处理content-typ ...

  3. C++中char类型的十六进制字符串转换成字节流

    如a[5]="1234"转换成a[5]={0x12,0x34} 代码如下: void HexStrToByte(const char* source, unsigned char* ...

  4. ajax 事件使用

    error: function (XMLHttpRequest, textStatus, errorThrown) { alert(XMLHttpRequest.status); alert(XMLH ...

  5. Spark机器学习2·准备数据(pyspark)

    准备环境 anaconda nano ~/.zshrc export PATH=$PATH:/anaconda/bin source ~/.zshrc echo $HOME echo $PATH ip ...

  6. Parameter Binding in ASP.NET Web API

    https://docs.microsoft.com/en-us/aspnet/web-api/overview/formats-and-model-binding/parameter-binding ...

  7. Android中APK安装过程及原理解析

    [原文] 来自华为内部资料 应用安装是智能机的主要特点,即用户可以把各种应用(如游戏等)安装到手机上,并可以对其进行卸载等管理操作.APK是Android Package的缩写,即android安装包 ...

  8. python 实现简单点名程序

    程序会遍历文件所有姓名,遍历完之前不会有重复值,遍历所有后将提示推出. #-*-coding:utf-8-*-#author:wangxing #点名程序 import randomimport os ...

  9. javascript 对象简单介绍(一)

    JavaScript 对象JavaScript 中的所有事物都是对象:字符串.数值.数组.函数...此外,JavaScript 允许自定义对象.所有事物都是对象JavaScript 提供多个内建对象, ...

  10. Django进阶Template篇001 - 常用模板标签及过滤器

    一.模板的组成 HTML代码+逻辑控制代码 二.逻辑控制代码的组成 1.变量(使用双大括号来引用变量) {{ var_name }} 2.标签(tag)的使用(使用大括号和百分号的组成来表示使用tag ...