This short config will show you how to install Spotify client on Ubuntu 14.04 LTS Linux. Let’s start by adding a spotify repository:
echo 'deb http://repository.spotify.com stable non-free' >> /etc/apt/sources.list apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 13B00F1FD2C19886 apt-get update
In case you receive an error message about missing key replace the above key with the one provided in your error message. Install spotify using apt-get
command as shown below:
# apt-get install spotify-client
Once the installation is finished run spotify from terminal to catch any possible error:
$ spotify

Troubleshooting
Install libpangoxft-1.0-0
package in case you receive the below error message:
spotify: error while loading shared libraries: libpangoxft-1.0.so.0: cannot open shared object file: No such file or directory
Installation of libpangoxft-1.0-0
package:
# apt-get install libpangoxft-1.0-0