zoukankan      html  css  js  c++  java
  • 出现No package gcc+ available解决办法

    系统

    CentOS Linux release 7.4.1708 (Core)
     

    安装gcc时报错

    [root@ip-172-29-0-155 node-v10.15.3]# yum -y install gcc+
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: mirrors.aliyun.com
     * extras: mirrors.aliyun.com
     * updates: mirrors.aliyun.com
    No package gcc+ available.

    解决办法

    1)找到支持的版本

    [root@ip-172-29-0-155 node-v10.15.3]# yum search "gcc-c++"
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: mirrors.aliyun.com
     * extras: mirrors.aliyun.com
     * updates: mirrors.aliyun.com
    ================================================================================================================ N/S matched: gcc-c++ ================================================================================================================
    gcc-c++.x86_64 : C++ support for GCC
    
      Name and summary matches only, use "search all" for everything.
    2)安装
    yum install gcc-c++.x86_64
  • 相关阅读:
    git取消文件跟踪
    servlet
    查杀端口进程
    初始化git仓库,并push到远端
    tomcat
    bootstrap
    idea中web工程错误
    i++和++i
    js算法
    编程工具
  • 原文地址:https://www.cnblogs.com/lemon-le/p/10538130.html
Copyright © 2011-2022 走看看