On 01/14/18 14:54, 郭 灵贤 wrote:
I need detailed steps
I missed that you need detailed steps. So, here is that I did on a F26 test system.
Note the URL for RPMfusion will be different for F27. I have marked the lines that I
input with ***
[egreshko@f26g ~]$ su - ***
Password:
[root@f26g ~]# wget
https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-26.noa... ***
--2018-01-14 17:12:43--
https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-26.noa...
Resolving
download1.rpmfusion.org (download1.rpmfusion.org)... 193.28.235.60
Connecting to
download1.rpmfusion.org (download1.rpmfusion.org)|193.28.235.60|:443...
connected.
HTTP request sent, awaiting response... 200 OK
Length: 20386 (20K) [application/x-rpm]
Saving to: ‘rpmfusion-free-release-26.noarch.rpm’
rpmfusion-free-relea 100%[=====================>] 19.91K 68.8KB/s in 0.3s
2018-01-14 17:12:45 (68.8 KB/s) - ‘rpmfusion-free-release-26.noarch.rpm’ saved
[20386/20386]
[root@f26g ~]# wget
https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-...
***
--2018-01-14 17:12:56--
https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-...
Resolving
download1.rpmfusion.org (download1.rpmfusion.org)... 193.28.235.60
Connecting to
download1.rpmfusion.org (download1.rpmfusion.org)|193.28.235.60|:443...
connected.
HTTP request sent, awaiting response... 200 OK
Length: 20430 (20K) [application/x-rpm]
Saving to: ‘rpmfusion-nonfree-release-26.noarch.rpm’
rpmfusion-nonfree-re 100%[=====================>] 19.95K 69.2KB/s in 0.3s
2018-01-14 17:12:58 (69.2 KB/s) - ‘rpmfusion-nonfree-release-26.noarch.rpm’ saved
[20430/20430]
[root@f26g ~]# ls ***
anaconda-ks.cfg rpmfusion-nonfree-release-26.noarch.rpm
rpmfusion-free-release-26.noarch.rpm
[root@f26g ~]# dnf install ./*rpm ***
Last metadata expiration check: 1:51:56 ago on Sun 14 Jan 2018 03:21:22 PM CST.
Dependencies resolved.
===================================================================================
Package Arch Version Repository Size
===================================================================================
Installing:
rpmfusion-free-release noarch 26-1 @commandline 20 k
rpmfusion-nonfree-release noarch 26-1 @commandline 20 k
Transaction Summary
===================================================================================
Install 2 Packages
Total size: 40 k
Installed size: 17 k
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : rpmfusion-nonfree-release-26-1.noarch 1/2
Installing : rpmfusion-free-release-26-1.noarch 2/2
Verifying : rpmfusion-free-release-26-1.noarch 1/2
Verifying : rpmfusion-nonfree-release-26-1.noarch 2/2
Installed:
rpmfusion-free-release.noarch 26-1 rpmfusion-nonfree-release.noarch 26-1
Complete!
[root@f26g ~]# dnf install mplayer
RPM Fusion for Fedora 26 - Free - Updates 1.6 MB/s | 457 kB 00:00
RPM Fusion for Fedora 26 - Free 1.5 MB/s | 519 kB 00:00
RPM Fusion for Fedora 26 - Nonfree - Updates 176 kB/s | 36 kB 00:00
RPM Fusion for Fedora 26 - Nonfree 2.7 MB/s | 158 kB 00:00
Last metadata expiration check: 0:00:00 ago on Sun 14 Jan 2018 05:13:45 PM CST.
Dependencies resolved.
===================================================================================
Package Arch Version Repository Size
===================================================================================
Installing:
mplayer x86_64 1.3.0-9.fc26 rpmfusion-free 1.2 M
Installing dependencies:
SDL x86_64 1.2.15-25.fc26 updates 214 k
aalib-libs x86_64 1.4.0-0.30.rc5.fc26 fedora 69 k
clang-libs x86_64 4.0.1-5.fc26 updates 12 M
compiler-rt x86_64 4.0.1-1.fc26 updates 1.6 M
faad2-libs x86_64 1:2.7-9.fc26 rpmfusion-free 153 k
ffmpeg-libs x86_64 3.3.6-1.fc26 rpmfusion-free-updates
6.3 M
freeglut x86_64 3.0.0-4.fc26 fedora 187 k
fribidi x86_64 0.19.7-3.fc26 fedora 69 k
gpm-libs x86_64 1.20.7-10.fc26 fedora 36 k
hwloc-libs x86_64 1.11.5-2.fc26 fedora 1.6 M
libXScrnSaver x86_64 1.2.2-11.fc26 fedora 27 k
libass x86_64 0.13.4-2.fc26 fedora 95 k
libbs2b x86_64 3.1.0-17.fc26 fedora 27 k
libcaca x86_64 0.99-0.31.beta19.fc26 fedora 222 k
libclc x86_64 0.2.0-7.git1cb3fbf.fc26 updates 7.9 M
libdca x86_64 0.0.5-10.fc26 rpmfusion-free 105 k
libmfx x86_64 1.21-1.fc26 fedora 32 k
libmpeg2 x86_64 0.5.1-12.fc26 rpmfusion-free 74 k
librtmp x86_64 2.4-8.20160224.gitfa8646d.fc26 rpmfusion-free 76 k
libstdc++-devel x86_64 7.2.1-2.fc26 updates 1.9 M
libva x86_64 1.8.3-1.fc26 updates 82 k
lirc-libs x86_64 0.10.0-3.fc26 updates 131 k
mesa-libGLU x86_64 9.0.0-11.fc26 fedora 178 k
mplayer-common x86_64 1.3.0-9.fc26 rpmfusion-free 1.2 M
ocl-icd x86_64 2.2.11-2.fc26 fedora 48 k
opencl-filesystem noarch 1.0-5.fc26 fedora 6.9 k
opencore-amr x86_64 0.1.5-1.fc26 rpmfusion-free 175 k
schroedinger x86_64 1.0.11-11.fc26 fedora 330 k
vo-amrwbenc x86_64 0.1.3-2.fc26 rpmfusion-free 76 k
x264-libs x86_64 0.148-20.20170519gitd32d7bf.fc26 rpmfusion-free 569 k
x265-libs x86_64 2.4-1.fc26 rpmfusion-free 1.7 M
xvidcore x86_64 1.3.4-3.fc26 rpmfusion-free 263 k
Installing weak dependencies:
beignet x86_64 1.3.2-1.fc26 updates 4.8 M
mesa-libOpenCL x86_64 17.2.4-2.fc26 updates 601 k
pocl x86_64 0.14-2.fc26 fedora 39 M
Transaction Summary
===================================================================================
Install 36 Packages
Total download size: 83 M
Installed size: 362 M
Is this ok [y/N]: y ***
Downloading Packages:
(1/36): mplayer-1.3.0-9.fc26.x86_64.rpm 3.0 MB/s | 1.2 MB 00:00
(2/36): libXScrnSaver-1.2.2-11.fc26.x86_64.rpm 40 kB/s | 27 kB 00:00
(3/36): fribidi-0.19.7-3.fc26.x86_64.rpm 62 kB/s | 69 kB 00:01
(4/36): libbs2b-3.1.0-17.fc26.x86_64.rpm 429 kB/s | 27 kB 00:00
(5/36): libass-0.13.4-2.fc26.x86_64.rpm 502 kB/s | 95 kB 00:00
(6/36): aalib-libs-1.4.0-0.30.rc5.fc26.x86_64.rpm 55 kB/s | 69 kB 00:01
(7/36): faad2-libs-2.7-9.fc26.x86_64.rpm 805 kB/s | 153 kB 00:00
(8/36): libdca-0.0.5-10.fc26.x86_64.rpm 439 kB/s | 105 kB 00:00
(9/36): librtmp-2.4-8.20160224.gitfa8646d.fc26.x86 1.1 MB/s | 76 kB 00:00
(10/36): libmpeg2-0.5.1-12.fc26.x86_64.rpm 394 kB/s | 74 kB 00:00
(11/36): libcaca-0.99-0.31.beta19.fc26.x86_64.rpm 381 kB/s | 222 kB 00:00
(12/36): mplayer-common-1.3.0-9.fc26.x86_64.rpm 2.8 MB/s | 1.2 MB 00:00
(13/36): x264-libs-0.148-20.20170519gitd32d7bf.fc2 1.5 MB/s | 569 kB 00:00
(14/36): gpm-libs-1.20.7-10.fc26.x86_64.rpm 532 kB/s | 36 kB 00:00
(15/36): xvidcore-1.3.4-3.fc26.x86_64.rpm 687 kB/s | 263 kB 00:00
(16/36): freeglut-3.0.0-4.fc26.x86_64.rpm 634 kB/s | 187 kB 00:00
(17/36): mesa-libGLU-9.0.0-11.fc26.x86_64.rpm 680 kB/s | 178 kB 00:00
(18/36): lirc-libs-0.10.0-3.fc26.x86_64.rpm 125 kB/s | 131 kB 00:01
(19/36): ffmpeg-libs-3.3.6-1.fc26.x86_64.rpm 5.6 MB/s | 6.3 MB 00:01
(20/36): libmfx-1.21-1.fc26.x86_64.rpm 263 kB/s | 32 kB 00:00
(21/36): ocl-icd-2.2.11-2.fc26.x86_64.rpm 402 kB/s | 48 kB 00:00
(22/36): opencore-amr-0.1.5-1.fc26.x86_64.rpm 894 kB/s | 175 kB 00:00
(23/36): schroedinger-1.0.11-11.fc26.x86_64.rpm 796 kB/s | 330 kB 00:00
(24/36): vo-amrwbenc-0.1.3-2.fc26.x86_64.rpm 408 kB/s | 76 kB 00:00
(25/36): SDL-1.2.15-25.fc26.x86_64.rpm 113 kB/s | 214 kB 00:01
(26/36): libva-1.8.3-1.fc26.x86_64.rpm 627 kB/s | 82 kB 00:00
(27/36): opencl-filesystem-1.0-5.fc26.noarch.rpm 113 kB/s | 6.9 kB 00:00
(28/36): x265-libs-2.4-1.fc26.x86_64.rpm 3.2 MB/s | 1.7 MB 00:00
(29/36): libstdc++-devel-7.2.1-2.fc26.x86_64.rpm 2.1 MB/s | 1.9 MB 00:00
(30/36): hwloc-libs-1.11.5-2.fc26.x86_64.rpm 741 kB/s | 1.6 MB 00:02
(31/36): mesa-libOpenCL-17.2.4-2.fc26.x86_64.rpm 944 kB/s | 601 kB 00:00
(32/36): beignet-1.3.2-1.fc26.x86_64.rpm 1.1 MB/s | 4.8 MB 00:04
(33/36): compiler-rt-4.0.1-1.fc26.x86_64.rpm 904 kB/s | 1.6 MB 00:01
(34/36): clang-libs-4.0.1-5.fc26.x86_64.rpm 4.9 MB/s | 12 MB 00:02
(35/36): libclc-0.2.0-7.git1cb3fbf.fc26.x86_64.rpm 2.0 MB/s | 7.9 MB 00:03
(36/36): pocl-0.14-2.fc26.x86_64.rpm 812 kB/s | 39 MB 00:49
-----------------------------------------------------------------------------------
Total 1.5 MB/s | 83 MB 00:57
warning:
/var/cache/dnf/rpmfusion-free-bc396e189901306c/packages/mplayer-1.3.0-9.fc26.x86_64.rpm:
Header V4 RSA/SHA1 Signature, key ID 9690e4af: NOKEY
Importing GPG key 0x9690E4AF:
Userid : "RPM Fusion free repository for Fedora (26)
<rpmfusion-buildsys(a)lists.rpmfusion.org>"
Fingerprint: E4EE E113 33C9 3091 8D8E 638D 20C7 C9D6 9690 E4AF
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-26
Is this ok [y/N]: y ***
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : ocl-icd-2.2.11-2.fc26.x86_64 1/36
Running scriptlet: ocl-icd-2.2.11-2.fc26.x86_64 1/36
Installing : fribidi-0.19.7-3.fc26.x86_64 2/36
Running scriptlet: fribidi-0.19.7-3.fc26.x86_64 2/36
Installing : libass-0.13.4-2.fc26.x86_64 3/36
Running scriptlet: libass-0.13.4-2.fc26.x86_64 3/36
Installing : opencl-filesystem-1.0-5.fc26.noarch 4/36
Installing : libva-1.8.3-1.fc26.x86_64 5/36
Running scriptlet: libva-1.8.3-1.fc26.x86_64 5/36
Installing : xvidcore-1.3.4-3.fc26.x86_64 6/36
Running scriptlet: xvidcore-1.3.4-3.fc26.x86_64 6/36
Installing : x264-libs-0.148-20.20170519gitd32d7bf.fc26.x86_64 7/36
Running scriptlet: x264-libs-0.148-20.20170519gitd32d7bf.fc26.x86_64 7/36
Installing : libmfx-1.21-1.fc26.x86_64 8/36
Running scriptlet: libmfx-1.21-1.fc26.x86_64 8/36
Installing : libclc-0.2.0-7.git1cb3fbf.fc26.x86_64 9/36
Installing : compiler-rt-4.0.1-1.fc26.x86_64 10/36
Installing : clang-libs-4.0.1-5.fc26.x86_64 11/36
Installing : hwloc-libs-1.11.5-2.fc26.x86_64 12/36
Running scriptlet: hwloc-libs-1.11.5-2.fc26.x86_64 12/36
Installing : libstdc++-devel-7.2.1-2.fc26.x86_64 13/36
Installing : x265-libs-2.4-1.fc26.x86_64 14/36
Running scriptlet: x265-libs-2.4-1.fc26.x86_64 14/36
Installing : vo-amrwbenc-0.1.3-2.fc26.x86_64 15/36
Running scriptlet: vo-amrwbenc-0.1.3-2.fc26.x86_64 15/36
Installing : opencore-amr-0.1.5-1.fc26.x86_64 16/36
Running scriptlet: opencore-amr-0.1.5-1.fc26.x86_64 16/36
Installing : schroedinger-1.0.11-11.fc26.x86_64 17/36
Running scriptlet: schroedinger-1.0.11-11.fc26.x86_64 17/36
Installing : ffmpeg-libs-3.3.6-1.fc26.x86_64 18/36
Running scriptlet: ffmpeg-libs-3.3.6-1.fc26.x86_64 18/36
Installing : lirc-libs-0.10.0-3.fc26.x86_64 19/36
Running scriptlet: lirc-libs-0.10.0-3.fc26.x86_64 19/36
Installing : SDL-1.2.15-25.fc26.x86_64 20/36
Running scriptlet: SDL-1.2.15-25.fc26.x86_64 20/36
Installing : mesa-libGLU-9.0.0-11.fc26.x86_64 21/36
Running scriptlet: mesa-libGLU-9.0.0-11.fc26.x86_64 21/36
Installing : freeglut-3.0.0-4.fc26.x86_64 22/36
Running scriptlet: freeglut-3.0.0-4.fc26.x86_64 22/36
Installing : libcaca-0.99-0.31.beta19.fc26.x86_64 23/36
Running scriptlet: libcaca-0.99-0.31.beta19.fc26.x86_64 23/36
Installing : gpm-libs-1.20.7-10.fc26.x86_64 24/36
Running scriptlet: gpm-libs-1.20.7-10.fc26.x86_64 24/36
Installing : aalib-libs-1.4.0-0.30.rc5.fc26.x86_64 25/36
Running scriptlet: aalib-libs-1.4.0-0.30.rc5.fc26.x86_64 25/36
Installing : mplayer-common-1.3.0-9.fc26.x86_64 26/36
Installing : librtmp-2.4-8.20160224.gitfa8646d.fc26.x86_64 27/36
Running scriptlet: librtmp-2.4-8.20160224.gitfa8646d.fc26.x86_64 27/36
Installing : libmpeg2-0.5.1-12.fc26.x86_64 28/36
Running scriptlet: libmpeg2-0.5.1-12.fc26.x86_64 28/36
Installing : libdca-0.0.5-10.fc26.x86_64 29/36
Running scriptlet: libdca-0.0.5-10.fc26.x86_64 29/36
Installing : faad2-libs-1:2.7-9.fc26.x86_64 30/36
Running scriptlet: faad2-libs-1:2.7-9.fc26.x86_64 30/36
Installing : libbs2b-3.1.0-17.fc26.x86_64 31/36
Running scriptlet: libbs2b-3.1.0-17.fc26.x86_64 31/36
Installing : libXScrnSaver-1.2.2-11.fc26.x86_64 32/36
Running scriptlet: libXScrnSaver-1.2.2-11.fc26.x86_64 32/36
Installing : mplayer-1.3.0-9.fc26.x86_64 33/36
Installing : pocl-0.14-2.fc26.x86_64 34/36
Running scriptlet: pocl-0.14-2.fc26.x86_64 34/36
Installing : beignet-1.3.2-1.fc26.x86_64 35/36
Installing : mesa-libOpenCL-17.2.4-2.fc26.x86_64 36/36
Running scriptlet: mesa-libOpenCL-17.2.4-2.fc26.x86_64 36/36
Running as unit: run-rc344ea09fcaa4a6eb66576b4bb142a42.service
Verifying : mplayer-1.3.0-9.fc26.x86_64 1/36
Verifying : aalib-libs-1.4.0-0.30.rc5.fc26.x86_64 2/36
Verifying : fribidi-0.19.7-3.fc26.x86_64 3/36
Verifying : libXScrnSaver-1.2.2-11.fc26.x86_64 4/36
Verifying : libass-0.13.4-2.fc26.x86_64 5/36
Verifying : libbs2b-3.1.0-17.fc26.x86_64 6/36
Verifying : libcaca-0.99-0.31.beta19.fc26.x86_64 7/36
Verifying : faad2-libs-1:2.7-9.fc26.x86_64 8/36
Verifying : libdca-0.0.5-10.fc26.x86_64 9/36
Verifying : libmpeg2-0.5.1-12.fc26.x86_64 10/36
Verifying : librtmp-2.4-8.20160224.gitfa8646d.fc26.x86_64 11/36
Verifying : mplayer-common-1.3.0-9.fc26.x86_64 12/36
Verifying : x264-libs-0.148-20.20170519gitd32d7bf.fc26.x86_64 13/36
Verifying : xvidcore-1.3.4-3.fc26.x86_64 14/36
Verifying : gpm-libs-1.20.7-10.fc26.x86_64 15/36
Verifying : freeglut-3.0.0-4.fc26.x86_64 16/36
Verifying : mesa-libGLU-9.0.0-11.fc26.x86_64 17/36
Verifying : SDL-1.2.15-25.fc26.x86_64 18/36
Verifying : lirc-libs-0.10.0-3.fc26.x86_64 19/36
Verifying : ffmpeg-libs-3.3.6-1.fc26.x86_64 20/36
Verifying : libmfx-1.21-1.fc26.x86_64 21/36
Verifying : ocl-icd-2.2.11-2.fc26.x86_64 22/36
Verifying : schroedinger-1.0.11-11.fc26.x86_64 23/36
Verifying : opencore-amr-0.1.5-1.fc26.x86_64 24/36
Verifying : vo-amrwbenc-0.1.3-2.fc26.x86_64 25/36
Verifying : x265-libs-2.4-1.fc26.x86_64 26/36
Verifying : libva-1.8.3-1.fc26.x86_64 27/36
Verifying : beignet-1.3.2-1.fc26.x86_64 28/36
Verifying : opencl-filesystem-1.0-5.fc26.noarch 29/36
Verifying : pocl-0.14-2.fc26.x86_64 30/36
Verifying : libstdc++-devel-7.2.1-2.fc26.x86_64 31/36
Verifying : hwloc-libs-1.11.5-2.fc26.x86_64 32/36
Verifying : mesa-libOpenCL-17.2.4-2.fc26.x86_64 33/36
Verifying : clang-libs-4.0.1-5.fc26.x86_64 34/36
Verifying : compiler-rt-4.0.1-1.fc26.x86_64 35/36
Verifying : libclc-0.2.0-7.git1cb3fbf.fc26.x86_64 36/36
Installed:
mplayer.x86_64 1.3.0-9.fc26
beignet.x86_64 1.3.2-1.fc26
mesa-libOpenCL.x86_64 17.2.4-2.fc26
pocl.x86_64 0.14-2.fc26
SDL.x86_64 1.2.15-25.fc26
aalib-libs.x86_64 1.4.0-0.30.rc5.fc26
clang-libs.x86_64 4.0.1-5.fc26
compiler-rt.x86_64 4.0.1-1.fc26
faad2-libs.x86_64 1:2.7-9.fc26
ffmpeg-libs.x86_64 3.3.6-1.fc26
freeglut.x86_64 3.0.0-4.fc26
fribidi.x86_64 0.19.7-3.fc26
gpm-libs.x86_64 1.20.7-10.fc26
hwloc-libs.x86_64 1.11.5-2.fc26
libXScrnSaver.x86_64 1.2.2-11.fc26
libass.x86_64 0.13.4-2.fc26
libbs2b.x86_64 3.1.0-17.fc26
libcaca.x86_64 0.99-0.31.beta19.fc26
libclc.x86_64 0.2.0-7.git1cb3fbf.fc26
libdca.x86_64 0.0.5-10.fc26
libmfx.x86_64 1.21-1.fc26
libmpeg2.x86_64 0.5.1-12.fc26
librtmp.x86_64 2.4-8.20160224.gitfa8646d.fc26
libstdc++-devel.x86_64 7.2.1-2.fc26
libva.x86_64 1.8.3-1.fc26
lirc-libs.x86_64 0.10.0-3.fc26
mesa-libGLU.x86_64 9.0.0-11.fc26
mplayer-common.x86_64 1.3.0-9.fc26
ocl-icd.x86_64 2.2.11-2.fc26
opencl-filesystem.noarch 1.0-5.fc26
opencore-amr.x86_64 0.1.5-1.fc26
schroedinger.x86_64 1.0.11-11.fc26
vo-amrwbenc.x86_64 0.1.3-2.fc26
x264-libs.x86_64 0.148-20.20170519gitd32d7bf.fc26
x265-libs.x86_64 2.4-1.fc26
xvidcore.x86_64 1.3.4-3.fc26
Complete!
[root@f26g ~]#
And now....
[egreshko@f26g ~]$ which mplayer
/usr/bin/mplayer
[egreshko@f26g ~]$ rpm -q mplayer
mplayer-1.3.0-9.fc26.x86_64
--
Fedora Users List - The place to go to speculate endlessly