在 CentOS 6.10 上安装

在 CentOS 6.10 上安装

我们正在尝试安装 ffmpeg,并按照以下说明进行操作在 CentOS 6 - CentOS 7 中使用 FFMpeg Static 安装 FFMpeg (在 Binary Computer Solutions, Inc)。我有 CentOS 6.10 kvm。

但是当我们运行这个命令时,它显然没有正确安装,因为 ffmpeg 无法安装。

rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm

这些是我们得到的错误

Error: Package: libavdevice-2.8.15-1.el7.nux.x86_64 (nux-dextop)
           Requires: libcdio_paranoia.so.1(CDIO_PARANOIA_1)(64bit)
Error: Package: x265-libs-1.9-1.el7.nux.x86_64 (nux-dextop)
           Requires: libm.so.6(GLIBC_2.15)(64bit)
Error: Package: ffmpeg-libs-2.8.15-1.el7.nux.x86_64 (nux-dextop)
           Requires: libgnutls.so.28(GNUTLS_1_4)(64bit)
Error: Package: ffmpeg-libs-2.8.15-1.el7.nux.x86_64 (nux-dextop)
           Requires: libass.so.5()(64bit)
Error: Package: ffmpeg-libs-2.8.15-1.el7.nux.x86_64 (nux-dextop)
           Requires: libgmp.so.10()(64bit)
Error: Package: xvidcore-1.3.2-5.el7.nux.x86_64 (nux-dextop)
           Requires: libm.so.6(GLIBC_2.15)(64bit)
Error: Package: ffmpeg-libs-2.8.15-1.el7.nux.x86_64 (nux-dextop)
           Requires: libgnutls.so.28(GNUTLS_3_0_0)(64bit)
Error: Package: libavdevice-2.8.15-1.el7.nux.x86_64 (nux-dextop)
           Requires: libcdio_cdda.so.1()(64bit)
Error: Package: ffmpeg-libs-2.8.15-1.el7.nux.x86_64 (nux-dextop)
           Requires: libopenjpeg.so.1()(64bit)
Error: Package: ffmpeg-libs-2.8.15-1.el7.nux.x86_64 (nux-dextop)
           Requires: libgnutls.so.28()(64bit)
Error: Package: libavdevice-2.8.15-1.el7.nux.x86_64 (nux-dextop)
           Requires: libcdio_paranoia.so.1()(64bit)
Error: Package: libavdevice-2.8.15-1.el7.nux.x86_64 (nux-dextop)
           Requires: libcdio_cdda.so.1(CDIO_CDDA_1)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles —nodigest

答案1

最好从源代码构建和安装。请参阅 ffmpeg 网站以获取有关如何操作的说明:

答案2

两个 rpm 命令之间缺少 &&。因此它会导入密钥,但从不安装存储库。

将 && 放在两个 rpm 命令之间,或者作为两个命令运行,将导致安装成功。

尝试这个:

rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro && rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm

相关内容