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
installation of spotify music client on on Ubuntu 14.04 LTS Linux

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
ARE YOU LOOKING FOR A LINUX JOB?
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed on LinuxCareers.com.
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: