How To Install qmpdclient on Ubuntu 18.04

In this tutorial we learn how to install qmpdclient on Ubuntu 18.04. qmpdclient is Qt4 client for the Music Player Daemon (MPD)

Introduction

In this tutorial we learn how to install qmpdclient on Ubuntu 18.04.

What is qmpdclient

qmpdclient is:

QMPDClient is a GUI client for MPD with Qt4 interface and such features as covers display, skins, tray notifications and last.fm track submission.

MPD (Music Player Daemon) is a server that allows remote access for playing audio files, streams and managing playlists. It can be used together with different clients, including this one, and clients are not required to be run on the same machine as the server.

The Music Player Daemon resides in the mpd package.

There are three methods to install qmpdclient on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install qmpdclient Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install qmpdclient using apt-get by running the following command:

sudo apt-get -y install qmpdclient

Install qmpdclient Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install qmpdclient using apt by running the following command:

sudo apt -y install qmpdclient

Install qmpdclient Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install qmpdclient using aptitude by running the following command:

sudo aptitude -y install qmpdclient

How To Uninstall qmpdclient on Ubuntu 18.04

To uninstall only the qmpdclient package we can use the following command:

sudo apt-get remove qmpdclient

Uninstall qmpdclient And Its Dependencies

To uninstall qmpdclient and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove qmpdclient

Remove qmpdclient Configurations and Data

To remove qmpdclient configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge qmpdclient

Remove qmpdclient configuration, data, and all of its dependencies

We can use the following command to remove qmpdclient configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge qmpdclient

References

Summary

In this tutorial we learn how to install qmpdclient package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.