Tag Archives: PromyLOPh

How to install Pianobar on Mac OS X

You will need homebrew to install gnutls unless you want to install it manually. Get homebrew at http://mxcl.github.com/homebrew/ You can either then try brew update to update the homebrew repositories. To install pianobar using homebrew you can do brew install pianobar However, if after installation pianobar is giving you an error, check out the issues at https://github.com/PromyLOPh/pianobar/issues, and if your issue is listed you may need to install the very latest version of pianobar by doing a manual build. To do this I’d recommend that you remove the homebrew installations of pianobar, and then manually build. So, to remove the pianobar that was installed with homebrew, type brew remove –force pianobar Next see my notes about installing pianobar manually. // download the root certificates into your home directory as ~/pianobar-cacert.pem // these are needed to help pianobar make a secure connection to pandora wget -O ~/pianobar-cacert.pem http://curl.haxx.se/ca/cacert.pem // add the path to the pianobar config file // ================================================================ echo “tls_ca_path = $HOME/pianobar-cacert.pem” >> ~/.config/pianobar/config // install the dev tools // ================================================================ brew install gnutls json-c // change to your home directory, then clone the latest version of pianobar // change to the directory created, make pianobar cd ~ git clone https://github.com/PromyLOPh/pianobar.git cd pianobar/ make clean && make CFLAGS=”-O2 -DNDEBUG -W64″ // run pianobar from the current directory ./pianobar // note: just typing “pianobar” instead of “./pianobar” will fail if the current directory is not in your path //after running pianobar you should get: Welcome to pianobar (2011.11.09-dev)! Press ? for … Continue reading

Posted in Mac, Software, Tech Tips | Tagged , , , , | 6 Comments