zoukankan      html  css  js  c++  java
  • centos6.4安装GCC

    1.

    1. Last login: Mon Aug  4 11:46:15 2014 from 10.3.7.128  
    2. [jifeng@jifeng04 ~]$ ls  
    3. hadoop  jdk1.7.0_45  jdk-7u45-linux-x64.gz  
    4. [jifeng@jifeng04 ~]$ gcc --version  
    5. -bash: gcc: command not found  
    6. [jifeng@jifeng04 ~]$ yum -y install gcc gcc-c++ autoconf make  
    7. Loaded plugins: fastestmirror  
    8. You need to be root to perform this command.  
    9. [jifeng@jifeng04 ~]$ su -  
    10. 密码:  
    11. [root@jifeng04 ~]# yum -y install gcc gcc-c++ autoconf make  
    12. Loaded plugins: fastestmirror  
    13. Loading mirror speeds from cached hostfile  
    14.  * base: mirrors.cug.edu.cn  
    15.  * extras: mirrors.cug.edu.cn  
    16.  * updates: mirrors.cug.edu.cn  
    17. base                                                                                             | 3.7 kB     00:00       
    18. base/primary_db                                                                                  | 4.4 MB     00:05       
    19. extras                                                                                           | 3.4 kB     00:00       
    20. extras/primary_db                                                                                |  19 kB     00:00       
    21. updates                                                                                          | 3.4 kB     00:00       
    22. http://mirrors.cug.edu.cn/centos/6.5/updates/x86_64/repodata/f64710214d4838990048125f99490af14b987819c8c2e7aea579d0341cc9ae21

    2.

    1. gcc --version  
    2. gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4)  
    3. Copyright ? 2010 Free Software Foundation, Inc.
  • 相关阅读:
    Azure存储账户的日志分析方法
    导出zabbix监控数据
    centos7下kubernetes(18。kubernetes-健康检查)
    centos7下kubernetes(17。kubernetes-回滚)
    unity接入安卓SDK,与安卓相互通信
    (转)坐标 旋转 计算
    矩阵运算试验
    photonServer学习之连接数据库
    C#委托链
    git命令大全
  • 原文地址:https://www.cnblogs.com/dpf-learn/p/7827649.html
Copyright © 2011-2022 走看看