
mpg123 is a real time MPEG 1.0/2.0/2.5 audio player for layers 1,2 and 3.
I was playing with Ruby scripts and needed a command line mp3 player which was not a resource hog.
Steps I took for my OS X (Should work on Linux/Unix box):
Download the latest version from the website.
Untar the archive
tar -xvf mpg123-1.4.3.tar
Compile and install the player
./configure --prefix=/usr/local/mpg123
make
make install
Add the path to .bash_profile
echo 'export PATH=/usr/local/mpg123/bin:$PATH' >> ~/.bash_profile
Load the new path
source ~/.bash_profile
Enjoy playing music from command-line!
mpg123 ~/Music/Bagho_Bagh_Gippy_Grewal.mp3

2 responses so far ↓
1 Jukebox in a single line | ArvinderKang.com // Jun 29, 2008 at 2:05 pm
[...] RSS ← Installing command line MP3 player [...]
2 Adam Dempsey // Sep 11, 2008 at 10:12 am
Exactly what I needed! Thanks!
Leave a Comment