|
|
发表于 2009-4-18 16:41:47
|
显示全部楼层
我收集的源配置帮助如下
RPM Fusion 由之前的 Dribble,Freshrpms,和 Livna 合并而来并成为一个超级软件仓库,专门为 Fedora,CentOS以及RHEL提供官方不能提供的软件。Fedpra 10为我们带来了很多 Linux 的最新特性,比如,F10 可以自动搜索并安装播放视频所必须的解码器了。RPM Fusion 包含大量的多媒体解码器,以及大量 nVidia 显卡等受限驱动,请安装 RPM Fusion 源:
rpm -ivh http://download1.rpmfusion.org/f ... e-stable.noarch.rpm
rmp -ivh http://download1.rpmfusion.org/n ... e-stable.noarch.rpm
虽然 RPM Fusion 合并了其它三个软件仓库,但是并不包括著名的 ATrpms 源,ATrpms 的 Fedora 10 软件仓库也发布了,要安装,请:
导入 ATrpms 签名秘匙 (For Fedora 10)
rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms
确保下面几行包含在 /etc/yum.conf 文件中(参见 ATrpms 安装说明)
执行 su -c ‘gedit /etc/yum.conf” 并添加下面几行:
[atrpms]
name=Fedora Core $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/f$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1
另外,这里再给出添加国内上海交大源的设置:
首先请切换到root用户:
su root
在开始之前,首先确保你安装了如下软件,补上尚未安装的。
执行以下命令:
yum -y install gcc make subversion
首先增加上海交大的更新源:
(如果你有更好的更新源段,欢迎评论给出,谢谢!)
cd /etc/yum.repos.d
gedit sjtu.repo
在打开的空白窗口中加入
[Fedora-ftp.sjtu.edu.cn]
name=Fedora 10 - i386
baseurl=http://ftp.sjtu.edu.cn/fedora/linux/releases/10/Fedora/i386/os/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[Everything-ftp.sjtu.edu.cn]
name=Everything 10 - i386
baseurl=http://ftp.sjtu.edu.cn/fedora/linux/releases/10/Everything/i386/os/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[updates-ftp.sjtu.edu.cn]
name=Fedora updates
baseurl=http://ftp.sjtu.edu.cn/fedora/linux/updates/10/i386/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
(注意大小写,网上有几篇文章中的大小写错误,会导致404 Not Found.)
然后保存退出。
然后依次执行:
yum makecache
yum -y install yum-fastestmirror |
|