How to install Spotify on Debian 9 Stretch Linux

The following Spotify setup procedure outlines installation steps as provided by

Nonetheless, may you encounter some difficulties along the way of the Spotify installation on Debian Stretch

Install dirmngr package.

# sudo apt install dirmngr

Debian Stretch contains higher version of libssl. Download and install libssl1.0.0 from Debian Jessie repository:

$ wget
# dpkg -i libssl1.0.0_1.0.1t-1+deb8u6_amd64.deb

Include Spotify’s repository signing key.

# apt-key adv --keyserver hkp:// --recv-keys D2C19886
Executing: /tmp/tmp.KNeuare7F9/ --keyserver hkp:// --recv-keys D2C19886
gpg: key 13B00F1FD2C19886: "Spotify Public Repository Signing Key <>" not changed
gpg: Total number processed: 1
gpg:              imported: 1


The above key will expire on 2017-11-22, thus if expired and no longer available you can list a new Spotify’s repository signing key by:

$ gpg --keyserver hkp:// --search-key 'Spotify Public Repository Signing Key'

Add Spotify’s repository to local sources and run apt-get update:

# echo deb stable non-free > /etc/apt/sources.list.d/spotify.list
# apt-get update

Finally, we are ready to install Spotify client on Debian Stretch using apt-get comamnd:

#  apt-get install spotify-client

All done. You should now be able to run Spotify from your start menu or from command line:

$ spotify


You may also like...

Leave a Reply