While Spotify has no supported release for Linux as such, their is, hidden away a little bit, a nice little “Preview” release that runs reasonably well, even if it is not the most native of applications.

This is a preview build of Spotify for Linux. As a preview release this version is still unsupported, but we’re running it ourselves and will try to make sure it keeps pace with its Mac and Windows siblings.

Spotify is a great way to listen to music by streaming it on your phone, in your browser, or on your Linux desktop. You can stream everything, upgrade and sync tracks and playlists offline, or purchase individual tracks to keep forever.

The following code will add the Spotify repository, authenticate it (which makes sure the software you install is the official one), checks for the latest version, and installs Spotify. You should copy and paste this code into your Terminal and execute it.

sudo apt-add-repository -y “deb http://repository.spotify.com stable non-free” &&
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys D2C19886 &&
sudo apt-get update -qq &&
sudo apt-get install spotify-client

You can view these commands individually at the Official Spotify Linux Preview page.