Download the source tarball from the MPD home page and unpack it:
tar xf mpd-version.tar.xz cd mpd-version
Make sure that all the required libraries and build tools are
installed. The INSTALL
file has a list.
Now configure the source tree:
./configure
The --help
argument shows a list of
compile-time options. When everything is ready and
configured, compile:
make
And install:
make install