Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

I would like to try out the opus audio encoder, but can't find it in the repositories. Can anyone here help me get it installed on my computer? I have some wav files which I would like to convert to the opus audio format.

However, I have found this link, but each time I click on the appropriate deb download, the package manager opens, but displays an error message saying that there are dependency issues (lib0gg0).

share|improve this question
My answer here might help if you are on 12.04. – user76204 Jan 10 '13 at 2:25

The opus audio codecs are installed with the following packages:

  • libogg0 (>= 1.3.0)
  • libopus0
  • opus-tools

All these packages are already built ready to be available for Ubuntu 12.10 alpha and can be downloaded from the mirrors.

However be warned: if you downloaded these not yet fully tested packages and installed them manually in an earlier Ubuntu release you may break your sound system in case there are incompatibilites. This may especially be true for the Ogg library as the upgraded version replaces the previous installed older version.

share|improve this answer

This is an older question but times have indeed changes and with Trusty Tahr now you have a few easier choices:

  1. Install the opus-tools package:

    sudo apt-get install opus-tools

    and then create opus files from the commandline:

    opusenc --bitrate 128 input.wav output.opus  
  2. Install the libav-tools package:

    sudo apt-get install libav-tools

    and then create your opus files from the commandline:

    avconv -i input.wav -c:a libopus -b:a 128k output.opus

Newer versions of Ubuntu can now use FFmpeg rather than avconv, but still using the external libopus library...

share|improve this answer

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.