Add the repository details to our software repositories list. Note we're using the tee command to bypass the limitation of the sudo command to pipe standard input directly to a file.
$ echo deb http://repository.spotify.com stable non-free \ | sudo tee /etc/apt/sources.list.d/spotify.list
Add their public key so we can verify the downloaded software packages.
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59
Update your package repository and install the client.
$ sudo apt-get update $ sudo apt-get install spotify-client
By the way, although the recommendation system seems primitive, the client did suggest quite a few songs which were new to me. Example is Miles Davis's In a Silent Way, my current favourite song before I start coding.