關於rpmfusion源的介紹以下: shell
RPM Fusion provides software that the Fedora Project or Red Hat doesn't want to ship. That software is provided as precompiled RPMs for all current Fedora versions and Red Hat Enterprise Linux 5 and 6; you can use the RPM Fusion repositories with tools like yum and PackageKit. ide
——From http://rpmfusion.org this
點擊rpmfusion官網的configuration頁面,查看如何在Fedora、RHEL或CentOS發行版本中安裝它。 code
rpmfusion包含free及nonfree兩個源,二者的不一樣之處在官網的configuration頁面中已經指出。 ip
在此以Fedora 19爲例,講解如何安裝rpmfusion的兩個源。兩個源均可以經過下載其對應的rpm包後安裝或者直接使用以下命令安裝: ci
su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'安裝完成後及可使用rpmfusion源所提供的軟件包。
[xgqin@xgqin-desktop ~]$ su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm' Password: Loaded plugins: langpacks, refresh-packagekit rpmfusion-free-release-19.noarch.rpm | 16 kB 00:00:00 Examining /var/tmp/yum-root-w3_801/rpmfusion-free-release-19.noarch.rpm: rpmfusion-free-release-19-1.noarch Marking /var/tmp/yum-root-w3_801/rpmfusion-free-release-19.noarch.rpm to be installed rpmfusion-nonfree-release-19.noarch.rpm | 16 kB 00:00:00 Examining /var/tmp/yum-root-w3_801/rpmfusion-nonfree-release-19.noarch.rpm: rpmfusion-nonfree-release-19-1.noarch Marking /var/tmp/yum-root-w3_801/rpmfusion-nonfree-release-19.noarch.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package rpmfusion-free-release.noarch 0:19-1 will be installed ---> Package rpmfusion-nonfree-release.noarch 0:19-1 will be installed --> Finished Dependency Resolution Dependencies Resolved ========================================================================================================================== Package Arch Version Repository Size ========================================================================================================================== Installing: rpmfusion-free-release noarch 19-1 /rpmfusion-free-release-19.noarch 9.7 k rpmfusion-nonfree-release noarch 19-1 /rpmfusion-nonfree-release-19.noarch 9.9 k Transaction Summary ========================================================================================================================== Install 2 Packages Total size: 20 k Installed size: 20 k Is this ok [y/d/N]: y Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Warning: RPMDB altered outside of yum. Installing : rpmfusion-free-release-19-1.noarch 1/2 Installing : rpmfusion-nonfree-release-19-1.noarch 2/2 Verifying : rpmfusion-nonfree-release-19-1.noarch 1/2 Verifying : rpmfusion-free-release-19-1.noarch 2/2 Installed: rpmfusion-free-release.noarch 0:19-1 rpmfusion-nonfree-release.noarch 0:19-1 Complete!