Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I upgrade ffmpeg to version 0.6 on debian-based operating system?

I'm using apt-get for installation and deb packages.

share|improve this question
Is the problem here that that version of ffmpeg is not in the normal repositories? – Caleb Jul 17 '11 at 20:53
When I run apt-get install ffmpeg it writes me that my package is already the newest version but it isn't. I need version 0.6. – xralf Jul 17 '11 at 21:17
I recommend installing from source. Last time I checked Debian and Ubuntu shipped unusable versions of ffmpeg (and mplayer) so I do that anyway. You can still get the dependencies with apt-get build-dep ffmpeg. – stribika Jul 17 '11 at 22:50
up vote 4 down vote accepted

Debian currently carries ffmpeg versions 0.5.2 in stable (squeeze), 0.6.2 in testing (wheezy) and in unstable. There's also a 0.7 package in experimental. Ubuntu currently carries versions 0.5.1 in lucid (Ubuntu 10.04) and 0.6.2 in natty (Ubuntu 11.04), and 0.7 in oneiric (in alpha-testing).

If you're running squeeze, 0.5.2 is the newest version of the package for squeeze. Debian makes no promise that they'll always have the latest version of every software, and fact the very premise of the stable release is that program versions are not updated during the lifecycle of the stable release. Similarly, 0.5.1 is the newest version of the package for lucid, which is a long-time support release of Ubuntu (no package upgrades unless absolutely necessary).

The Debian multimedia repository currently has 0.6.1 for squeeze. Generally if you want more recent versions or more features in multimedia packages, you should use that repository.

In general, if you want more recent versions, you can try recompiling the source package from testing or unstable on squeeze. The dependencies look ok. (Also, you can find some backports of testing packages to stable in the backports repository, but there isn't one for ffmpeg at this time.) For Ubuntu, similarly, grab the source package from a more recent distribution and try recompiling; or look for a PPA; there are many offering ffmpeg (not all of them offer current versions, and some of the matches don't have ffmpeg but only software that interoperates with it).

share|improve this answer
Actually I'm using Xubuntu 10.04. I didn't know that the version of ffmpeg is dependent on version of Debian or Ubuntu. – xralf Jul 18 '11 at 15:36
@xralf Unless your distribution is a “rolling release” (i.e. always get the latest software, whether it's broken or not), you get whatever version was current when the package for your release was made, i.e. whatever version of the software was current a little before the distribution shipped. – Gilles Jul 18 '11 at 18:21
@xralf: so what did you chose actually? – Philomath Jul 18 '11 at 23:53
@Philomath I will try recompiling and hope it will work. – xralf Jul 19 '11 at 15:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.