
If you’re using Debian 8 – Jessie, FFmpeg won’t be available in the official repository. However, the Debian multimedia repository can be used to install the codex. We will have to add the Debian multimedia repository.

To add this, we need to edit the file /etc/apt/sources.list. This file contains the list of repositories APT uses. Open the file using the following command and press I (Insert) to start editing: vi /etc/apt/sources.listĪdd the lines listed below to the file: deb jessie main non-free To edit this file, you can use a terminal editor such as nano or vi. To exit the editor press : and execute q! To save your edit on the vi editor press Esc. Next we will have to install the deb-multimedia-keyring package. First, we will update, then install, and update one more time. To validate the installation on Debian use the following command: ffmpeg -version Once you’re done, install the FFmpeg package using: apt install ffmpeg This makes sure that all the changes are correctly updated and noted.



Install FFmpeg on CentOS, Fedora, and RHELĬentOS does not provide an official repository for FFmpeg installation. To install using CentOS 7 or 6, update the system using: yum install epel-release -y This can be installed using third party nux dextop yum repo. On CentOS 7 and RHEL 7 use the following command: rpm -import UPDATE INSTALL FFMPEG WINDOWS UPDATE Next, we can install FFmpeg and its development packages using: yum install ffmpeg ffmpeg-devel -y On CentOS/RHEL 6/5, the command is slightly different and refers to a different repository. If you don’t have it installed use this command: dnf install $(rpm -E %fedora).noarch.rpm To install FFmpeg on Fedora, use the RPMfusion repository.
