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
测试结果
相关文章
- [Docker系列] Install BaoTa with Docker
- [信创系列]银河麒麟安装nodejs18和npm2,并启动对应工程
- EasyExcel导出Excel并合并单元格
- Python3安装pip及pip安装whl包
- [Ubuntu系列]Ubuntu 安装 Harbor
- [Ubuntu系列]Ubuntu 安装 docker 及修改 docker 存储位置
- [Centos系列]CentOS 修改 DNS
- [Centos系列]source /etc/profile 无法永久生效问题
- Linux系统根据CPU架构确定安装包
- [Ubuntu系列]Install Software on Ubuntu