How to Install Spotify on Ubuntu & Debian

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 -
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.list
Add Spotify Repo

Step 3: Install Spotify

Finally, you can install the Spotify client.

sudo apt-get update && sudo apt-get install spotify-client
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.


  1. It’s easy to use snap to install spotify

    sudo snap install –edge spotify

    That way it’s always up to date, just saying.

Leave a Reply

Your email address will not be published. Required fields are marked *