Again: Shell-fm.

This time for Mac Os X Snow Leopard.

(note: this is not a ssh session on my raspberry pi; it’s really on my mac!)
As briefly explained in my last post (, installing shell-fm on a debian-based system was quite easy thanks to apt-get & synaptic & all the good stuff that debian comes with.

On Os X things differ a little bit. We do not have apt-get or synaptic, and even if you try to install Fink (alternative to apt-get for mac) some packages are too old or not existing at all.

First thing to do to is to download Pkg-config for mac(google it, is on sourceforge), libmad and shell-fm (this one via git, that meaning you should have git installed on your system).

  1. Install pkgconfig.pkg.
  2. Unzip libmad and enter in it with a terminal shell.
  3. Type usuals ./configure followed by a make and then a sudo make install .
  4. Now the tricky part:
    1. type nano /usr/lib/pkgconfig/mad.pc to create a file that is used by pkg-config during the making of shell-fm.
    2. A command line editor appears and fill it with this


Name: mad
Description: MPEG audio decoder
Version: 0.15.1b
Libs: -L${libdir} -lmad
Cflags: -I${includedir}

Then give a ctrl-x followed by a Y and then Enter.

You’ve just created that file.
Now enter shell-fm directory(created by git) and give a make and then a sudo make install    .
shell-fm is now ready to be launched on your mac.
I’m disappointed with this long process on a Mac.
They should learn package handling from debian systems and similars.


Here is my configuration file for speeding up startup of my shell-fm.
You have to put these things inside  ~/.shell-fm/shell-fm.rc   (maybe using nano like you’ve done a few lines above in this post)
(  ~   is your home directory ) 



Then ctrl-x  and  y and enter to save the file and exit.

Raspberry Pi,, Shell-fm: a Lightweight Radio Player

If you own a Raspberry Pi and also a account, you should then totally try this out!
Since the Rasp-Pi is a linux box, and since they’ve released the freshly new Raspbian distribution, Shell-fm works here too!
Go to and download&compile everything you need (I’ve installed&used synaptic to fetch some libraries), then launch shell-fm !
Works great and it’s command line interface is straightforward!
Here’s a screenshot during a session of ssh from my mac to my rasp-pi box sitting near my router(in a galaxy far far away).
(Audio isn’t that bad, after all.)

Shortcuts for command line interface (commands for network interface via sockets differ)

You can find ANOTHER BONUS(!!!!!!) in my latest post about shell-fm, here( at the end of blogpost ): Again: Shell-fm. | Can’t talk, computing…

AND EVEN MORE BONUS HERE(!!!!!!!) Shell-fm web interface on my Raspberry Pi