Install Spotify on Debian 8 Jessie

Home

Installation of Spotify client on Debian Linux 8 ( Jessie ) 64-bit

In this article we describe a installation procedure of Spotify client on Debian Linux 8 (Jessie).

Let's start the spotify installation by adding spotify repository to our file /etc/apt/sources.list

deb http://repository.spotify.com stable non-free

Next, install authentication key and run repository update:

apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 94558F59
apt-get update

At this stage we are ready to install spotify client on Debian 8 Jessie by following command and disregarding the warning message about apt-get not being able to verify package:

apt-get install spotify-client

When you try to start spotify you may get the following error message:

spotify: error while loading shared libraries: libpangoxft-1.0.so.0: cannot open shared object file: No such file or directory

To fix this issue simply install libpangoxft-1.0-0 package:

apt-get install libpangoxft-1.0-0

This will take care of the above issue however, when trying to run spotify another error message will pop up:

spotify: error while loading shared libraries: libgcrypt.so.11: cannot open shared object file: No such file or directory

For Debian 8 the available library is libgcrypt.so.20 and we need to borrow this missing library from debian repos. First we use wget to download libgcrypt11 package and then we will install it using dpkg command:

The different packages can be found here:

ftp://ftp.debian.org/debian/pool/main/libg/libgcrypt11/

for Debian 8 64 bits, download the following package:

wget ftp://ftp.debian.org/debian/pool/main/libg/libgcrypt11/libgcrypt11_1.5.0-5+deb7u3_amd64.deb

Install libgcrypt11:

 dpkg -i libgcrypt11_1.5.0-5+deb7u3_amd64.deb

Selecting previously unselected package libgcrypt11:amd64.
(Reading database ... 175141 files and directories currently installed.)
Preparing to unpack libgcrypt11_1.5.0-5+deb7u3_amd64.deb ...
Unpacking libgcrypt11:amd64 (1.5.0-5+deb7u3) ...
Setting up libgcrypt11:amd64 (1.5.0-5+deb7u3) ...
Processing triggers for libc-bin (2.19-15) ...

Now you can start spotify client from command line:

$ spotify

Author: root

Created: 2019-10-12 Sat 22:16

Emacs 25.2.2 (Org mode 8.2.10)

Validate