Spotify is the king of music streaming. Every day tens of millions of users listen to thousands of tracks using it through a variety of different ways.
There are mobile apps for Android, iOS, Windows Phone and Blackberry; a beta web-based player for browser-bound users; and dedicated desktop apps for Windows, Mac and Linux.
It’s the last one of these that this guide will show you how to install.
How to Install Spotify Via a Repository
Spotify for Linux Preview can be installed on Ubuntu 12.04, 12.10 and 13.04 direct from the Spotify repository. This method is recommended as it allows you to automatically upgrade to new releases of Spotify using Ubuntu’s Software Updater/Update Manager tool.
The first step is to open Software Sources via the Unity Dash:
Select the ‘Other Software’ tab in Software Sources 
Click ‘Add’  and paste the following the entry field of the box that appears:
deb http://repository.spotify.com stable non-free
Click ‘Add Source’ to confirm the change, then close Software Sources.
Add Spotify Repo Key
The next step is to add the repository key to verify that packages installed from this PPA are by whom they say.
Open a new Terminal window
Paste the following, then hit return/enter:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59
That’s that! You can now install Spotify through the Ubuntu Software Center (after checking for software updates first) or by running the following command in the Terminal window:
sudo apt-get update && sudo apt-get install spotify-client
Once installed you can launch Spotify from the Unity Dash.