试图在线安装,但是提示没有。
[zhangz@zwfedora23 ~]$ sudo yum install ffmpeg
Yum command has been deprecated, redirecting to '/usr/bin/dnf install libffmpeg'.
See 'man dnf' and 'man yum2dnf' for more information.
To transfer transaction metadata from yum to DNF, run:
'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate'
Last metadata expiration check: 0:14:04 ago on Sun May 14 09:54:58 2017.
No package libffmpeg available.
Error: Unable to find a match.
于是去官网看了一下,仔细看,看到了这样的一句话:
RPM Fusion provides software that the Fedora Project or Red Hat doesn’t want to ship.
又在网上搜了一下,得知,需要先装一个rpm。
[zhangz@zwfedora23 ~]$ su -c 'yum install --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:
Yum command has been deprecated, redirecting to '/usr/bin/dnf install --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-23.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-23.noarch.rpm'.
See 'man dnf' and 'man yum2dnf' for more information.
To transfer transaction metadata from yum to DNF, run:
'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate'
Last metadata expiration check: 0:16:25 ago on Sun May 14 09:54:58 2017.
Dependencies resolved.
=============================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================
Installing:
rpmfusion-free-release noarch 23-1 @commandline 19 k
rpmfusion-nonfree-release noarch 23-2 @commandline 20 k
Transaction Summary
=============================================================================================================================================================
Install 2 Packages
Total size: 39 k
Installed size: 20 k
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Installing : rpmfusion-free-release-23-1.noarch 1/2
Installing : rpmfusion-nonfree-release-23-2.noarch 2/2
warning: rpmfusion-nonfree-release-23-2.noarch: Header V4 RSA/SHA1 Signature, key ID 5ca6c469: NOKEY
Verifying : rpmfusion-nonfree-release-23-2.noarch 1/2
Verifying : rpmfusion-free-release-23-1.noarch 2/2
Installed:
rpmfusion-free-release.noarch 23-1 rpmfusion-nonfree-release.noarch 23-2
Complete!
sudo dnf install ffmpeg*
RPM Fusion for Fedora 23 - Nonfree - Updates 62 kB/s | 74 kB 00:01
RPM Fusion for Fedora 23 - Free 603 kB/s | 457 kB 00:00
RPM Fusion for Fedora 23 - Nonfree 101 kB/s | 156 kB 00:01
RPM Fusion for Fedora 23 - Free - Updates 416 kB/s | 371 kB 00:00
Dependencies resolved.
=============================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================
Installing:
dirac-libs x86_64 1.0.2-17.fc23 fedora 259 k
ffmpeg x86_64 2.8.10-1.fc23 rpmfusion-free-updates 1.3 M
ffmpeg-compat x86_64 0.6.7-9.fc23 rpmfusion-free 2.6 M
ffmpeg-compat-devel x86_64 0.6.7-9.fc23 rpmfusion-free 131 k
ffmpeg-devel x86_64 2.8.10-1.fc23 rpmfusion-free-updates 682 k
ffmpeg-libs x86_64 2.8.10-1.fc23 rpmfusion-free-updates 5.5 M
ffmpegthumbnailer x86_64 2.1.1-1.fc23 rpmfusion-free-updates 52 k
ffmpegthumbnailer-devel x86_64 2.1.1-1.fc23 rpmfusion-free-updates 14 k
ffmpegthumbs x86_64 16.08.1-1.fc23 rpmfusion-free-updates 34 k
fribidi x86_64 0.19.6-5.fc23 fedora 69 k
lame-libs x86_64 3.99.5-5.fc23 rpmfusion-free 345 k
libass x86_64 0.13.4-1.fc23 updates 95 k
libavdevice x86_64 2.8.10-1.fc23 rpmfusion-free-updates 77 k
librtmp x86_64 2.4-7.20160224.gitfa8646d.fc23 rpmfusion-free-updates 74 k
libva x86_64 1.6.2-2.fc23 updates 83 k
openjpeg-libs x86_64 1.5.1-15.fc23 fedora 89 k
schroedinger x86_64 1.0.11-9.fc23 fedora 317 k
x264-libs x86_64 0.148-10.20160614gita5e06b9.fc23 rpmfusion-free-updates 600 k
x265-libs x86_64 1.8-1.fc23 rpmfusion-free 528 k
xvidcore x86_64 1.3.4-2.fc23 rpmfusion-free 266 k
Transaction Summary
=============================================================================================================================================================
Install 20 Packages
Total download size: 13 M
Installed size: 40 M
Is this ok [y/N]: y
Downloading Packages:
[MIRROR] ffmpeg-libs-2.8.10-1.fc23.x86_64.rpm: Status code: 404 for http://mirrors.ustc.edu.cn/fedora/rpmfusion/free/fedora/updates/23/x86_64/f/ffmpeg-libs-2.8.10-1.fc23.x86_64.rpm
[MIRROR] ffmpeg-devel-2.8.10-1.fc23.x86_64.rpm: Status code: 404 for http://mirrors.ustc.edu.cn/fedora/rpmfusion/free/fedora/updates/23/x86_64/f/ffmpeg-devel-2.8.10-1.fc23.x86_64.rpm
[MIRROR] libavdevice-2.8.10-1.fc23.x86_64.rpm: Status code: 404 for http://mirrors.ustc.edu.cn/fedora/rpmfusion/free/fedora/updates/23/x86_64/l/libavdevice-2.8.10-1.fc23.x86_64.rpm
(1/20): libavdevice-2.8.10-1.fc23.x86_64.rpm 103 kB/s | 77 kB 00:00
[MIRROR] lame-libs-3.99.5-5.fc23.x86_64.rpm: Status code: 404 for http://mirrors.ustc.edu.cn/fedora/rpmfusion/free/fedora/releases/23/Everything/x86_64/os/Packages/l/lame-libs-3.99.5-5.fc23.x86_64.rpm
(2/20): ffmpeg-devel-2.8.10-1.fc23.x86_64.rpm 669 kB/s | 682 kB 00:01
[MIRROR] x265-libs-1.8-1.fc23.x86_64.rpm: Status code: 404 for http://mirrors.ustc.edu.cn/fedora/rpmfusion/free/fedora/releases/23/Everything/x86_64/os/Packages/x/x265-libs-1.8-1.fc23.x86_64.rpm
(3/20): x265-libs-1.8-1.fc23.x86_64.rpm 487 kB/s | 528 kB 00:01
[MIRROR] xvidcore-1.3.4-2.fc23.x86_64.rpm: Status code: 404 for http://mirrors.ustc.edu.cn/fedora/rpmfusion/free/fedora/releases/23/Everything/x86_64/os/Packages/x/xvidcore-1.3.4-2.fc23.x86_64.rpm
(4/20): lame-libs-3.99.5-5.fc23.x86_64.rpm 218 kB/s | 345 kB 00:01
(5/20): openjpeg-libs-1.5.1-15.fc23.x86_64.rpm 345 kB/s | 89 kB 00:00
(6/20): schroedinger-1.0.11-9.fc23.x86_64.rpm 1.3 MB/s | 317 kB 00:00
(7/20): xvidcore-1.3.4-2.fc23.x86_64.rpm 341 kB/s | 266 kB 00:00
(8/20): ffmpegthumbnailer-2.1.1-1.fc23.x86_64.rpm 277 kB/s | 52 kB 00:00
(9/20): ffmpegthumbs-16.08.1-1.fc23.x86_64.rpm 322 kB/s | 34 kB 00:00
(10/20): ffmpegthumbnailer-devel-2.1.1-1.fc23.x86_64.rpm 250 kB/s | 14 kB 00:00
(11/20): ffmpeg-2.8.10-1.fc23.x86_64.rpm 990 kB/s | 1.3 MB 00:01
(12/20): dirac-libs-1.0.2-17.fc23.x86_64.rpm 1.1 MB/s | 259 kB 00:00
(13/20): ffmpeg-compat-0.6.7-9.fc23.x86_64.rpm 2.0 MB/s | 2.6 MB 00:01
(14/20): ffmpeg-compat-devel-0.6.7-9.fc23.x86_64.rpm 522 kB/s | 131 kB 00:00
(15/20): libass-0.13.4-1.fc23.x86_64.rpm 368 kB/s | 95 kB 00:00
(16/20): fribidi-0.19.6-5.fc23.x86_64.rpm 603 kB/s | 69 kB 00:00
(17/20): libva-1.6.2-2.fc23.x86_64.rpm 1.5 MB/s | 83 kB 00:00
(18/20): librtmp-2.4-7.20160224.gitfa8646d.fc23.x86_64.rpm 348 kB/s | 74 kB 00:00
(19/20): x264-libs-0.148-10.20160614gita5e06b9.fc23.x86_64.rpm 1.1 MB/s | 600 kB 00:00
(20/20): ffmpeg-libs-2.8.10-1.fc23.x86_64.rpm 705 kB/s | 5.5 MB 00:08
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 1.1 MB/s | 13 MB 00:11
warning: /var/cache/dnf/rpmfusion-free-updates-cafbf99923403cfd/packages/ffmpeg-devel-2.8.10-1.fc23.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID e051b67e: NOKEY
Importing GPG key 0xE051B67E:
Userid : "RPM Fusion free repository for Fedora (23) <rpmfusion-buildsys@lists.rpmfusion.org>"
Fingerprint: 1E0D 69F0 77CA 4960 C32C 17E2 5B03 78C0 E051 B67E
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-23
Is this ok [y/N]: y
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Installing : x264-libs-0.148-10.20160614gita5e06b9.fc23.x86_64 1/20
Installing : schroedinger-1.0.11-9.fc23.x86_64 2/20
Installing : openjpeg-libs-1.5.1-15.fc23.x86_64 3/20
Installing : xvidcore-1.3.4-2.fc23.x86_64 4/20
Installing : lame-libs-3.99.5-5.fc23.x86_64 5/20
Installing : librtmp-2.4-7.20160224.gitfa8646d.fc23.x86_64 6/20
Installing : libva-1.6.2-2.fc23.x86_64 7/20
Installing : fribidi-0.19.6-5.fc23.x86_64 8/20
Installing : libass-0.13.4-1.fc23.x86_64 9/20
Installing : dirac-libs-1.0.2-17.fc23.x86_64 10/20
Installing : ffmpeg-compat-0.6.7-9.fc23.x86_64 11/20
Installing : x265-libs-1.8-1.fc23.x86_64 12/20
Installing : ffmpeg-libs-2.8.10-1.fc23.x86_64 13/20
Installing : libavdevice-2.8.10-1.fc23.x86_64 14/20
Installing : ffmpegthumbnailer-2.1.1-1.fc23.x86_64 15/20
Installing : ffmpegthumbnailer-devel-2.1.1-1.fc23.x86_64 16/20
Installing : ffmpeg-devel-2.8.10-1.fc23.x86_64 17/20
Installing : ffmpeg-2.8.10-1.fc23.x86_64 18/20
Installing : ffmpegthumbs-16.08.1-1.fc23.x86_64 19/20
Installing : ffmpeg-compat-devel-0.6.7-9.fc23.x86_64 20/20
Verifying : ffmpeg-devel-2.8.10-1.fc23.x86_64 1/20
Verifying : ffmpeg-libs-2.8.10-1.fc23.x86_64 2/20
Verifying : libavdevice-2.8.10-1.fc23.x86_64 3/20
Verifying : lame-libs-3.99.5-5.fc23.x86_64 4/20
Verifying : x265-libs-1.8-1.fc23.x86_64 5/20
Verifying : xvidcore-1.3.4-2.fc23.x86_64 6/20
Verifying : openjpeg-libs-1.5.1-15.fc23.x86_64 7/20
Verifying : schroedinger-1.0.11-9.fc23.x86_64 8/20
Verifying : ffmpeg-2.8.10-1.fc23.x86_64 9/20
Verifying : ffmpegthumbnailer-2.1.1-1.fc23.x86_64 10/20
Verifying : ffmpegthumbs-16.08.1-1.fc23.x86_64 11/20
Verifying : ffmpegthumbnailer-devel-2.1.1-1.fc23.x86_64 12/20
Verifying : ffmpeg-compat-0.6.7-9.fc23.x86_64 13/20
Verifying : dirac-libs-1.0.2-17.fc23.x86_64 14/20
Verifying : ffmpeg-compat-devel-0.6.7-9.fc23.x86_64 15/20
Verifying : libass-0.13.4-1.fc23.x86_64 16/20
Verifying : fribidi-0.19.6-5.fc23.x86_64 17/20
Verifying : libva-1.6.2-2.fc23.x86_64 18/20
Verifying : x264-libs-0.148-10.20160614gita5e06b9.fc23.x86_64 19/20
Verifying : librtmp-2.4-7.20160224.gitfa8646d.fc23.x86_64 20/20
Installed:
dirac-libs.x86_64 1.0.2-17.fc23 ffmpeg.x86_64 2.8.10-1.fc23 ffmpeg-compat.x86_64 0.6.7-9.fc23
ffmpeg-compat-devel.x86_64 0.6.7-9.fc23 ffmpeg-devel.x86_64 2.8.10-1.fc23 ffmpeg-libs.x86_64 2.8.10-1.fc23
ffmpegthumbnailer.x86_64 2.1.1-1.fc23 ffmpegthumbnailer-devel.x86_64 2.1.1-1.fc23 ffmpegthumbs.x86_64 16.08.1-1.fc23
fribidi.x86_64 0.19.6-5.fc23 lame-libs.x86_64 3.99.5-5.fc23 libass.x86_64 0.13.4-1.fc23
libavdevice.x86_64 2.8.10-1.fc23 librtmp.x86_64 2.4-7.20160224.gitfa8646d.fc23 libva.x86_64 1.6.2-2.fc23
openjpeg-libs.x86_64 1.5.1-15.fc23 schroedinger.x86_64 1.0.11-9.fc23 x264-libs.x86_64 0.148-10.20160614gita5e06b9.fc23
x265-libs.x86_64 1.8-1.fc23 xvidcore.x86_64 1.3.4-2.fc23
Complete!