Ask Different is a question and answer site for power users of Apple hardware and software. 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 play a .ogg music file on the command line? On Linux I can use ogg123, but what about on Mac?

share|improve this question

You can still use ogg123 through the The Ogg Vorbis CODEC tools, installed through the MacPorts Project.

share|improve this answer
It's seems good, i installed the vorbis-tools so how i play now? afplay not play and have no command ogg123. – ademar111190 Apr 18 '13 at 17:56
On the first link I give you says that there's a configuration argument which is: --enable-ogg123. I guess you'll need to use it. – Thecafremo Apr 18 '13 at 18:52
understood :), i dont know the macports very well, i try pass the argument like as follow: "sudo port install vorbis-tools configure.args=--enable-ogg123" but dont works, its correctly? – ademar111190 Apr 18 '13 at 19:29

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.