セントロはrpmforg-releaseを使用します。
rpmforgeの別名はrepoforgeで、CentOSの公式推薦の第三者yum源です。Vlc、mplayer、xmms-mp 3などの人気のあるマルチメディアツールを含む5000種類以上のrpmフォーマットのソフトウェアパッケージを提供します。
C 7:
インストールを検証:
http://repoforge.org/use/
https://pkgs.org/
http://quenywell.com/how-to-set-up-rpmforge-repoforge-repository-on-rhel-centos/
C 7:
wget http://repository.it4i.cz/mirrors/repoforge/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
rpm -ivh rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
C 6:i386
wget http://repository.it4i.cz/mirrors/repoforge/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.i686.rpm
rpm -ivh rpmforge-release-0.5.3-1.el6.rf.i686.rpm
x86_64
wget http://repository.it4i.cz/mirrors/repoforge/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
rpm -ivh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
C 5:i386
wget http://repository.it4i.cz/mirrors/repoforge/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.3-1.el5.rf.i386.rpm
rpm -ivh rpmforge-release-0.5.3-1.el5.rf.i386.rpm
x86_64
wget http://repository.it4i.cz/mirrors/repoforge/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm
rpm -ivh rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm
ppc
wget http://repository.it4i.cz/mirrors/repoforge/redhat/el5/en/ppc/rpmforge/RPMS/rpmforge-release-0.5.1-1.el5.rf.ppc.rpm
rpm -ivh rpmforge-release-0.5.1-1.el5.rf.ppc.rpm
これらのrpmカバンの住所は全部行けます。https://pkgs.orgウェブサイトの中で直接該当のrpmのカバンを検索すればいいです。例えば、直接rpmforgeまたはepelを検索して、適当なrpmのカバンを見つけたらダウンロードすればいいです。インストールを検証:
[root@localhost ~]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* rpmforge: ftp.kddilabs.jp
* updates: mirrors.aliyun.com
repo id repo name status
base CentOS-6 - Base - mirrors.aliyun.com 6,706
extras CentOS-6 - Extras - mirrors.aliyun.com 46
rpmforge RHEL 6 - RPMforge.net - dag 4,718
updates CentOS-6 - Updates - mirrors.aliyun.com 721
repolist: 12,191
RPM forgeソースを使ってmplayerを検索します。[root@localhost ~]# yum --enablerepo=rpmforge info mplayer
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* rpmforge: mirrors.tuna.tsinghua.edu.cn
* updates: mirrors.aliyun.com
Available Packages
Name : mplayer
Arch : x86_64
Version : 1.0
Release : 0.48.svn20100703.el6.rf
Size : 4.0 M
Repo : rpmforge
Summary : MPlayer, the Movie Player for Linux
URL : http://mplayerhq.hu/
License : GPL
Description : 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ソースを無効にします。[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/