centos使用rpmforge-release
时间: 2017-10-09 09:48:29 阅读:536 评论:0 收藏:0 [点我收藏+]
标签:
rpmforge又名repoforge,是CentOS官方推荐的第三方yum源。提供超过5000种rpm格式的软件包,其中包括vlc、mplayer、xmms-mp3等流行的多媒体工具。
C7:
wget http://repository.it4i.cz/mirrors/repoforge/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpmrpm -ivh rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
C6:
i386wget http://repository.it4i.cz/mirrors/repoforge/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.i686.rpmrpm -ivh rpmforge-release-0.5.3-1.el6.rf.i686.rpmx86_64wget http://repository.it4i.cz/mirrors/repoforge/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpmrpm -ivh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
C5:
i386wget http://repository.it4i.cz/mirrors/repoforge/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.3-1.el5.rf.i386.rpmrpm -ivh rpmforge-release-0.5.3-1.el5.rf.i386.rpmx86_64wget http://repository.it4i.cz/mirrors/repoforge/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpmrpm -ivh rpmforge-release-0.5.3-1.el5.rf.x86_64.rpmppcwget http://repository.it4i.cz/mirrors/repoforge/redhat/el5/en/ppc/rpmforge/RPMS/rpmforge-release-0.5.1-1.el5.rf.ppc.rpmrpm -ivh rpmforge-release-0.5.1-1.el5.rf.ppc.rpm
上面这些rpm包的地址都可以到https://pkgs.org网站中直接搜索相应的rpm包即可,如:直接搜索rpmforge或者epel,找到合适的rpm包后下载即可
验证安装:
[root@localhost ~]# yum repolistLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfile * base: mirrors.aliyun.com * extras: mirrors.aliyun.com * rpmforge: ftp.kddilabs.jp * updates: mirrors.aliyun.comrepo id repo name statusbase CentOS-6 - Base - mirrors.aliyun.com 6,706extras CentOS-6 - Extras - mirrors.aliyun.com 46rpmforge RHEL 6 - RPMforge.net - dag 4,718updates CentOS-6 - Updates - mirrors.aliyun.com 721repolist: 12,191
使用RPMforge(Repoforge)源查找mplayer
[root@localhost ~]# yum --enablerepo=rpmforge info mplayerLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfile * base: mirrors.aliyun.com * extras: mirrors.aliyun.com * rpmforge: mirrors.tuna.tsinghua.edu.cn * updates: mirrors.aliyun.comAvailable PackagesName : mplayerArch : x86_64Version : 1.0Release : 0.48.svn20100703.el6.rfSize : 4.0 MRepo : rpmforgeSummary : MPlayer, the Movie Player for LinuxURL : http://mplayerhq.hu/License : GPLDescription : MPlayer is a multimedia player. It plays most video formats as well as DVDs. : Its big feature is the wide range of supported output drivers. There are also : nice antialiased shaded subtitles and OSD. : : On x86, additional Win32 binary codecs should be added to /usr/lib64/codecs/. : : Available rpmbuild rebuild options : : --with : dvdread : --without : aalib lirc cdparanoia arts xvid esd lzo fame caca dvb vstream : theora osdmenu gcccheck fribidi xvmc x264 faac mpc live ladspa : amrnb samba speex twolame
安装mplayer:
[root@localhost ~]# yum install mplayer
禁用RPMforge(Repoforge)源:
[root@localhost ~]# vi /etc/yum.repos.d/rpmforge.repo将enabled=1选项改为enabled=0。
参考:
本文出自 “” 博客,请务必保留此出处
标签:
原文地址:http://ganmu.blog.51cto.com/9305511/1970783