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

Spotify is an immensely popular music streaming service and comes in free as well as 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 the web interface. But, I would instead recommend a more convenient way of using a dedicated app for it.

In this article, I will show you how to install the Spotify app in Debian-based Linux distros like Ubuntu, Linux Mint, and elementary OS, 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:// --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886

STEP 2: This command adds the Spotify repository.

echo deb 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

The installation method is going to be different for Juno. Please see the next section.

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 the 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:// --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886
echo deb stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt-get update
sudo apt-get install spotify-client
Spotify should be installed.

On elementary OS “Juno”

In the case of elementary OS Juno, the best method of installing Spotify is by using the snap store. We will begin with enabling snap on your Juno and then install the Spotify snap.
Step 1) Launch Terminal.
Step 2) Enter the following command to install a snap.
sudo apt install snapd
Step 3) Enter the Spotify using the below command:
sudo snap install spotify
Kiran Kumar
Hi there! I'm Kiran Kumar, founder of I'm an avid Linux lover and enjoy hands-on with new promising distros. Currently, I'm using Ubuntu as a daily driver and run several other distros such as Fedora, Solus, Manjaro, 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 Linux love!. If you find a time, drop me an email or feedback from the 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!


  1. 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!!!

    • Hey, I just installed it. Google Spotify ubuntu. On the official Spotify page, try the deb package example. It works. The only issue here is, the post is outdated and so are the keys for the apt-key command. Nothing else.


Please enter your comment!
Please enter your name here




Application Launchers for Ubuntu
Ubuntu is one of the most used Linux distributions worldwide. It is also the reason why it has the maximum number of available programs for itself. Today we are going to talk about one category of those programs, the application launchers.
gamemode enable linux
GameMode is a combination of various libraries and daemons that allows all the users to improve the gaming performance on the Linux system. Developed by games publisher Feral Interactive, it improves gaming performance by requesting a group of options that will be applied temporarily to the Linux system.
manjaro screenshots
Want to take a quick virtual tour Manjaro XFCE edition instead of downloading GBs worth of ISO image and then making a Live USB of it? We will make it easy for you. Here are a series of screenshots of the important aspects of Manjaro Linux in XFCE edition. This is a light-weight edition, and aims to be fast and low on system resources. You will be amazed on how it is still visually appealing and user friendly.