“Why the hell we update the mpd?! The volumio-mpd runs very well.”
Answer: There have been 8-9 major releases since the version used in Volumio (0.7.14 ??) - a number of things have been improved and fixed, see this changelog. You’ll know linux a little bit better than before too.
Some quick notes on how I upgraded MPD version to 0.18.9… (thanks Melomane for additional writeup)
set the correct timezone if necessary:
sudo raspi-config
After reboot check date:
date
So 16. Feb 20:11:22 CET 2014
Ok, all good, lets proceed…
Stop MPD
/etc/init.d/mpd stop
Make a temp dir in /root/temp
cd /root
mkdir temp
cd temp
Download the latest MPD Source code from musicpd.org/download/mpd/stable/
wget http://www.musicpd.org/download/mpd/stable/mpd-0.18.9.tar.xz
tar xvJf mpd-0.18.9.tar.xz
cd mpd-0.18.9
Install the tools to compile
apt-get update
apt-get install build-essential gcc automake1.9 libtool flex bison gdb
Compile from Source
sh autogen.sh
./configure
make
make install
WAIT… WAIT…WAIT…
Cut some fat and save some space
strip /usr/local/bin/mpd
Cleanup old version of MPD and Symlink the new one
mv /usr/bin/mpd /usr/bin/mpd_old
ln -s /usr/local/bin/mpd /usr/bin/mpd
Alternatively, instead of symlink, edit the start script and point to new MPD
nano /etc/init.d/mpd
Find and change this line as below
DAEMON=/usr/local/bin/mpd
Restart MPD
/etc/init.d/mpd start
Confirm if its the latest version (If all went well above)
root@volumio:~/temp# mpd -V
Music Player Daemon 0.18.8
Cleanup (optional)
cd ~
rm -rf /root/temp
reboot
Congrats