fedora 13 yum源详细设置

1.添加rpm fusion源
rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
2.导入rpm fusion仓库的密钥
rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms
3.修改密钥文件
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
4.添加adobe软件仓并导入密钥
rpm -ivh http://linuxdownload.adobe.com/linux/i386/adobe-release-i386-1.0-1.noarch.rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
5.添加上海交大的yum 源
vim  /etc/yum.repos.d/sjtu.repo #不喜欢用vim 的人请用gedit
在打开的文件中添加如下行:
[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
baseurl=ftp://openware.byr.edu.cn/pub/mirror/fedora/linux/releases/$releasever/Everything/$basearch/os/
http://ftp.sjtu.edu.cn/fedora/linux/releases/$releasever/Everything/$basearch/os/
ftp://ftp.sjtu.edu.cn/fedora/linux/releases/$releasever/Everything/$basearch/os/
ftp://ftp.cuhk.edu.hk/pub/Linux/fedora/releases/$releasever/Everything/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[updates]
 
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
baseurl=ftp://openware.byr.edu.cn/pub/mirror/fedora/linux/updates/$releasever/$basearch/
http://ftp.sjtu.edu.cn/fedora/linux/updates/$releasever/$basearch/
ftp://ftp.cuhk.edu.hk/pub/Linux/fedora/updates/$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
然后保存退出。
6.更新缓存
yum makecache
7.更新yum插件,以加快下载速度
yum install yum-presto -y
yum -y install yum-fastestmirror
8.下载axel插件(此插件使yum可以多线程下载文件, 以达到更快的速度),下为全过程,每行为一条单独的命令:
cd axel/trunk
./configure
make && make install
svn co http://cnfreesoft.googlecode.com/svn/trunk/axelget/ /etc/yum/axelget
cd /etc/yum/pluginconf.d/
ln -s /etc/yum/axelget/axelget.conf 
cd /usr/lib/yum-plugins/
ln -s /etc/yum/axelget/axelget.py 
cd /home/Wolf
rm -rf axel
 
9注意:以下两行命令为卸载fedora 11自带的播放器(该播放器非常令本人不爽,故卸载,各位可根据本人喜好决定要不要卸载)
yum remove rhythmbox -y 
yum remove totem -y
10.顺便下载几个音乐播.放器(vlc播放器,mplayer播放器)
yum install ffmpeg -y
yum install vlc -y
yum install mplayer smplayer -y
11.安装firefox的flash插件
yum install flash-plugin -y
12.呃,本人使用五笔输入法,故需要执行以下步骤,如用拼音可跳过:
yum install ibus-table ibus-table-wubi -y
重启ibus,右键->汉语->五笔    点选“添加”
再选中拼音,点“删除”
好了,至此结束

http://socol.javaeye.com/blog/518866
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值