运维 服务器 linux gcc安装报错【Loading mirror speeds from cached hostfile \n There are no enabled repos】解决办法 - repo http://mirrors

📅 2026-12-01 👤 拼多多助力营销技巧 📂 拼多多助力网 👁️ 556 次阅读

在linux安装gcc过程中报错

已加载插件:aliases, fastestmirror, protectbase Loading mirror speeds from cached hostfile There are no enabled repos. Run “yum repolist all” to see the repos you have. To enable Red Hat Subscription Management repositories: subscription-manager repos --enable To enable custom repositories: yum-config-manager --enable

如图↓

解决办法

依次输入

wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repowget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repoyum clean allyum makecache 最后再安装一次yum install -y gcc

OK!解决 拼多多帮助力入口

精彩内容,运维

标签: 拼多多助力网站平台 赚钱项目 拼多多助力网 首码项目 手赚APP
拼多多助力营销技巧