fedora23 安装ffmpeg

来源:互联网 发布:windows 10可以投屏吗 编辑:程序博客网 时间:2024/06/06 02:22

试图在线安装,但是提示没有。

[zhangz@zwfedora23 ~]$ sudo yum install ffmpegYum 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 kTransaction Summary=============================================================================================================================================================Install  2 PackagesTotal size: 39 kInstalled size: 20 kIs this ok [y/N]: yDownloading Packages:Running transaction checkTransaction check succeeded.Running transaction testTransaction test succeeded.Running transaction  Installing  : rpmfusion-free-release-23-1.noarch                                                                                                       1/2  Installing  : rpmfusion-nonfree-release-23-2.noarch                                                                                                    2/2warning: 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/2Installed:  rpmfusion-free-release.noarch 23-1                                          rpmfusion-nonfree-release.noarch 23-2Complete!
sudo dnf install ffmpeg*RPM Fusion for Fedora 23 - Nonfree - Updates                                                                                  62 kB/s |  74 kB     00:01RPM Fusion for Fedora 23 - Free                                                                                              603 kB/s | 457 kB     00:00RPM Fusion for Fedora 23 - Nonfree                                                                                           101 kB/s | 156 kB     00:01RPM Fusion for Fedora 23 - Free - Updates                                                                                    416 kB/s | 371 kB     00:00Dependencies 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 kTransaction Summary=============================================================================================================================================================Install  20 PackagesTotal download size: 13 MInstalled size: 40 MIs this ok [y/N]: yDownloading 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:11warning: /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: NOKEYImporting 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-23Is this ok [y/N]: yKey imported successfullyRunning transaction checkTransaction check succeeded.Running transaction testTransaction 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/20Installed:  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.fc23Complete!
0 0
原创粉丝点击