{"id":49361,"date":"2025-07-27T16:09:42","date_gmt":"2025-07-27T16:09:42","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=49361"},"modified":"2025-09-08T08:03:05","modified_gmt":"2025-09-08T08:03:05","slug":"install-mpd-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2025\/07\/install-mpd-ubuntu\/","title":{"rendered":"Install &#038; Configure MPD in Ubuntu 24.04 | 25.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-logo.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-49362\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-logo-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-logo-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-logo-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-logo-700x700.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-logo-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-logo.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>This is a step by step guide shows how to install and configure Music Player Daemon (MPD) in Ubuntu 24.04 and higher with default PipeWire sound server.<\/p>\n<p>MPD is a free open-source audio player that can handle large music collection (tens of thousands of songs) while being very fast and using few resources.<br \/>\n<!--more--><\/p>\n<p>It features server-client architecture. Just install &amp; configure the server package in computer or laptop that contains the music database, then use a client app in same machine, smart phone, web-browser, or even command line tool to manage playlists and control the audio playback.<\/p>\n<p>MPD supports streaming audio through http, meaning you can listen to music on multiple devices (e.g., smart phone, remote speaker) at the same time synchronously.<\/p>\n<h3>Step 1: Install MPD server package<\/h3>\n<p>MPD is available in Ubuntu and most Linux system repositories.<\/p>\n<p><b>To install mpd daemon package<\/b> in Debian and Ubuntu based systems, simply open terminal (<code>Ctrl+Alt+T<\/code>) and run command:<\/p>\n<pre>sudo apt install mpd<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/apt-mpd.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-49363\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/apt-mpd.webp\" alt=\"\" width=\"682\" height=\"276\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/apt-mpd.webp 682w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/apt-mpd-300x121.webp 300w\" sizes=\"auto, (max-width: 682px) 100vw, 682px\" \/><\/a><\/p>\n<p>Just in case the installation failed, try launching &#8220;Software &amp; Updates&#8221; utility, and make sure &#8216;main&#8217; and &#8216;universe&#8217; are enabled under <i>Downloadable from the Internet<\/i> section, and run <code>sudo apt update<\/code> to refresh package cache.<\/p>\n<p>As MPD package in Ubuntu is always a bit old, you may download the latest version from the <a href=\"https:\/\/www.musicpd.org\/download.html\" target=\"_blank\" rel=\"noopener\">software website<\/a>, and build it by yourself.<\/p>\n<h3>Step 2: Configure MPD server<\/h3>\n<p>After installed the daemon packages, you may edit either file below to configure the server:<\/p>\n<ul>\n<li><code>~\/.config\/mpd\/mpd.conf<\/code> &#8211; per user configuration.<\/li>\n<li><code>\/etc\/mpd.conf<\/code> &#8211; for system wide configuration.<\/li>\n<\/ul>\n<p>As Ubuntu now defaults to PipeWire sound server, it&#8217;s recommended to use the per user configuration and start the daemon as user service. Though, both work.<\/p>\n<p><b>1. Create local mpd directories<\/b>. The <code>.config\/mpd<\/code> directory does NOT exist out-of-the-box. So, first run command in terminal (<code>Ctrl+Alt+T<\/code>) to create that directory:<\/p>\n<pre>mkdir -p ~\/.config\/mpd<\/pre>\n<p>Also create <code>playlists<\/code> sub-folder in that directory for storing playlists:<\/p>\n<pre>mkdir -p ~\/.config\/mpd\/playlists<\/pre>\n<p><b>2. Edit per-user config file (recommend)<\/b>. Next, run the 2 commands below one by one to copy the conf file from <code>\/etc<\/code>, and change the ownership to you.<\/p>\n<pre>sudo cp \/etc\/mpd.conf ~\/.config\/mpd\/<\/pre>\n<pre>sudo chown $USER:$USER ~\/.config\/mpd\/mpd.conf<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/create-local-mpd.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-49364\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/create-local-mpd-700x284.webp\" alt=\"\" width=\"610\" height=\"247\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/create-local-mpd-700x284.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/create-local-mpd-300x122.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/create-local-mpd-768x311.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/create-local-mpd.webp 826w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>Finally, run the command below to edit it via <code>nano<\/code> command line text editor:<\/p>\n<pre>nano ~\/.config\/mpd\/mpd.conf<\/pre>\n<p><i>Here I use nano that works in most Linux desktops. If you&#8217;re on Ubuntu with default GNOME, use <code>gnome-text-editor<\/code> instead.<\/i><\/p>\n<p><b>Or, edit system-wide config<\/b> by running this command instead:<\/p>\n<pre>sudo nano \/etc\/mpd.conf<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/configure-mpd.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-49365\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/configure-mpd-700x368.webp\" alt=\"\" width=\"610\" height=\"321\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/configure-mpd-700x368.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/configure-mpd-300x158.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/configure-mpd-768x404.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/configure-mpd.webp 904w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><b>When file opens, add or enable (remove <b>#<\/b> at beginning), and edit the following lines:<\/b><\/p>\n<ul>\n<li>Configure &#8220;music_directory&#8221; to tell where to find the songs, &#8220;playlist_directory&#8221; for saving playlists, &#8220;db_file&#8221; for load\/saving database.\n<pre>music_directory         \"\/home\/ji\/Music\/\"\r\nplaylist_directory              \"\/home\/ji\/.config\/mpd\/playlists\"\r\ndb_file                 \"\/home\/ji\/.config\/mpd\/tag_cache\"<\/pre>\n<p>If you want to use same locations that I use, replace <b>ji<\/b> with your username (run <code>whoami<\/code> to tell).<br \/>\n<a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-config.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-49368\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-config-700x521.webp\" alt=\"\" width=\"610\" height=\"454\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-config-700x521.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-config-300x223.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-config.webp 716w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/li>\n<li>Next, edit the location of server state and sticker database, and who to run the MPD daemon:\n<pre>state_file                      \"\/home\/ji\/.config\/mpd\/state\"\r\nsticker_file                   \"\/home\/ji\/.config\/mpd\/sticker.sql\"\r\nuser                            \"ji\"<\/pre>\n<p>Also, replace <b>ji<\/b> with your username.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-conf2.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-49367\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-conf2-700x436.webp\" alt=\"\" width=\"610\" height=\"380\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-conf2-700x436.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-conf2-300x187.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-conf2-768x479.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-conf2.webp 826w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/li>\n<li>Then, set address and listening port (default values are OK).\n<pre>bind_to_address                 \"localhost\"\r\nport                            \"6600\"<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-conf3.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-49369\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-conf3-700x436.webp\" alt=\"\" width=\"610\" height=\"380\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-conf3-700x436.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-conf3-300x187.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-conf3-768x479.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-conf3.webp 826w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/li>\n<li><b>For per-user configuration<\/b> (.config\/mpd\/mpd.conf), set audio output to &#8220;pipewire&#8221;:\n<pre>audio_output {\r\n        type            \"pipewire\"\r\n        name            \"PipeWire Output\"\r\n}<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-conf-pipewire.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-49370\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-conf-pipewire-700x528.png\" alt=\"\" width=\"610\" height=\"460\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-conf-pipewire-700x528.png 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-conf-pipewire-300x226.png 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-conf-pipewire.png 706w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/li>\n<li><b>For system-wide config<\/b> (\/etc\/mpd.conf), enable &#8220;pulse&#8221; instead as pipewire won&#8217;t work:\n<pre>audio_output {\r\n        type            \"pulse\"\r\n        name            \"My Pulse Output\"\r\n        server          \"localhost\"\r\n}<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-conf-pulse.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-49371\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-conf-pulse-700x528.webp\" alt=\"\" width=\"610\" height=\"460\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-conf-pulse-700x528.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-conf-pulse-300x226.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-conf-pulse.webp 706w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/li>\n<li><b>To stream sound to multiple devices<\/b>, enable &amp; edit &#8220;httpd&#8221; output type:\n<pre>audio_output {\r\n        type            \"httpd\"\r\n        name            \"My HTTP Stream\"\r\n#       encoder         \"lame\"          # optional, vorbis or lame\r\n        port            \"8802\"\r\n        bind_to_address \"192.168.0.104\"         # optional, IPv4 or IPv6\r\n}<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-httpd.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-49372\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-httpd-700x528.webp\" alt=\"\" width=\"610\" height=\"460\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-httpd-700x528.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-httpd-300x226.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/mpd-httpd.webp 706w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/li>\n<li>If you want to add password authentication, set the line like below:\n<pre>password                        \"abcde564@read,add,control,admin\"<\/pre>\n<p>In the case, <code>abcde564<\/code> is the passphrase for authentication. When done, press <b>Ctrl+S<\/b> to save changes, and <b>Ctrl+X<\/b> to exit.<\/li>\n<\/ul>\n<p><b>NOTE:<\/b> You may change all the directory locations above accordingly. However, the &#8220;user&#8221; you set must have read permission to &#8216;music_directory&#8217; and read &amp; write permission to other directories above.<\/p>\n<p>For more configurations, see either the in-file description or the official <a href=\"https:\/\/mpd.readthedocs.io\/en\/stable\/user.html\" target=\"_blank\" rel=\"noopener\">documentation<\/a>.<\/p>\n<h3>Step 3: Configure pipewire-pulse<\/h3>\n<p><b>NOTE: This step is only required for running mpd as system service (rather than &#8211;user).<\/b><\/p>\n<p>For <b>&#8220;pulse&#8221;<\/b> audio output working on pipewire sound server, you need to enable TCP listening in pipewire-pulse.conf, or your music won&#8217;t play!<\/p>\n<p><b>1. Edit pipewire-pulse config file<\/b>. Run commands below one by one to create <code>\/etc\/pipewire<\/code> in case the directory does not exist, and copy the config file from <code>\/usr<\/code> to that directory, finally edit it:<\/p>\n<pre>sudo mkdir -p \/etc\/pipewire\r\n\r\nsudo cp \/usr\/share\/pipewire\/pipewire-pulse.conf \/etc\/pipewire\/\r\n\r\nsudo nano \/etc\/pipewire\/pipewire-pulse.conf<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/configure-pipewire.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-49373\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/configure-pipewire-700x334.webp\" alt=\"\" width=\"610\" height=\"291\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/configure-pipewire-700x334.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/configure-pipewire-300x143.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/configure-pipewire-768x366.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/configure-pipewire.webp 795w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><b>2. Enable listening on TCP<\/b>. When file opens, scroll down and find out &#8220;pulse.properties&#8221; section, then enable the <b>&#8220;tcp:4713&#8221;<\/b> (remove # at the beginning) line.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/pipewire-enabletcp.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-49374\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/pipewire-enabletcp-700x491.webp\" alt=\"\" width=\"610\" height=\"428\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/pipewire-enabletcp-700x491.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/pipewire-enabletcp-300x210.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/pipewire-enabletcp-768x538.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/pipewire-enabletcp.webp 786w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>After editing the file, press Ctrl+S to save and Ctrl+X to exit.<\/p>\n<p><b>3. Finally, restart pipewire<\/b> to apply changes by running command:<\/p>\n<pre>systemctl --user restart pipewire pipewire-pulse wireplumber<\/pre>\n<h3>Step 4: Start MPD daemon<\/h3>\n<p><b>To run MPD as user service (recommend),<\/b> run command:<\/p>\n<pre>systemctl --user enable --now mpd<\/pre>\n<p>Here <code>--user<\/code> tells to enable it as user service, and <code>--now<\/code> means to start the service once enabled.<\/p>\n<p>Or run MPD as system service instead by using command:<\/p>\n<pre>sudo systemctl enable --now mpd<\/pre>\n<p>As the service may start failed due to any mis-configuration, run the command below to check the status.<\/p>\n<pre>systemctl --user status mpd<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/enable-start-mpd.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-49375\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/enable-start-mpd-700x459.webp\" alt=\"\" width=\"610\" height=\"400\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/enable-start-mpd-700x459.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/enable-start-mpd-300x197.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/enable-start-mpd-768x503.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/enable-start-mpd.webp 786w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>For any error, you may re-run the <code>nano<\/code> (with <code>-l<\/code> flag to show line number) command in Step 2 to edit the config file again. And, restart MPD service to reload changes:<\/p>\n<pre>systemctl restart --user mpd<\/pre>\n<h3>Step 5: Install MPD Client, Connect, and Enjoy<\/h3>\n<p>Finally, install a MPD client app in either local machine, remote computer, or mobile devices. <a href=\"https:\/\/www.musicpd.org\/clients\/\" target=\"_blank\" rel=\"noopener\">Here are some<\/a> listed in the MPD website.<\/p>\n<p>If you just want a working client, try Cantata that can be installed via command:<\/p>\n<pre>sudo apt install cantata<\/pre>\n<p>While GNOME users may try the modern new <a href=\"https:\/\/flathub.org\/apps\/io.github.htkhiem.Euphonica\" target=\"_blank\" rel=\"noopener\">Euphonica app<\/a>. Then, connect with server IP (localhost if from same machine), listening port (6600 by default) and password if set, and enjoy!<\/p>\n<div id=\"attachment_49376\" style=\"width: 620px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/euphonica-mpd-prefs.webp\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-49376\" class=\"size-large wp-image-49376\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/euphonica-mpd-prefs-700x432.webp\" alt=\"\" width=\"610\" height=\"376\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/euphonica-mpd-prefs-700x432.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/euphonica-mpd-prefs-300x185.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/euphonica-mpd-prefs-768x474.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/07\/euphonica-mpd-prefs.webp 1318w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><p id=\"caption-attachment-49376\" class=\"wp-caption-text\">Euphonica MPD Client<\/p><\/div>\n<h3>Uninstall:<\/h3>\n<p>If you don&#8217;t want to use MPD anymore, then run command in terminal (Ctrl+Alt+T) to stop and disable the service:<\/p>\n<pre>systemctl --user disable --now mpd<\/pre>\n<p>For the system service, use this command instead:<\/p>\n<pre>sudo systemctl disable --now mpd<\/pre>\n<p>Then, remove MPD daemon package via command:<\/p>\n<pre>sudo apt remove mpd<\/pre>","protected":false},"excerpt":{"rendered":"<p>This is a step by step guide shows how to install and configure Music Player Daemon (MPD) in Ubuntu 24.04 and higher with default PipeWire sound server. MPD is a free open-source audio player that can handle large music collection (tens of thousands of songs) while being very fast and using few resources.<\/p>\n","protected":false},"author":1,"featured_media":49362,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[686,2376],"class_list":["post-49361","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-mpd","tag-music-player-daemon"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/49361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=49361"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/49361\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/49362"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=49361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=49361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=49361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}