In this article we describe a installation procedure of Spotify client on Debian Linux 8 (Jessie). Looking on the Spotify for Linux on spotify.com page we can see a simple instructions which we are going to follow. However, based on the statement from spotify developer the "Spotify for Linux" version available is for an older Debian 6 Squeeze version so we will come across some issues which we will fix after the main Spotify installation.

Let's start the spotify installation by adding spotify repository
deb http://repository.spotify.com stable non-free
to our /etc/apt/sources.list. 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 linux 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 sid. First we use wget to download libgcrypt11 package and then we will install it using dpkg command:
# wget http://ftp.acc.umu.se/mirror/cdimage/snapshot/Debian/pool/main/libg/libgcrypt11/libgcrypt11_1.5.3-5_amd64.deb
Install libgcrypt11:
# dpkg -i libgcrypt11_1.5.4-3_amd64.deb
Now you can start spotify client from command line:
$ spotify
installation of spotify music client on debian jessie linux 8
FIND LATEST LINUX JOBS on LinuxCareers.com
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in: