spotify on Linux

Spotify is the biggest music streaming service around, with millions of paid and free users around the world using it daily.

This popularity might mean you’re wondering how to install Spotify on Ubuntu 18.04 LTS or later, so in this guide we’ll walk you through it.

There are official Spotify apps for Android, iOS, Windows Phone and Blackberry; a web-based player for Chromebook users; and dedicated desktop clients for Windows, Mac and — hurrah! — Linux.

It’s the latter of these choices that this guide will show you how to install.

Install Spotify in Ubuntu

The Spotify for Linux client can be installed on Ubuntu and Linux Mint in a variety of different ways, including via a PPA, Flathub, and the Snapcraft store.

If you’re running Ubuntu 18.04 LTS or later you can install Spotify as a Snap app by clicking this button:

Click to Install Spotify on Ubuntu

If you’re using Linux Mint, or an older Ubuntu release the recommended way to install Spotify for Linux is to use the official repository. This repo gives you automatic updates to new releases of the player automatically as and when they’re available.

To add the Spotify repository to your list of software sources you need to open the Software Sources app:

software sources unity

When the window opens select the ‘Other Software’ tab in Software Sources [1]


Click ‘Add’ [2] and paste the following the entry field of the box that appears:

deb stable non-free

Click ‘Add Source’ [3] to confirm the change, then close Software Sources.

You can achieve the same thing using the command line:

sudo add-apt-repository "deb stable non-free"

Add the Spotify Repository Key

With the repo added the next step is to add the repository key. This allows Ubuntu, Linux Mint and other distros to verify that packages installed from this repository are made by who they say they are.

Open a new Terminal window, paste the following command, and hit return/enter:

sudo apt-key adv --keyserver hkp:// --recv-keys 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90 2EBF997C15BDA244B6EBF5D84773BD5E130D1D45

That’s that!

You can now install Spotify on Ubuntu using the Ubuntu Software app (after checking for new software updates first).

Alternatively, you can install the app by running the following command in the Terminal window:

sudo apt-get update && sudo apt-get install spotify-client

Once installed, launch the Spotify desktop app from your preferred app launcher or app menu, sign in, and enjoy!

How To