How To Install mpd on Kali Linux
Introduction
In this tutorial we learn how to install mpd on Kali Linux.
What is mpd
mpd is:
Music Player Daemon (MPD) is a server that allows remote access for playing audio files (Ogg-Vorbis, FLAC, MP3, Wave, and AIFF), streams (Ogg-Vorbis, MP3) and managing playlists. Gapless playback, buffered output, and crossfading support is also included. The design focus is on integrating a computer into a stereo system that provides control for music playback over a TCP/IP network. The goals are to be easy to install and use, to have minimal resource requirements (it has been reported to run fine on a Pentium 75), and to remain stable and flexible.
The daemon is controlled through a client which need not run on the same computer mpd runs on. The separate client and server design allows users to choose a user interface that best suites their tastes independently of the underlying daemon (this package) which actually plays music.
There are three methods to install mpd on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install mpd Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install mpd using apt-get by running the following command:
sudo apt-get -y install mpdInstall mpd Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install mpd using apt by running the following command:
sudo apt -y install mpdInstall mpd Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install mpd using aptitude by running the following command:
sudo aptitude -y install mpdHow To Uninstall mpd on Kali Linux
To uninstall only the mpd package we can use the following command:
sudo apt-get remove mpdUninstall mpd And Its Dependencies
To uninstall mpd and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove mpdRemove mpd Configurations and Data
To remove mpd configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge mpdRemove mpd configuration, data, and all of its dependencies
We can use the following command to remove mpd configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge mpdDependencies
mpd have the following dependencies:
- init-system-helpers
- adduser
- lsb-base
- libadplug-2.3.3-0
- libao4
- libasound2
- libaudiofile1
- libavahi-client3
- libavahi-common3
- libavcodec58
References
Summary
In this tutorial we learn how to install mpd package on Kali Linux using different package management tools: apt, apt-get and aptitude.