Install Spotify on Debian, Ubuntu, or any Linux distribution

This direct-to-point tutorial outlines how to easily install Spotify on Debian, Ubuntu, or any Linux distribution using the official package repository from Spotify.

Install Spotify on Debian, Ubuntu, or any Linux distribution
Image by Thibault Penin / Unsplash

Spotify has become a leading music streaming service for tech enthusiasts, boasting an extensive library of songs and personalized playlists. It offers developers the music listening experience they desire.

If you're a die-hard Linux fan, you can easily install Spotify using the official package repository—even on a Raspberry Pi!

If you prefer Linux Distros, you can use these instructions to install Spotify via a terminal in simple steps. It will even work on Raspberry Pi.

New article — Lightweight Linux Distros perfect for older hardware.

Install Spotify via Terminal

Fire up your terminal, and the following commands will guide you through the installation process, which only takes a few steps.

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt-get update
sudo apt-get install spotify-client

That's it! Spotify will now work seamlessly on your Linux distribution.

Thank you for reading this tutorial on how to install Spotify on Linux. We hope it has been helpful to you. If you're interested in learning more about Linux, we suggest checking out our article on lightweight Linux distributions that are perfect for older hardware or systems with limited resources.​