There are several ways to install Spotify on Ubuntu, Linux Mint, and other Linux distributions, and in this guide we show you two of them.

Spotify is now the world’s biggest music streaming service. Hundreds of millions of people use it to listen to music and consume podcasts each and every day — and this include many Linux users!

Fuelling its popularity is the fact you can use Spotify for free just by signing up for an account. You can also buy a Spotify Premium subscription. This unlocks additional features like offline listening.

While you can use the Spotify web player in any web browser the Spotify desktop player for Linux offers the best overall experience (thanks to its tight integration with the Ubuntu desktop and your keyboard media keys).

So read on for all you need to know about installing Spotify on Ubuntu 20.04 LTS or above.

How to Install Spotify in Ubuntu 20.04 LTS

Official Spotify Snap App

The official Spotify Snap app makes it easy to install the desktop player on Ubuntu 18.04 LTS and above (as well as on any other Linux distribution that supports Snap apps).

Like, “press a button” easy:

Click to Install Spotify on Ubuntu

Prefer the terminal? You can install Spotify on Ubuntu 18.04 and up from the command line too if you run:

sudo snap install spotify

Both methods get you the same app. The app will automatically update in the background when new versions are available.

Add the Spotify Linux Repository

If you’re not a fan of Snap apps you can add the official Spotify Linux repository to your system’s list of software sources. This lets you install the same desktop player as the Snap version but in a more traditional app format.

You can add the Spotify repository to your list of software sources in Ubuntu 18.04 and above in two different ways: GUI and CLI.

To use the GUI open the Software Sources app:

software sources unity

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.

If all of that looks like effort you can achieve the same thing from 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

CLI Fan? Run a single command

If you’re comfortable with the command line you can add the Spotify repository and its security key from the CLI by running the following command:

curl -sS | sudo apt-key add - 
echo "deb stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list

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 install spotify-client

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


In this post we showed you how to install Spotify desktop client in Ubuntu or Linux Mint. But which method did you use? Are you a fan of music streaming services other than Spotify? Let us know in the comments below.

How To spotify