centos使用rpmforge-release

前端之家收集整理的这篇文章主要介绍了centos使用rpmforge-release前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

rpmforge又名repoforge,是CentOS官方推荐的第三方yum源。提供超过5000种rpm格式的软件包,其中包括vlc、mplayer、xmms-mp3等流行的多媒体工具。

C7:

wgethttp://repository.it4i.cz/mirrors/repoforge/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
rpm-ivhrpmforge-release-0.5.3-1.el7.rf.x86_64.rpm

C6:

i386
wgethttp://repository.it4i.cz/mirrors/repoforge/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.i686.rpm
rpm-ivhrpmforge-release-0.5.3-1.el6.rf.i686.rpm

x86_64
wgethttp://repository.it4i.cz/mirrors/repoforge/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
rpm-ivhrpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

C5:

i386
wgethttp://repository.it4i.cz/mirrors/repoforge/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.3-1.el5.rf.i386.rpm
rpm-ivhrpmforge-release-0.5.3-1.el5.rf.i386.rpm

x86_64
wgethttp://repository.it4i.cz/mirrors/repoforge/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm
rpm-ivhrpmforge-release-0.5.3-1.el5.rf.x86_64.rpm

ppc
wgethttp://repository.it4i.cz/mirrors/repoforge/redhat/el5/en/ppc/rpmforge/RPMS/rpmforge-release-0.5.1-1.el5.rf.ppc.rpm
rpm-ivhrpmforge-release-0.5.1-1.el5.rf.ppc.rpm

上面这些rpm包的地址都可以到https://pkgs.org网站中直接搜索相应的rpm包即可,如:直接搜索rpmforge或者epel,找到合适的rpm包后下载即可


验证安装:

[root@localhost~]#yumrepolist
Loadedplugins:fastestmirror
Loadingmirrorspeedsfromcachedhostfile
*base:mirrors.aliyun.com
*extras:mirrors.aliyun.com
*rpmforge:ftp.kddilabs.jp
*updates:mirrors.aliyun.com
repoidreponamestatus
baseCentOS-6-Base-mirrors.aliyun.com6,706
extrasCentOS-6-Extras-mirrors.aliyun.com46
rpmforgeRHEL6-RPMforge.net-dag4,718
updatesCentOS-6-Updates-mirrors.aliyun.com721
repolist:12,191

使用RPMforge(Repoforge)源查找mplayer

[root@localhost~]#yum--enablerepo=rpmforgeinfomplayer
Loadedplugins:fastestmirror
Loadingmirrorspeedsfromcachedhostfile
*base:mirrors.aliyun.com
*extras:mirrors.aliyun.com
*rpmforge:mirrors.tuna.tsinghua.edu.cn
*updates:mirrors.aliyun.com
AvailablePackages
Name:mplayer
Arch:x86_64
Version:1.0
Release:0.48.svn20100703.el6.rf
Size:4.0M
Repo:rpmforge
Summary:MPlayer,theMoviePlayerforLinux
URL:http://mplayerhq.hu/
License:GPL
Description:MPlayerisamultimediaplayer.ItplaysmostvideoformatsaswellasDVDs.
:Itsbigfeatureisthewiderangeofsupportedoutputdrivers.Therearealso
:niceantialiasedshadedsubtitlesandOSD.
:
:Onx86,additionalWin32binarycodecsshouldbeaddedto/usr/lib64/codecs/.
:
:Availablerpmbuildrebuildoptions:
:--with:dvdread
:--without:aaliblirccdparanoiaartsxvidesdlzofamecacadvbvstream
:theoraosdmenugcccheckfribidixvmcx264faacmpcliveladspa
:amrnbsambaspeextwolame


安装mplayer:

[root@localhost~]#yuminstallmplayer


禁用RPMforge(Repoforge)源:

[root@localhost~]#vi/etc/yum.repos.d/rpmforge.repo
将enabled=1选项改为enabled=0。


参考:

http://repoforge.org/use/

https://pkgs.org/

http://quenywell.com/how-to-set-up-rpmforge-repoforge-repository-on-rhel-centos/

原文链接:https://www.f2er.com/centos/375668.html

猜你在找的CentOS相关文章