How to Install Spotify on Ubuntu & Linux Mint

Brief: You’ll learn two ways to install Spotify on Ubuntu, Linux Mint and other Linux distributions.

Spotify is the most popular streaming music service these days. While you can listen to it via its web interface, you can also install a desktop client of Spotify in Linux.

Spotify desktop player is better than the web player because you don’t face the risk of accidentally closing the browser and lose Spotify. With desktop player, you can also use the media keys on your keyboard to change the tracks or pause/play the songs.

The desktop player also used to give you some additional features such as listening to local music in Spotify, sync local music to Spotify server or sync local music to iPhone, iPod or other mobile devices. I am not sure if it is still the case.

In this quick post, we shall see how to quickly install Spotify in Ubuntu 18.04, 20.04 and other Debian based distributions such as Linux Mint, Elementary OS, Bodhi etc.

Method 1: Install Spotify in Ubuntu using Snap Package

Spotify has released a Snap package recently. Which means now Spotify can be easily installed in any Linux distribution that supports Snap.

Ubuntu 18.04 and 20.04 users can install Spotify directly from the Software Center where the Snap package is available.

Spotify is available as Snap in Ubuntu Software Center
Spotify is available as a Snap app in Software Center

If your system doesn’t have Snap, install it using the command below:

sudo apt-get install snapd

And then you can install Spotify Snap app using this command:

sudo snap install spotify

Once installed, you can find it in the application menu. When you start it for the first time, it will ask you to log in. I found that it was a little unresponsive at the beginning and I had to close it and open it again after trying to log into Spotify with my Facebook account.

The Spotify snap application integrates fine with the Ubuntu desktop system. It doesn’t add media control option in the sound menu but you it does support the media keys on your system. Which means you can control it using the play/pause, forward and backward media keys.

Spotify snap app in Ubuntu 16.04
Spotify desktop interface

Method 2: Install Spotify in Ubuntu, Linux Mint & Debian Using Deb Package

A video version of the installation procedure is on our YouTube channel. Do subscribe to it for more tutorials.

To install the desktop client of Spotify, open a terminal (Ctrl+Alt+T) and use the following commands:

sudo sh -c 'echo "deb stable non-free" >> /etc/apt/sources.list.d/spotify.list'

This will add the above repository in software sources list. Now make sure that you have curl installed on your Ubuntu system:

sudo apt install curl

With the help of curl, download and add the GPG key of the Spotify repository you added to the sources list. This is mandatory because your system needs to trust this repository.

curl -sS | sudo apt-key add -

Next is simple. Update and install Spotify client.

sudo apt update
sudo apt install spotify-client

That’s all you need to do. Next, you can start Spotify by searching for it Unity Dash (in Ubuntu). It integrates very well in Ubuntu environment. Here is what Spotify interface looks like in Ubuntu:

Installing Spotify in Ubuntu 14.04 and Linux Mint

I hope this quick post helped you to install Spotify desktop client in Ubuntu and other Linux OS. I think this could be counted as one of the first few things to do after installing Ubuntu 18.04.

If you prefer SoundCloud, you can read this tutorial to see how to install SoundCloud in Linux.

How do you find it? Do you use any other service similar to Spotify? Do share your views.

If Spotify is not available in your country, you can use a DNS service such as Unlocator to access restricted contents in your country including Spotify, Hulu, Britbox etc.

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world


Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.