您的位置:首页 > 运维架构 > Linux

CentOS 6.5 添加rpmforge源

2014-07-13 21:43 399 查看
http://wiki.centos.org/AdditionalResources/Repositories/RPMForge

The default RPMforge repository does not replace any CentOS base packages. In the past it used to, but those packages are now in a separate repository (rpmforge-extras) which is disabled by default.
You can find a complete listing of the RPMforge package packages athttp://packages.sw.be/
Download the rpmforge-release package. Choose one of the two links below, selecting to match your host's architecture. If you are unsure of which one to use you can check your architecture with the commanduname -i

i686 http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm
x86_64 http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
The preferred rpmforge-release package to retrieve and to install in order to enable that repository is one of the two listed above.
Install DAG's GPG key
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt[/code] 
If you get an error message like the following the key has already been imported:
error: http://apt.sw.be/RPM-GPG-KEY.dag.txt: key 1 import failed.


Verify the package you have downloaded

rpm -K rpmforge-release-0.5.3-1.el6.rf.*.rpm



Security warning: The
rpmforge-release package imports GPG keys into your RPM database. As long as you have verified themd5sum of the key injection package, and trust Dag, et al., then it should be as safe as your trust of them extends.
Install the package
rpm -i rpmforge-release-0.5.3-1.el6.rf.*.rpm


This will add a yum repository config file and import the appropriate GPG keys.
Then try to install something like this

yum install htop

添加rpmforge源后可以安装常用多媒体软件,如
yum install vlc
yum install gstreamer-ffmpeg gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-ugly
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  linux