In this tutorial, we will show you how to install FFmpeg on Fedora 35. For those of you who didn’t know, FFmpeg is a free, open-source utility to encode/decode video or audio. At its core is the FFmpeg program itself, designed for command-line-based processing of video and audio files, and widely used for format transcoding, basic editing, video scaling, video post-production effects, and standards compliance.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you the step-by-step installation of the FFmpeg on a Fedora 35.
Prerequisites
- A server running one of the following operating systems: Fedora 35 or Fedora 34.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, you can harm your system if you’re not careful when acting as the root.
Install FFmpeg on Fedora 35
Step 1. Before proceeding, update your Fedora operating system to make sure all existing packages are up to date. Use this command to update the server packages:
sudo dnf upgrade sudo dnf update
Step 2. Installing FFmpeg on Fedora 35.
By default, FFmpeg is available on Fedora 35 base repository. Now run the following command to install another repository called RPMfusion on your fedora system for FFmpeg installation:
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
Next, update your system to the latest packages and install FFmpeg using the following command below:
sudo dnf update sudo dnf install ffmpeg
Check the FFmpeg version installed on the system:
ffmpeg -version
Step 3. Using FFmpeg on Fedora Linux.
The usage of FFmpeg depends on individual projects and the desired output. Refer to the official FFmpeg documentation for an in-depth description of its features and examples. If you want to learn more about FFmpeg, input:
ffmpeg --help
Congratulations! You have successfully installed FFmpeg. Thanks for using this tutorial for installing the FFmpeg open-source utility to encode/decode video or audio on your Fedora 35 system. For additional help or useful information, we recommend you check the official FFmpeg website.