Skip to content

Instantly share code, notes, and snippets.

@nerab
Created September 25, 2014 19:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nerab/37429abeaf4828484ab7 to your computer and use it in GitHub Desktop.
Save nerab/37429abeaf4828484ab7 to your computer and use it in GitHub Desktop.
Installing ympd on the Raspberry Pi

ympd on the Raspberry Pi

Due to its small size, ympd is well-suited to run on the Raspberry Pi. Installing it is pretty straightforward:

git clone https://github.com/notandy/ympd.git
cd ympd/
sudo apt-get install cmake libmpdclient-dev
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr
make
sudo make install
sudo cp ../contrib/init.debian /etc/init.d/
sudo service ympd start
@nrdufour
Copy link

nrdufour commented Jan 5, 2015

I would change:

sudo cp ../contrib/init.debian /etc/init.d/

to:

sudo cp ../contrib/init.debian /etc/init.d/ympd

Otherwise, service doesn't see it at all.

@CjHamm
Copy link

CjHamm commented Aug 28, 2016

Tried this on a Raspian Jessie installation with just MPD installed and it failed at
cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr

reporting OpenSSL library problems.
asked my resident helper and he said I needed to install them with
sudo apt-get install libssl-dev

all went well but it failed to start with
sudo service mpd start

he fixed this by running
sudo update-rc.d ympd start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment