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. React-native Android环境搭建

    基础安装 安装Homebrew Homebrew是Mac OSX的包管理器,我们需要通过Homebrew安装开发React Native的相关软件包. 如果不知道怎样安装Homebrew可以点这里:官 ...

  2. Python3.x:百分比数转小数

    Python3.x:百分比数转小数 def change_percent(num): zfflag = "" if "+" in num: num = num. ...

  3. jQuery多层级垂直手风琴菜单

    在线演示 本地下载

  4. Linux系统下使用pwgen生成密码的使用教程

    pwgen生成的密码易于记忆且相当安全.从技术上来说,容易记忆的密码不会比随机生成的密码更加安全.但是,在大多数情况下,pwgen生成的密码已经足够安全,除了网银密码等需要高安全等级的情况外.使用易于 ...

  5. 【P3254】圆桌问题(最大流,洛谷)

    看到题目,产生第一反应,是否可以匹配的是这么多.那么连边跑一遍最大流就行了. 从源点向每个单位连一条长度为l的边,然后所有单位和餐桌分别连边,流量为1,所有餐桌向汇点连边,流量为餐桌容量.然后跑一遍最 ...

  6. spark学习10(win下利用Intellij IDEA搭建spark开发环境)

    第一步:启动IntelliJ IDEA,选择Create New Project,然后选择Scala,点击下一步,输入项目名称wujiadong.spark继续下一步 第二步:导入spark-asse ...

  7. Spark Configuration配置

    Spark可以通过三种方式配置系统: 通过SparkConf对象, 或者Java系统属性配置Spark的应用参数 通过每个节点上的conf/spark-env.sh脚本为每台机器配置环境变量 通过lo ...

  8. PHP 404伪装

    <?php function GetCurUrl() { if(!empty($_SERVER["REQUEST_URI"])) { $scriptName = $_SERV ...

  9. LongestValidParentheses, 求最长合法括号子串长度-----同类问题ValidParentheses,GenerateParentheses

    问题描述:求括号字符串中最长合法子串长度.例如:()((),返回2,而不是4. 算法分析:还是利用栈,和判断合法括号对是一样的. public static int longestValidParen ...

  10. 《JavaScript高级程序设计》第7章 函数表达式

    定义函数的方式有两种:函数声明和函数表达式 // 函数声明 function function_name(argument) { // body... } // 函数表达式 var function_ ...