Fedora 13 更新源(sohu yum源)

Fedora 13在更新软件时一直不会动,怀疑是源的原故,给Fedora 13默认的源换个sohu yum源试试。

下面先说说Fedora yum软件源更换方法。

用附件-》文本编辑器在home下fedora.cc里建个新文件,把以下代码复制进去,保存为fedoracc.repo这个文件。

[releases-mirror.sohu.com]
name=fedora-releases
baseurl=http://mirrors.sohu.com/fedora/releases/13/Fedora/i386/os/
enabled=1
gpgcheck=0

[everything-mirror.sohu.com]
name=fedora-Everything
baseurl=http://mirrors.sohu.com/fedora/releases/13/Everything/i386/os/
enabled=1
gpgcheck=0

[updates-mirror.sohu.com]
name=Fedora-updates
baseurl=http://mirrors.sohu.com/fedora/updates/13/i386/
enabled=1
gpgcheck=0

再把上面的文件复制到/etc/yum.repos.d/

打开终端,输入:

cp /home/fedora.cc/fedoracc.repo /etc/yum.repos.d/fedoracc.repo

但是有个问题,Fedora默认是已有自己的 repo文件的。那么如果多个repo的话,会导致添加/删除软件中,同一个包可能有重复的。所以我们要把默认的repo改名。

在终端中输入

cd /etc/yum.repos.d/

mv fedora.repo fedora.repo.bak

mv fedora-updates.repo fedora-updates.bak

然后,yum makecache

然后yum check-update

第一次要等好一会儿,下载那好几十兆的数据文件。

然后以后就可以从系统-》管理-》软件更新和添加/删除软件中升级,加装,卸载软件包了。
看自己情况决定是否在终端中全面更新系统,命令是

终端中su -
然后yum update

我在更新的时候感觉速度很快了。

转载请务必保留此链接: http://www.fedora.cc/index.php/2010/06/fedora-13-sohu-yum-yuan/

转载本站文章请注明来自:Fedora中文爱好者http://www.fedora.cc

8个人已经坐下/ 雁过留声

  1. raintax on 七 11th, 2010 - 12:36 上午 Reply this comment

    I installed Fedora today, but i’m using an English version.
    And I used to play with Ubuntu., they are almost the same.

  2. splendid on 七 19th, 2010 - 12:22 上午 Reply this comment

    @ raintax :

    :su -
    :yum isntall system-config-language
    :system-config-language
    选择中文。
    login out后,点登录用户名,下面语言选择“其他”,找到“中文”,OK!

  3. 小论坛 on 七 28th, 2010 - 12:50 上午 Reply this comment

    很有提醒。谢谢了

  4. 骨头 on 七 28th, 2010 - 12:52 上午 Reply this comment

    很不错!

  5. BYVoid on 七 31st, 2010 - 12:45 上午 Reply this comment

    Very good.

  6. hiche on 九 21st, 2010 - 9:14 上午 Reply this comment

    很好,谢谢。再写一篇关于怎么安装显卡驱动和实现3D效果的文章吧。

  7. gehao on 十 5th, 2010 - 6:12 下午 Reply this comment

    呵呵,第一次来,做的很好阿!认真学习!

  8. mortyr on 十 12th, 2010 - 3:04 上午 Reply this comment

    现在貌似没那个必要了,fedoraproject.org的更新服务器是网易的,刚更新了ff3.6.10,速度不错

正在搬凳子给你,请稍等...