Ubuntu: How to get the native version of Spotify running?


A while ago Spotify (the streaming music service) came out with a preview for Linux of their client. I have successfully been able to run it on 10.04.

Now that I am on 10.10, I cannot seem to find it in the package manager, let alone install it.

Software Sources gives me this:

Failed to fetch http://repository.spotify.com/dists/stable/Release  Unable to find expected entry  non-free/source/Sources in Meta-index file (malformed Release file?)  Some index files failed to download, they have been ignored, or old ones used instead.  

So what should I do?


I installed it yesterday fine. The error you're getting is it's trying to get the source version (which doesn't exist). Just edit your sources using: sudoedit /etc/apt/sources.list

And make sure you've got something like this:

deb http://repository.spotify.com stable non-free  # deb-src http://repository.spotify.com stable non-free  

The second (deb-src) line is commented. Make sure yours is and then run a sudo apt-get update. You shouldn't get any errors.

Make sure the key is installed (doesn't sound like your problem):

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D2C19886  

And then install it:

sudo apt-get install spotify-client-qt spotify-client-gnome-support  


Sure thing, i'm listening to it as i write this! Define this source for Apt

deb http://repository.spotify.com stable non-free

Then your usual apt update routine (GUI tools like Software Center do this for you), and install the packages spotify-client-qt and spotify-client-gnome-support. Sometimes it's a little buggy and eats loads of CPU, or doesn't draw it's main window at startup, but in general it works great.

There has been several mentions of Spotify over at OMG Ubuntu.


This should help you obtain the Spotify Linux preview:


However, If I remember correctly the Linux preview doesn't actually do much and doesn't actually function. Spotify currently recommends you install the Windows version through Wine:

This documentation from Spotify should help you:


Good luck.


If you are still having trouble, what I ended up doing that worked was removing all instances in my software and sources of spotify repositories. From there I just re-added the repository by clicking add and then typing in deb http://repository.spotify.com stable non-free. I refreshed the window, opened up terminal, typed

sudo apt-get update   sudo apt-get install spotify-client  

and everything worked just fine


You can also install the very latest Spotify version from the testing PPA :

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D2C19886  echo deb http://repository.spotify.com testing non-free | sudo tee /etc/apt/sources.list.d/spotify.list  sudo apt-get update  sudo apt-get install spotify-client  

enter image description here

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »