How to install FFmpeg on Fedora Linux
Published on July 17, 2020•Updated on November 21, 2023
Introduction
FFmpeg is a free, open-source utility to encode/decode video or audio. This tutorial is for all versions of Fedora Linux including:
- Fedora 31
- Fedora 32
Prerequisites
Installation
Add the RPM Fusion repository
$ sudo dnf -y install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm $ sudo dnf -y install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
Update your system to the latest packages.
$ sudo dnf update
Install FFmpeg
$ sudo dnf install -y ffmpeg
Ensure FFmpeg works by running
$ ffmpeg --help