How To Install g15mpd on Ubuntu 18.04

In this tutorial we learn how to install g15mpd on Ubuntu 18.04. g15mpd is A simple frontend for the MPD Media Player Daemon, for use with g15daemon

Introduction

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

What is g15mpd

g15mpd is:

This package provides a fontend for MPD Media Player Daemon, displaying information on the LCD in G15 keyboard.

There are three methods to install g15mpd 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 g15mpd Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install g15mpd

Install g15mpd Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install g15mpd

Install g15mpd 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 g15mpd using aptitude by running the following command:

sudo aptitude -y install g15mpd

How To Uninstall g15mpd on Ubuntu 18.04

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

sudo apt-get remove g15mpd

Uninstall g15mpd And Its Dependencies

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

sudo apt-get -y autoremove g15mpd

Remove g15mpd Configurations and Data

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

sudo apt-get -y purge g15mpd

Remove g15mpd configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge g15mpd

References

Summary

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