Centos 8 安装 ffmpeg
场景描述
ffmpeg是著名的流媒体工具,CentOS 8 上安装 ffmpeg 却提示如下所示的错误!
解决过程
Q:
I was trying to install erlang package on CentOS8 box from EPEL8. And I got this message -> - nothing provides libSDL2-2.0.so.0()(64bit) needed by wxGTK3-3.0.4-10.el8.1.x86_64
Which I found weird, I rarely see dependencies errors on a vanilla centos box with EPEL. But I couldnt find the SDL2 package.. RHEL 8 does have it.
SDL2, SDL2-devel, SDL2-static
A:
Nevermind! I found them in the powertools c8 repos. http://mirror.leaseweb.com/centos/8/PowerTools/x86_64/os/Packages/
R:
I’ve enable repo:
sudo dnf config-manager –set-enabled PowerTools
List your repos:
sudo dnf repolist all
命令历史:
2021-05-19 12:20:48 sudo dnf install epel-release dnf-utils
2021-05-19 12:20:59 sudo yum-config-manager –set-enabled PowerTools
2021-05-19 12:21:09 sudo yum-config-manager –add-repo=https://negativo17.org/repos/epel-multimedia.repo
2021-05-19 12:21:17 sudo dnf install ffmpeg
2021-05-19 13:09:10 sudo dnf repolist all
2021-05-19 13:09:42 sudo dnf repolist all | grep power
2021-05-19 13:09:51 sudo dnf config-manager –set-enabled PowerTools
2021-05-19 13:09:59 sudo dnf config-manager –set-enabled powertools
2021-05-19 13:10:05 sudo dnf install ffmpeg