How to Install Spotify on Ubuntu 18.04 LTS

Spotify is a Swedish entertainment company founded by Daniel Ek and Martin Lorentzon that gives you instant access to millions of songs from old favorites to the latest hits. It supports all the major devices like Windows, macOS, and Linux computers, as well as iOS, Windows Phone and Android smartphones and tablets. Spotify has a great sound quality, responsive interface and ability to control playback using the special function buttons at the top of the keyboard.

In this tutorial, we will explain the steps to install Spotify on Ubuntu 18.04 LTS (Bionic Beaver).


  • Ubuntu 18.04 desktop version is installed.
  • A non-root user with sudo privileges.

Install Spotify

You can install Spotify using two methods.

Install Spotify using Snap

By default, Spotify is available in Snap. You can install it easily by just running the following command:

sudo snap install spotify

Install Spotify Using Ubuntu Package Manager

By default, Spotify is not available in Ubuntu 18.04 default repository. So you will need to add the repository for that.

First, import the GPG key to your system with the following command:

sudo apt-key adv --keyserver hkp:// --recv-keys 0DF731E45CE24F27EEEB1450EFDC8610341D9410

Next, add the Spotify apt repository to your system:

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

Finally, update the repository and install Spotify using the following command:

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

Once the Spotify is installed, you can launch it from your Unity Dash, you should see the following image:

Spotify on Ubuntu 18.04

Now, login or Signup using your Spotify account. After login, you can access thousands of song from Spotify.

Share this page:

Suggested articles

3 Comment(s)

Add comment


By: Antoni

when i execute sudo apt-get update i get the following error:

W: Error de GPG: stable InRelease: Las firmas siguientes no se pudieron verificar porque su clave pública no está disponible: NO_PUBKEY 4773BD5E130D1D45

By: Cor

W: GPG error: stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4773BD5E130D1D45

Snap version does not allow access to local files.

By: Max

You first need to configure the public key for the repo. That solves the error.

curl -sS | sudo apt-key add -