mpDris2 command not found

In this troubleshooting guide we learn how to fix mpDris2 command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

mpDris2: command not found

or when using sudo you get the following error message

sudo: mpDris2: command not found

Solutions to mpDris2: command not found

How To Fix mpDris2: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mpDris2 is provided by mpdris2 package.

mpdris2 is:

mpDris2 is an implementation of the MPRIS2 media player interface as a client for MPD, allowing MPRIS2 clients to control MPD and observe its track changes via a standard D-Bus interface.

It can also respond to multimedia keys if running under GNOME, and send track-change notifications if gir1.2-notify-0.7 is installed.

To fix this problem, we can install more using the command below.

sudo apt-get -y install mpdris2

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install mpdris2.

sudo apt -y install mpdris2

Or if you have aptitude installed you can use the following command.

sudo aptitude install mpdris2

Summary

In this tutorial we learn how to fix mpDris2 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.