From d35747a40c7dea12de95f78a4f283a45ef687597 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Mon, 23 Feb 2004 23:41:20 +0000 Subject: import from SF CVS git-svn-id: https://svn.musicpd.org/mpd/trunk@1 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- INSTALL | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 INSTALL (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL new file mode 100644 index 00000000..75d8fc7d --- /dev/null +++ b/INSTALL @@ -0,0 +1,99 @@ + Music Player Daemon (MPD) - INSTALL + +Requirements +------------ + +libao - http://www.vorbis.com/download_unix.psp +(This comes with most/all distributions. Make sure you have both +the ao libs and development packages for your distribution installed. +For Red Hat 8.0, the necessary packages are: libao and libao-devel) + +zlib - http://www.gzip.org/zlib +(This comes with all distributions. Make sure you have bot the zlib libs +and development packages for your distribution installed. For Red hat, +the necessary packages are: zlib and zlib-devel) + +Optional +-------- + +Ogg Vorbis - http://www.xiph.org/ogg/vorbis/ +(This comes with most/all distributions. Make sure you have both the +ogg and vorbis libs as well as the development packages for your +distribution installed. For Red Hat 8.0, the necessary packages are: +libogg, libogg-devel, libvorbis, and libvorbis-devel). + +Flac - http://flac.sf.net +For Flac support, you need Flac 1.1.0 or greater. + +Download +-------- + +Get the latest release from of MPD from http://www.musicpd.org + +Compile +------- + +1) unzip and untar the archive + +$ tar zxvf mpd-x.x.x.tar.gz + +2) change to directory created + +$ cd mpd-x.x.x + +3) Run configure script (this will determine what dependencies you have) + +$ ./configure + +4) Compile + +$ make + +Install (Optional) +------- + +(as root) +$ make install + +Run +--- + +1) run mpd: +: port number daemon listens on (if running as a user, this should be + greater than 1024) +: directory containing mp3's +: directory where playlists will be stored (and .mpddb will + be placed) +: log file for mpd +: error log file for mpd + +$ mpd + +example where mpd executable is in mpd-x.x.x directory: +$ mpd-x.x.x/mpd 2100 mp3 playlists mpd.log mpd.err + +Note: The first time you run mpd, it will "explore" your mp3 directory for +mp3's. + +Also, mpd can alternatively use config file. In this case, +run mpd like this: + +$ mpd + +(if no config file is specified, mpd's looks for ~/.mpdconf then /etc/mpd.conf) + +an example would be: + +$ mpd playlists/.mpdconf + +A sample config file is included with the source of MPD, mpdconf.example . + +Using MPD +--------- + +You can download a web interface (phpMp) to MPD at +http://www.musicpd.org . + +Also, several other clients can be found for MPD at http://www.musicpd.org . + +MPD can be interfaced directly using telnet (see COMMANDS, if you are brave). -- cgit v1.2.3