Install ffmpeg problem

Hi,

sudo dnf install ffmpeg

Gives me:

Error:
Problem: conflicting requests

  • nothing provides libSDL2-2.0.so.0()(64bit) needed by ffmpeg-4.2.5-1.el8.x86_64
    (try to add ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)

Searching this error I found:

Install ffmpeg

Which says:

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. :slight_smile:

Next I checked which repos I already have installed:

dnf repolist
repo id repo name
appstream Rocky Linux 8 - AppStream
baseos Rocky Linux 8 - BaseOS
epel Extra Packages for Enterprise Linux 8 - x86_64
epel-modular Extra Packages for Enterprise Linux Modular 8 - x86_64
extras Rocky Linux 8 - Extras
rpmfusion-free-updates RPM Fusion for EL 8 - Free - Updates
rpmfusion-nonfree-updates RPM Fusion for EL 8 - Nonfree - Updates

So it looks like I already have an EPEL and RPM Fusion for EL 8 - Free repo installed.

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

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

Something that is ok to do with Rocky Linux?

Thanks ahead of time for any help.

Hi,

Please try enabling the powertools repo:

dnf config-manager --set-enabled powertools

Then try installing ffmpeg again.

I believe the subscription mananger is only for redhat, not its derivatives.

Thanks Tom.

2 Likes

@ tjdoyle
Hi Tom,
That worked like a charm!
Your very prompt and very helpful support is much appreciated!

1 Like