Linux教程之——怎样给fedora替换源以及更新源

之前介绍了Centos更新和替换阿里云yum源的方法,这里介绍一下fedora更新和替换源的方法,其实Fedora 是红帽公司定位为新技术的实验场,与 Red Hat Enterprise Linux 被定位为稳定性优先不同。许多新的技术都会在 Fedora Core 中检验,如果稳定的话红帽公司则会考虑 加入 Red Hat Enterprise Linux 中。

这也就是说  fedora更新和替换源的方法  与centos其实基本上差不多,言归正传

fedora 替换源及更新源如下:
su
cd /etc/yum.repos.d/
mv fedora.repo fedora.repo.backup
mv fedora-updates.repo fedora-updates.repo.backup
wget -O /etc/yum.repos.d/fedora.repo http://mirrors.aliyun.com/repo/fedora.repo
wget -O /etc/yum.repos.d/fedora-updates.repo http://mirrors.aliyun.com/repo/fedora-updates.repo
dnf clean all
dnf makecache

 联系我们

  • 邮箱:admin@admincms.top
  • 官方博客:blog.admincms.top
  • 官方微信公众号:huayuejishu
扫描二维码关注Joker.Liu微信公众号
TOP博客官方微信公众号二维码