How To Install mpris-scrobbler on Rocky Linux 8

In this tutorial we learn how to install mpris-scrobbler on Rocky Linux 8. mpris-scrobbler is User daemon to submit currently playing song to LastFM, LibreFM, ListenBrainz

Introduction

In this tutorial we learn how to install mpris-scrobbler on Rocky Linux 8.

What is mpris-scrobbler

mpris-scrobbler is a minimalist user daemon that submits the currently playing song to LastFM, LibreFM, ListenBrainz, and compatible services. To retrieve song information, it uses the MPRIS DBus interface, so it works with any media player that exposes this interface.

We can use yum or dnf to install mpris-scrobbler on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install mpris-scrobbler.

Install mpris-scrobbler on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install mpris-scrobbler using dnf by running the following command:

sudo dnf -y install mpris-scrobbler

Install mpris-scrobbler on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mpris-scrobbler using yum by running the following command:

sudo yum -y install mpris-scrobbler

How To Uninstall mpris-scrobbler on Rocky Linux 8

To uninstall only the mpris-scrobbler package we can use the following command:

sudo dnf remove mpris-scrobbler

mpris-scrobbler Package Contents on Rocky Linux 8

/usr/bin/mpris-scrobbler
/usr/bin/mpris-scrobbler-signon
/usr/lib/.build-id
/usr/lib/.build-id/99
/usr/lib/.build-id/99/85c9276d72318ef5f1e2d0ff63caf9cd436f83
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/9dfd6a17ad36869e590fcae3c9e11f140922a1
/usr/lib/systemd/user/mpris-scrobbler.service
/usr/share/licenses/mpris-scrobbler
/usr/share/licenses/mpris-scrobbler/LICENSE

References

Summary

In this tutorial we learn how to install mpris-scrobbler on Rocky Linux 8 using yum and dnf.