How To Install mopidy-gmusic on Ubuntu 20.04

In this tutorial we learn how to install mopidy-gmusic on Ubuntu 20.04. mopidy-gmusic is Mopidy extension for playing music from Google Play Music

Introduction

In this tutorial we learn how to install mopidy-gmusic on Ubuntu 20.04.

What is mopidy-gmusic

mopidy-gmusic is:

Mopidy plays music from local disk, Spotify, SoundCloud, Google Play Music, and more. You can edit the playlist from any phone, tablet, or computer using a variety of MPD and web clients.

This package provides a Mopidy extension for playing music from Google Play Music, either music you’ve uploaded to the library, or music available through a paid subscription.

There are three methods to install mopidy-gmusic on Ubuntu 20.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 mopidy-gmusic Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install mopidy-gmusic

Install mopidy-gmusic Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install mopidy-gmusic

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

sudo aptitude -y install mopidy-gmusic

How To Uninstall mopidy-gmusic on Ubuntu 20.04

To uninstall only the mopidy-gmusic package we can use the following command:

sudo apt-get remove mopidy-gmusic

Uninstall mopidy-gmusic And Its Dependencies

To uninstall mopidy-gmusic and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove mopidy-gmusic

Remove mopidy-gmusic Configurations and Data

To remove mopidy-gmusic configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge mopidy-gmusic

Remove mopidy-gmusic configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge mopidy-gmusic

References

Summary

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