Spotify: how to install on Linux step by step

Spotify logo and Tux rocker

Spotify is a pioneer in terms of free music via steraming, without a doubt something that has been requested from the user side and that few have wanted to hear. Those who are against piracy only propose ideas at least absurd, sometimes bordering on stupidity and at other times giving evidence of human stupidity. But Spotify has been able to satisfy those who want free music and without being illegal.

Spotify is an application that born in Stockholm, Sweden. What the Swedish company has done is to sign agreements with record companies such as Universal Music, Sony BMG, EMI Music, Hollywood Records, Interscope Records and Warner Music, among others, to be able to offer their music for free. By offering what users want, since June 2015, it has grown exponentially, with more than 75 million active users.

As they indicate from the web, they work to not leave the Linux app behind regarding releases targeting Windows, Mac OS X, and other operating systems. However, Spotify is now distributed in DEB packages for Debian and derivatives, of course for Ubuntu and derivatives, as this is also a Debian derivative distro. If you have another distro, unfortunately they do not offer packages and you must choose to use Wine in order to install the native app for Windows. Another option that occurs to me, although less recommended, is to transform the DEB into an RPM or another type of package with the alien.

For Your installation On distributions that support DEB packages, you can follow these steps:

  • Add the repository key to be able to download the package, for that from the terminal, type:
sudo apt-key adv --keyserver hkp:// --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886

  • Then we are going to add the Spotify repository:
echo deb stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list

  • Now we update the list:
sudo apt-get update
  • The last thing is to install the Spotify client and we will have it ready:
 sudo apt-get install spotify-client 

For newbies, remember that after entering each of these lines you have to press ENTER to take effect ... Also, when using sudo it will ask for your password.

The content of the article adheres to our principles of editorial ethics. To report an error click here.

10 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *



  1. Responsible for the data: AB Internet Networks 2008 SL
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Abd hessuk said

    Come on, now without using the xD terminal

    1.    Elena said


  2.   nhoi said

    You had to press enter that lost months without using linux and I thought it was my pc's problem.

    1.    Isaac PE said

      Hahaha no man, I say it for those who are the first time they see a command line, it is not going to be that they just paste the lines and wait to see if it responds ... I swear there is more than one out there ... you would be surprised to see some questions asked.

  3.   rafagcg said

    Very explained. Thanks.
    A mobile phone runs out of battery completely…. Great idea to put it on charge… .but it still doesn't work. It has broken…
    Well no. You just had to turn it on !!!
    Pressing the button for more than 2 seconds.
    The owner did not know. True case this afternoon.
    You remember that Pulsen intro. That you never know ...

  4.   Juanmi said

    "If you have another distro, unfortunately they do not offer packages and you must choose to use Wine in order to install the native app for Windows"
    It seems to me that you have used few distros, this is more false than judas. In the AUR repo of any arch is spotify.

  5.   Aleph Zero said

    Hi, I'm new to Ubuntu, I have version 15.10, which I installed 2 days ago. I've used Linux but only to navigate the Deep with Tails, I have some knowledge but only the basics. I installed Spotify without problems with the Terminal, but I cannot remove the advertising that appears after a certain number of songs. Could someone provide me with a solution? Investigating I found solutions but none for version 15.10. Another question, is it advisable to continue with this version or switch to 14.04.3 LTS?

  6.   luisa said

    and later? It did not work for me ... many lines said error

    1.    Morgan trimax said

      is that your "error" is using linux

      1.    Your old woman in thong said

        Your "ERROR" is to be very limited Morgan