Posted by: Per Erik | February 20, 2012

Native Spotify in Ubuntu 11.10 (Linux Preview)

Native Spotify in Ubuntu 11.10 (Linux Preview)

(Image considered used under fair use)

1. Install

2. Local files

3. Common bugs and fixing them

To install Spotify native Linux client paste the following line into the terminal(ctrl+alt+t or Super(known as Windows key) -> terminal) and confirm with your password.

echo “deb stable non-free” | sudo tee -a /etc/apt/sources.list && sudo apt-key adv –keyserver –recv-keys 4E9CFF4E && sudo apt-get update && sudo apt-get install spotify-client-qt

Thats all there should be to it. More information and help is under.

NB: Spotify freezes during ads sometimes. click frantic on the next song button so you get a voice ad. To show Spotify their welcome you might consider paying for premium, it makes the bug go away as well. :)


Add application launcer:

Super key (known as windows key) drag into unity launcher


Local files

This will allow you to use local files in spotify.

If you don’t know what architecture you have you can use “uname -m” in terminal, it should output some letters like i386 that i have put in the brackets. Download the file, it should go to your download folder, if not make sure it does or move it there.

32 Bit Packages (i386/i486/i586/i686)

Then in Terminal run:

cd Downloads && tar -zxvf '32 Bit Packages.tar.gz' && sudo dpkg -i *.deb && sudo apt-get install -f

64 Bit Packages (x86_64 GNU/Linux)

Then in Terminal run:
cd Downloads && tar -zxvf '64 Bit Packages.tar.gz' && sudo dpkg -i *.deb && sudo apt-get install -f


Fixing the “InRelease” bug



Terminal update (sudo apt-get update)

W: Failed to fetch Unable to find expected entry ‘non-free/source/Sources’ in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.



Failed to download repository information

Check your Internet connection.



A triangle in the notification area that looks as if your computer is about to die !!!



Super key(known as windows key) –> Software Sources –> Other software –> Remove the check/tick for the source code –> password –> Run Update Manager again


What does the install script do

sudo sh -c ‘echo “deb stable non-free” >> /etc/apt/sources.list.d/spotify.sources.list’           —- ads repository into your list

&& adv –keyserver –recv-keys 4E9CFF4E  —- Security clearance dude!! confirms the repo and sets permissions

&& sudo apt-get update   —- updates package list

&& apt-get install spotify-client-qt  —- Installs Spotify



2. Bug -> myself  :) :D



  1. It’s really a great and useful piece of info. I am glad that you just shared
    this helpful info with us. Please keep us up to date like this.
    Thanks for sharing.

    • This blog is discontinued, but I keep it here since some still find it useful.

  2. You actally make it seem really easy alobg with yoour presentation but I in finding this topic
    to be actuallyy one thing that I think I might never understand.
    It seems too complicated and very large for me. I
    am having a look aahead for your subsequent put up, I
    will try to get the hang of it!

    • This blog is discontinued, but I keep it here since some still find it useful. Soon i will delete it, i think this post is outdated if im not mistaken. I believe they’ve made a deb.

  3. Hey there, You have done an incredible job. I’ll certainly digg it and personally recommend to my friends. I am confident they will be benefited from this web site.

  4. I can’t understand how come nobody has pointed this out. It took me like 15min to figure it out. Anyhow, the apt-key adv portion of your command simply doesn’t work. Or I suppose it would, but wordpress has probably converted your double – to one long -. It’s hard to realize that as the slightly larger – hardly stands out. And the options are actually documented in the man pages of gpg instead of apt-key. Not to mention that the error message left me totally clueless.

    • Btw. also the key you need to add has changed. It’s now this: 94558F59 (or check it out from the spotify site..)

  5. I fogrot about this post :) but Spotify started working flawlessly on 10.10 some time ago, at least for me. Apparently some update or another fixed it, because I didn’t do anything… I just hope that Spotify will release some kind of API for the basic controls to enable panel-applets, global shortcuts etc. on Spotify… Or is there a way to make global keys work already? It’s possible under Wine, but apparently not in the native version…

  6. You are missing a sudo in the last command:
    apt-get install spotify-client-qt spotify-client-gnome-support

    • thank you, thought it was something like that.

    • Yeah that would suck if a newb tried it which is my main target :/

  7. Spotify not workink in ubuntu 10.10

  8. Oh, well, you can’t have everything :)
    I submitted the bug, let’s hope it solvable…

  9. Spotify crashes in Ubuntu 10.10 RC when moving the mouse over the playlists. When starting from a terminal it complains about segmentation fault. Do you have a remedy for this?

    • I don’t think there is to much i can say.
      The implementation is still beta alpha stage (even thou their not calling it that).
      Copy the lines from the terminal and send it as a bug to spotify including version of ubuntu you are running and if you use Gnome or what.
      Spotifty runs well in Wine so using the Windows version may be a n option for now.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s



Get every new post delivered to your Inbox.

%d bloggers like this: