之前介绍了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