How to Install Spotify on Ubuntu

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 great sound quality, a responsive interface, and the ability to control playback using the special function buttons at the top of the keyboard.

This tutorial will explain the steps to install Spotify on Ubuntu 22.04.


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

Install Spotify

You can install Spotify using two methods.

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

sudo snap install spotify

Alternatively, Install Spotify Using Ubuntu Package Manager

By default, Spotify is not available in Ubuntu 22.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 update -y
sudo apt install spotify-client -y

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

Spotify on Ubuntu 18.04

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

Share this page:

3 Comment(s)

Add comment

Please register in our forum first to comment.


By: Antoni at: 2019-12-22 19:17:58

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 at: 2020-02-29 20:21:03

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 at: 2020-03-04 16:03:37

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

curl -sS | sudo apt-key add -