How To Install mpdtoys on Debian 11

In this tutorial we learn how to install mpdtoys on Debian 11. mpdtoys is small command line tools and toys for MPD

Introduction

In this tutorial we learn how to install mpdtoys on Debian 11.

What is mpdtoys

mpdtoys is:

This is a collection of small toys and tools for doing various things to MPD (Music Player Daemon) from the command line. Some of them are very useful, while others are only amusing.

Some examples of things the mpdtoys can do include moving the playing song between different mpd daemons on different machines, storing the state of a mpd daemon and loading it back later, reversing the playlist, slowly fading volume up or down, stopping playback after the current song finishes, emulating a skipping record, and editing the playlist in a text editor.

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

Install mpdtoys Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install mpdtoys

Install mpdtoys Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install mpdtoys

Install mpdtoys 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install mpdtoys

How To Uninstall mpdtoys on Debian 11

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

sudo apt-get remove mpdtoys

Uninstall mpdtoys And Its Dependencies

To uninstall mpdtoys and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove mpdtoys

Remove mpdtoys Configurations and Data

To remove mpdtoys configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge mpdtoys

Remove mpdtoys configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge mpdtoys

Dependencies

mpdtoys have the following dependencies:

References

Summary

In this tutorial we learn how to install mpdtoys package on Debian 11 using different package management tools: apt, apt-get and aptitude.