Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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 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 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