How to install FFmpeg on Fedora Linux 33/34 using dnf

FFmpeg is a powerful multimedia framework that can be used to encode, decode, and manipulate audio and video files. To install FFmpeg on Fedora Linux 33/34 using dnf, you can use the following steps:

  1. Add the RPM Fusion repository to your system by running the following command:
sudo dnf -y install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
  1. Update your system’s package list by running the following command:
sudo dnf update
  1. Install the FFmpeg package by running the following command:
sudo dnf -y install ffmpeg
  1. After the installation is finished, you can start using FFmpeg by typing the following command in terminal:
ffmpeg -version

It’s important to note that you might need to have additional codecs installed to be able to use FFmpeg with certain file formats. You can install them by running the following command:

sudo dnf -y install gstreamer1-plugins-{bad-free,bad-nonfree,good,ugly} ffmpeg-libs

Also, remember to keep your system up to date, in order to have the latest security patches and bug fixes.

Leave a Comment