As you no doubt know, Spotify is the biggest music streaming service in the world with hundreds of millions of users around the world using it daily.

With such popularity you may be wondering how to install Spotify on Ubuntu 18.04 LTS and above so, in this guide, I walk you through the process step by step.

Official Spotify apps for Android and iOS are freely available, and the Spotify web player caters to those who like listening to music in a web browser.

But it’s the dedicated desktop client for Windows, Mac and Linux that most people prefer to use, and is the version this guide shows you how to install.

How to Install Spotify in Ubuntu

You can install the Spotify for Linux client in Ubuntu and Linux Mint in a number of different ways, but the two listed here are the most common (and recommended) methods.

Option 1: Use the Snap App

If you’re running Ubuntu 18.04 LTS or later (or any Linux distro that supports Snap applications) you can make use of the new Spotify Snap package.

This makes installation super simple:

Click to Install Spotify on Ubuntu

Option 2: Use the Spotify Linux Repository

Not everyone likes Snap applications, so if you prefer to install software the traditional way you can go ahead and add the official Spotify repository to your system’s list of software sources.

Adding the official repo unlocks automatic updates to new releases of the player automatically, as and when they’re released.

You can add the Spotify repository to your list of software sources in Ubuntu in two different ways: GUI and CLI.

First, you need to open the Software Sources app:

software sources unity

When the window opens select the ‘Other Software’ tab in Software Sources [1]

add-software-sources-ppa-ubuntu

Click ‘Add’ [2] and paste the following the entry field of the box that appears:

deb http://repository.spotify.com stable non-free

Click ‘Add Source’ [3] to confirm the change, then close Software Sources.

You can achieve the same thing using the command line:

sudo add-apt-repository "deb http://repository.spotify.com stable non-free"

Add the Spotify Repository Key

ppa-terminal

With the repo added the next step is to add the repository key. This allows Ubuntu, Linux Mint and other distros to verify that packages installed from this repository are made by who they say they are.

Open a new Terminal window, paste the following command, and hit return/enter:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90 2EBF997C15BDA244B6EBF5D84773BD5E130D1D45

CLI Fan? Run a single command

If you’re comfortable with the command line you can add the Spotify repository and its security key from the CLI by running the following command:

curl -sS https://download.spotify.com/debian/pubkey.gpg | sudo apt-key add - 
echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list

That’s that!

You can now install Spotify on Ubuntu using the Ubuntu Software app (after checking for new software updates first).

Alternatively, you can install the app by running the following command in the Terminal window:

sudo apt-get install spotify-client

Once installed, launch the Spotify desktop app from your preferred app launcher or app menu, sign in, and enjoy!

How To
#spotify