The Music Player Daemon or short MPD
is an excellent choice for streaming audio to other computers or even mobile devices, like phones/mp3-players, that are connected with the net.
MPD is designed around a client/server architecture, where the clients and server (MPD is the server) interact over a network. Thus, running MPD is only half of the equation. To use MPD, you need to install a MPD client (aka MPD interface).
Command-line Clients
You can choose between a terminal or graphical based interface
clients:
mpc - a solid, lightweight, simple mpd client, written in C.
Console Clients
ncmpc - A curses client written in C.
ncmpcpp - A curses client written in C++ tailored after ncmpc.
Graphical Clients
gmpc (Gnome Music Player Client) - A fully featured client.
ario - Another GTK based client.
More clients can be found on the Wiki
Ubuntu Install Procedure:
- First, edit
/etc/apt/sources.list
and enable the 'universe'
repository. After you make this change, you will have to run apt-get update
.
You can use Synaptic. If for some reason this installation fails, this howto on the Ubuntu Forums may help, or the user-manual.
sudo apt-get update
sudo apt-get install mpd
OR
- If you just need only MP3 and FLAC support through ALSA, then you can compile it from source:
download the latest sources
extract them to some directory (for example 'mpd-x-x-x')
go to this directory (for example 'cd mpd-x-x-x')
install the dependencies, compile and install:
sudo apt-get update
sudo apt-get install libasound2-dev libmad0-dev libid3tag0-dev libflac-dev libflac++-dev libglib2.0-dev
./configure
make
sudo make install