Super User is a question and answer site for computer enthusiasts and power users. 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 tried to install SOX ( Swiss Army knife of sound processing programs ) on Ubuntu 11.10. At first, I tried with apt-get install sox, it installed successfully but it couldn't convert wav to mp3. Then I installed libsox-fmt-mp3, so it started to convert mp3 to wav but still fails to convert wav to mp3. How do I install the packages for ubuntu 11.10 for all supported formats ?

P.S. I browsed SO for this and a question related with SOX was suggested to be moved here so I am directly posting here.

share|improve this question

migrated from May 11 '12 at 14:21

This question came from our site for system and network administrators.

You are mistaken, this is off-topic here except in the unlikely case you need this in a professional server environment. – Sven May 11 '12 at 11:42
...but it may be migrated to a better-suited site automatically through the vote to close mechanism, so don't repost the question somewhere else. Let it be migrated. – Bart Silverstrim May 11 '12 at 12:36

Simplest way in ubuntu would be to run these two commands

sudo apt-get install libasound2-plugins libasound2-python libsox-fmt-all

sudo apt-get install sox

If you are in some other Linux, like CentOS or you need support for Vorbis and Ogg, you will have to compile from source, found by following this Guide

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .