Osx
From Music Player Daemon Community Wiki
Contents |
[edit] Running mpd with OSX
[edit] Prerequisites
- A Mac
- An internet connection
[edit] Binary installers
[edit] Macports
Macports is a packaging system for OSX based on BSD's port system. You will issue these commands from within Terminal.app or a sufficient replacement, such as iTerm.
You can install it simply by using$sudo port install mpd(assuming you have administrator or higher privileges). If the FLAC dependency gives you any trouble, you can use
$sudo port install mpd -flac
[edit] Fink
Fink is a package management system for OSX that utilizes the apt-get utility. Usage is similar to Darwinports. $fink install mpd
[edit] Building from source
If you're the geeky person who likes to build from source, you can do so without any problems. You will need to download and install the Apple Developer Tools [1]. You can omit the --prefix on the ./configure step if you want. For this example, we're going to use mpd version 0.13.0.
curl http://www.musicpd.org/uploads/files/mpd-0.13.0.tar.gz -o mpd.tar.gz open mpd.tar.gz cd mpd-0.13.0 ./configure --prefix=/usr/local make sudo make install
[edit] Notes
If you want to have mpd start at boot, you will need to look into Tiger's (OSX 10.4 and above) launchd command, as well as the launchd page. As an alternative you may consider to use an applescript to lauch mpd at boot.
