Hi everyone I'm attempting to install spotify, I've been running linux for less than 24 hours so please cut me some slack if this seems trivial. Here is a link to the webpage https://www.spotify.com/us/download/previews/ and the example script.

  1. Add this line to your list of repositories by editing your /etc/apt/sources.list

    deb http://repository.spotify.com stable non-free
  2. If you want to verify the downloaded packages, you will need to add our public key

    sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 94558F59
  3. Run apt-get update

    sudo apt-get update
  4. Install spotify!

    sudo apt-get install spotify-client

would someone be nice enough to walk me through this? I'm not even sure where to start.

  • @guntbert Why did you remove the blockquote? – dericke May 19 '15 at 15:15
  • @dericke The blockquote is used for quoting text (opposed to one's own text). – guntbert May 19 '15 at 16:04
  • @guntbert Which is what the text I blockquoted is. A quote from the page that the asker linked. – dericke May 20 '15 at 20:47
  • @dericke you are right, I overlooked that fact. Strangely I am not able to roll back my edit now. – guntbert May 24 '15 at 20:44

Open your favorite terminal, or just any.

ctrl + alt +t should open the default terminal, if not, search for terminal in the application menu.

Paste in

echo 'deb http://repository.spotify.com stable non-free' | sudo tee --append /etc/apt/sources.list

It will ask for your user password, just type it in (you can't see the characters, but it's there, just type and press enter when done.)

Then paste

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

And then, guess what, paste in (we'll combine the two last commands here)

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

You can paste in the terminal with ctrl + shift + v, right click or by right clicking and selecting paste, depending on the terminal.

If you're running 15.04, running spotify-client will probably cause whining about missing dependencies, here's a link about that.

If the link goes dead, I've included the basic stuff from that below.

Download if your system is 32-bit

Download if your system is 64-bit

Then navigate to where ever you downloaded said files, and run

sudo dpkg -i libcrypt11*

And you should be up and running before you can say streichholzschächtelchen.

| improve this answer | |
  • Awesome! worked perfectly, so i'm guessing "echo" tells it to go to the website? Is this portion of the first line "| sudo tee --append /etc/apt/sources.list" going to remain constant between all installations? – Zack Bayhan May 16 '15 at 15:53
  • No, echo means to write the following string. I used it instead of telling you to open a file manually, add the line and save the file. | basically means to take that output and do the following command with said output. – Christian May 16 '15 at 18:00
  • Also note that the line that was printed to the file didn't have a line break in it, so you'll have to edit the file manually next time you add to it, or prepend \n before the deb part. – Christian May 16 '15 at 18:01
  • This information is extremely out of date. I've updated the information with my answer. – James Aug 22 '16 at 18:55
  • 15.04 is actually EOL so that info is irrelevant. – user484158 Aug 22 '16 at 19:27

Spotify is now available as a snap so you can find it in Ubuntu Software, or install in a terminal with one command:-

snap install spotify
| improve this answer | |

Open terminal using ctrl + alt + t. Type (or paste) in

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

Next, type:

echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list

Finally just type

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

This does work in 16.04. Previous version only worked 15.10 and earlier.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.