Install FFmpeg on Ubuntu Linux Command Line

This quick tutorial will help you install FFmpeg if typing apt-get install ffmpeg via SSH is not installing FFmpeg for you, but instead giving you some message like:

Package ffmpeg is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package ‘ffmpeg’ has no installation candidate

Let’s cut to the chase. Just type in these three commands to install FFmpeg on Ubuntu Linux 14.04 (Trusty) via SSH command line:

3-Step FFmpeg Ubuntu Installation Tutorial

  1. add-apt-repository ppa:mc3man/trusty-media
  2. apt-get update && apt-get dist-upgrade
  3. apt-get install ffmpeg

Further reading: