How to install Spotify in Linux Mint, Ubuntu, and elementary OS

Spotify is a immensely popular music streaming service and needs a paid subscription to use it. It has a library of millions of songs and features ready-made playlists to suit your mood. You can listen to Spotify music directly from web interface. But, I would rather recommend a more convenient way of using a dedicated app for it. In this article, I will show you how to install Spotify app in Debian based Linux distros like Ubuntu, Linux Mint, elementary OS, Solus, etc., so that you can quickly launch it and control it.

Install Spotify App on Linux Mint and Ubuntu

STEP 1: Launch ‘Terminal’ and copy-paste the following command and hit enter.. Basically, this command adds the Spotify repository signing key to be able to verify downloaded packages.

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

STEP 2: This command adds the Spotify repository.

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

STEP 3: Now we shall update the packages.

sudo apt-get update

STEP 4: Finally, it’s time to install Spotify

sudo apt-get install spotify-client

That’s it. You can now launch the app from the ‘Applications’/ ‘Menu’.

Install Spotify on elementary OS Loki

The above method should work right away in elementary OS freya and below. But if you are running Loki, then you need to first enable PPA before installing Spotify. Here are full set of commands which you have to use in the ‘Terminal’.

Launch terminal and enter the following commands one at a time.

sudo apt-get update
sudo apt-get upgrade
sudo apt install software-properties-common
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt-get update
sudo apt-get install spotify-client
That’s it!
Hi there! I'm Kiran Kumar, founder of FOSSLinux.com. I'm an avid Linux lover, and enjoys hands-on with new promising distros. Currently, I'm using Linux Mint as a daily driver and run several other distros such as Fedora, Solus, Ubuntu, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities especially during Winter ;). When I'm not writing for FOSSLinux, I'm seen biking and hiking on scenic trails. Hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more, and spread my love for Linux. If you find time, drop me an email or feedback from 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!

Leave a Reply

1 Comment on "How to install Spotify in Linux Mint, Ubuntu, and elementary OS"

Notify of
avatar
Sort by:   newest | oldest | most voted
NTilky
Guest

This worked when the one from Spotify themselves did not. I am a new user for Ubuntu and I want to thank you SO MUCH!!!

wpDiscuz