How to Install ffmpeg package in Linux

Step 1: Prerequisites

In order to install ffmpeg package in linux first download the following libraries:

# wget
# yum -y localinstall libdc1394-2.1.2-3.4.el6.x86_64.rpm
# rpm -ivh
# yum -y localinstall atrpms-repo-7-7.el7.x86_64.rpm

Step 2: Installation


Now install ffmpeg package using the following command:

# yum -y install ffmpeg


For Ubuntu and Debian Users execute the following command:

# apt-get update
# apt-get install ffmpeg

Step 3: Check Version

To check the current version of ffmpeg, execute the below command:

# ffmpeg -version

ffmpeg version 2.0.2
built on Oct 27 2013 11:21:04 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)

How to Download Linux CentOS

Version Minor release CD and DVD ISO Images
CentOS-7 7.0.1406 For 32-bit & 64-bit
CentOS-6 6.6 For 32-bit
For 64-bit
CentOS-5 5.1 For 32-bit
For 64-bit