【问题标题】:Install ffmpeg in Centos 7在 Centos 7 中安装 ffmpeg
【发布时间】:2022-02-02 13:04:04
【问题描述】:

我是 Centos 的新手。 当我尝试在 Centos 中安装 ffmpeg 时,遵循此 link

Error: Package: ffmpeg-2.8.15-2.el7.nux.x86_64 (nux-dextop)
           Requires: libSDL-1.2.so.0()(64bit)
Error: Package: ffmpeg-libs-2.8.15-2.el7.nux.x86_64 (nux-dextop)
           Requires: libschroedinger-1.0.so.0()(64bit)
Error: Package: libavdevice-2.8.15-2.el7.nux.x86_64 (nux-dextop)
           Requires: libopenal.so.1()(64bit)
Error: Package: libavdevice-2.8.15-2.el7.nux.x86_64 (nux-dextop)
           Requires: libSDL-1.2.so.0()(64bit)
Error: Package: ffmpeg-libs-2.8.15-2.el7.nux.x86_64 (nux-dextop)
           Requires: libass.so.5()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

当我尝试安装 libSDL-1.2.so.0 时,我遇到了另一个依赖项错误。 在 Centos 中安装的通常做法是什么?

【问题讨论】:

  • 那么我应该在哪里问这样的问题呢?

标签: ffmpeg centos centos7


【解决方案1】:

我去 Centos 存储库并下载 rpm 二进制包。 然后使用如下命令。 sudo yum --nogpgcheck localinstall xxxxxxxxxxx.rpm

如果有依赖包要安装,我先尝试安装那些依赖包。

【讨论】:

    【解决方案2】:

    我们需要先为 Centos 7 安装 epel 存储库。

    https://www.cyberciti.biz/faq/installing-rhel-epel-repo-on-centos-redhat-7-x/

    然后使用 yum install command 从 epel 存储库安装。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-06-23
      • 2020-04-10
      • 1970-01-01
      • 2015-10-25
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多