Install ffmpeg

Latest response

Hi guys

I am trying to install ffmpeg but it complains about libSDL2 not available. How do I install ffmpeg?

[root@desktop ~]# dnf install ffmpeg
Updating Subscription Management repositories.
Last metadata expiration check: 1:06:23 ago on Sun 11 Oct 2020 17:26:47 SAST.
Error:
Problem: conflicting requests
- nothing provides libSDL2-2.0.so.0()(64bit) needed by ffmpeg-4.2.4-1.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Regards,
Anish

Responses

Hi Anish,

The package ffmpeg can be installed by executing the following commands :

sudo subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms

sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
sudo dnf install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm

sudo dnf upgrade
sudo dnf install ffmpeg

If you still receive the mentioned error message, you will have to wait until the matching SDL2 package is available. :)

Regards,
Christian

This fails with the error:

[FAILED] rpmfusion-free-release-8.noarch.rpm: Curl error (60): Peer certificate cannot be authenticated with given CA certificates for https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm [SSL certificate problem: EE certificate key too weak] Curl error (60): Peer certificate cannot be authenticated with given CA certificates for https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm [SSL certificate problem: EE certificate key too weak]

Thanks Christian. I forgot about codeready everytime i install RHEL on anything.

You're welcome, Łukasz ! :)