Install Spotify In Ubuntu 16.04 & Linux Mint 18

Spotify is the most popular streaming music service these days. While you can listen it via its web interface, you can also install a desktop client of Spotify in Linux. This gives you some additional features such as listening to local music in Spotify, sync local music to Spotify server or sync local music to iPhone, iPod or other mobile devices.

In this quick post, we shall see how to quickly install Spotify in Ubuntu 16.04 and other Debian based distributions such as Linux Mint, Elementary OS, Bodhi etc.

Install Spotify in Ubuntu 16.04 & Linux Mint 18

A video version of the installation procedure is on our YouTube channel. Do subscribe to it for more tutorials.

To install desktop client of Spotufy, open a terminal (Ctrl+Alt+T) and use the following commands:

sudo sh -c 'echo "deb http://repository.spotify.com stable non-free" >> /etc/apt/sources.list.d/spotify.list'

This will add the above repository in software sources list. Now add the GPG key:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886

Next is simple. Update and install Spotify client.

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

That’s all you need to do. Next you can start Spotify by searching for it Unity Dash (in Ubuntu). It integrates very well in Ubuntu environment. Here is what Spotify interface looks like in Ubuntu 14.04:

Installing Spotify in Ubuntu 14.04 and Linux Mint

I hope this quick post helped you to install Spotify desktop client in Ubuntu and other Linux OS. I think this could be counted as one of the first few things to do after installing Ubuntu 14.04.

If you prefer SoundCloud, you can read this tutorial to see how to install SoundCloud in Linux.

How do you find it? Do you use any other service similar to Spotify? Do share your views.

If Spotify is not available in your country, you can use a DNS service such as Unlocator to access restricted contents in your country including Spotify, Netflix Hulu etc.

Comments

  1. Hi Abhishek,
    I do have the Spotify 1.0.64.407 app on my Linux Mint 18.2 Xfce 64 bit environment.
    It is a great app. However it reboots my 10 year old Sony Vaio laptop every few minutes.
    I had exactly the same issue while using the Chrome browser. In Chrome I switched off hardware acceleration which solved the Chrome reboot issue.
    However the Spotify 1.0.64.407 app does not have the option to switch off hardware acceleration.
    Any idea how to solve this problem?
    Thanks and regards,
    Nico

  2. You really saved a customer for Spotify. I spent 5 hours in a chat with their customer service, with multiple service reps and repeated disconnections, after their web player locked up in Firefox, without any solution. They told me to load Chrome, which turned into another nightmare. Finally found your player install instructions with a Google Search. I am a very new Linux Mint User. Loaded Mint 18.1 on a old machine after Firefox said it would no longer support Windows XP. I was able to copy and paste your command instructions into the terminal command window and get it installed without a problem, though I had my fingers crossed all the way. It works great so far. The only thing I would add to your instructions, which would be of use to a total novice like me, is that once you open the terminal window, you have to enter the command su in order bring up the prompt to enter your password before, you can start to copy and paste the command instructions. I had to Google that up to get past the “permission denied” error message. Thanks very much for taking the time to make your knowledge available to others.

    • Hello William,
      It is weird that Spotify customer support could not help you but I am glad that I could help you out.
      About the commands, you don’t need to use su. When you use sudo, you need to enter your password, that’s it.

      • Mr. Prakash,

        Thanks very much for your reply. I had to use “su” earlier when I was trying to cut and paste some commands to load Chrome, so I just did it automatically before I pasted in your first command line. I am glad to know that if I see “sudo” in front of a command line, it will automatically bring up the password prompt. Never did get Chrome to load because I read that it only worded for 64 bit machines, before I managed to figure out how to load it. Did load Chromium, but ran into a problem getting a Widevine extension into it.

        Finally found your It’s FOSS post and was happy to find that I could cut and past the command lines into the terminal and load the player with relative ease. It is next to impossible to print and and type in the commands. They are so long that I always mess up a space or a comma, since I do not have a natural feel as to how they should look, so I was happy that I could cut and past yours.

        I do not think that the Spotify staff is well trained on Linux issues, since it is just a tiny percentage of their users. I cleared all of the cookies and history from Firefox, and did every thing else they suggested to no avail. They just kept pushing me to Chrome. None of them suggested the Linux version player that is on their website, which I found after I had loaded your player. Hopefully one of your solutions will come up the next time I have to figure out how to do something in Mint, and I am in a search for answers. I would subscribe to your news letter, but I would just end up deleting it, as I do not have time to look at all of the ones I get now.

        Thanks again for all of your help with this matter. You are a real asset to the computer community. I really appreciate your knowledge outreach efforts.

        Sincerely,

        William Watkins

        • Hello Mr. Watkins,
          Support for 32bit system is gradually decreasing and the trend will continue like this.
          It’s FOSS was created with the sole purpose of helping out new Linux users and I am glad we are succeeding in our goals.
          While searching you can just add itsfoss at the end of the query to get a realiable solution from us :)
          Stay in touch

  3. Thanks, brother. Works like a champ! (I’m using Ubuntu 14.04.2 64-bits)

    Regards from Mexico (:

Trackbacks

Leave a Reply

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

[i]
[i]