How to Install Spotify on Ubuntu & Debian

Install the official Spotify desktop client on your Ubuntu/Debian system to enhance your musical experience.

Spotify is a digital music streaming service that gives you access to millions of songs. It is currently the most popular streaming music service. Hundreds of millions of people use it to listen to music and consume podcasts every day.

This article will guide you to install the Spotify desktop client on UbuntuDebian, or other Debian-based distros such as Linux Mint, elementary OS, etc., in three easy-to-follow steps via the official Spotify package repository.

You would have to be familiar with the command line because this is the simplest way to install the app.

Installing Spotify Application on Ubuntu & Debian

Step 1: Add Spotify Repo Key

The first step in installing Spotify from its official repository is importing the Spotify public key with which its packages are signed into our system.

So, open a terminal and import the Spotify signing key using the curl command:

curl -sS | sudo apt-key add -Code language: JavaScript (javascript)
Add Spotify Repo Key

Step 2: Add Spotify Repo

Next, add the official Spotify repository to the software sources list on our Linux system.

echo "deb stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.listCode language: PHP (php)
Add Spotify Repo

Step 3: Install Spotify

Finally, you can install the Spotify client.

sudo apt-get update && sudo apt-get install spotify-clientCode language: JavaScript (javascript)
Installing Spotify on Ubuntu or Debian

That’s all you need to do. Then, launch the Spotify desktop app from your preferred app launcher after installation.

Launch the Spotify desktop app on Ubuntu

When you start it for the first time, it will ask you to log in. So log in with your Spotify account and have a beautiful musical experience.

Spotify client playing music on Ubuntu

The best part about installing Spotify from the official Spotify repository is that it will automatically be upgraded whenever a new version of Spotify is released.


This article demonstrated how to install the Spotify desktop client in Ubuntu or Debian.

Do you use any other music streaming services other than Spotify? Please share your thoughts in the comments section below.

Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Think You're an Ubuntu Expert? Let's Find Out!

Put your knowledge to the test in our lightning-fast Ubuntu quiz!
Ten questions to challenge yourself to see if you're a Linux legend or just a penguin in the making.

1 / 10

Ubuntu is an ancient African word that means:

2 / 10

Who is the Ubuntu's founder?

3 / 10

What year was the first official Ubuntu release?

4 / 10

What does the Ubuntu logo symbolize?

5 / 10

What package format does Ubuntu use for installing software?

6 / 10

When are Ubuntu's LTS versions released?

7 / 10

What is Unity?

8 / 10

What are Ubuntu versions named after?

9 / 10

What's Ubuntu Core?

10 / 10

Which Ubuntu version is Snap introduced?

The average score is 68%