How to Install FFmpeg on AlmaLinux 10

Published: 2026-05-31

AlmaLinux 10 does not include the complete FFmpeg multimedia package in the default repositories.

Even after enabling EPEL and CRB repositories, the full FFmpeg package is still unavailable because the complete codec-enabled build is provided by RPM Fusion.

This guide explains how to install the full FFmpeg package on AlmaLinux 10, solve common package conflicts, and verify complete codec support.

Why RPM Fusion Is Required

The default AlmaLinux repositories focus on enterprise stability and do not provide all multimedia codecs.

The RPM Fusion repository provides a complete FFmpeg build with support for:

  • H.264
  • H.265
  • AV1
  • VP9
  • NVIDIA NVENC
  • Vulkan acceleration
  • Additional audio and video codecs

For desktop multimedia applications, video processing, screen recording, and development tools, the RPM Fusion version is usually the better choice.

Prerequisites

Before installing FFmpeg, enable the required repositories.

Enable EPEL and CRB


sudo dnf install -y epel-release

sudo crb enable

Install RPM Fusion Repositories

Install both Free and Nonfree RPM Fusion repositories.


sudo dnf install -y \
https://download1.rpmfusion.org/free/el/rpmfusion-free-release-10.noarch.rpm \
https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-10.noarch.rpm

Refresh repository metadata:


sudo dnf clean all

sudo dnf makecache

Install Full FFmpeg

Install FFmpeg and related multimedia packages:


sudo dnf install -y ffmpeg ffmpeg-devel mpv

Verify installation:


ffmpeg -version

A successful installation will display FFmpeg version information and enabled libraries.

Common Package Conflict

Some AlmaLinux installations may already contain limited multimedia packages:


ffmpeg-free

libswscale-free

These packages cannot coexist with the complete RPM Fusion FFmpeg build.

The conflict usually appears like:


package ffmpeg conflicts with ffmpeg-free

package libswscale conflicts with libswscale-free

This happens because:

  • `ffmpeg-free` is a restricted FFmpeg build
  • RPM Fusion provides the complete codec-enabled FFmpeg package

Only one version can be installed at the same time.

Fix FFmpeg Package Conflict

The easiest solution is allowing DNF to remove conflicting packages automatically.


sudo dnf install -y ffmpeg ffmpeg-devel mpv --allowerasing

DNF will automatically:

  1. Remove conflicting packages
  1. Install the full FFmpeg package
  1. Resolve dependencies

Manual Removal Method

If you prefer manual control:


sudo dnf remove ffmpeg-free libswscale-free

Then install FFmpeg again:


sudo dnf install -y ffmpeg ffmpeg-devel mpv

Verify Codec Support

The important part of a complete FFmpeg installation is codec support.

Check all available codecs:


ffmpeg -codecs

Check H.264 encoder:


ffmpeg -encoders | grep 264

Check H.265 encoder:


ffmpeg -encoders | grep 265

Example Successful Installation

After successful installation:


ffmpeg

Example output:


ffmpeg version 7.1.4 Copyright (c) 2000-2026 the FFmpeg developers

The build includes:


libx264
libx265
libvpx
libaom
libsvtav1
openh264
nvenc
vulkan
libass
bluray
mp3lame

These indicate that the complete FFmpeg codec environment is available.

Supported Multimedia Features

With the RPM Fusion FFmpeg build, AlmaLinux 10 can support:

  • H.264 video encoding and decoding
  • H.265 / HEVC processing
  • AV1 video codec
  • VP8 / VP9 processing
  • NVIDIA GPU acceleration through NVENC
  • Vulkan acceleration
  • Subtitle rendering through libass
  • Blu-ray media support
  • MP3 encoding
  • Advanced audio processing

This is suitable for:

  • Video editing
  • Screen recording
  • Streaming applications
  • AI video processing
  • Desktop multimedia applications
  • Custom FFmpeg-based development tools

Alternative Installation Method

If FFmpeg is not immediately available, enable RPM Fusion updates:


sudo dnf --enablerepo=rpmfusion-free-updates install ffmpeg

Related Articles

DevOps Handy Tools: Practical Linux Utilities

Conclusion

Installing FFmpeg on AlmaLinux 10 requires RPM Fusion because the complete codec-enabled build is not included in the default repositories.

The most common problem is the conflict between:


ffmpeg-free

libswscale-free

and the full RPM Fusion packages.

The recommended solution:


sudo dnf install -y ffmpeg ffmpeg-devel mpv --allowerasing

After installation, always verify codec support to confirm that the complete FFmpeg environment is working correctly.

Explore More

Technology Guides →

Southeast Asia Insights →