M
MeshWorld.
HowTo Install Linux Ubuntu Spotify 2 min read

Install Spotify on Ubuntu

By Vishnu Damwala

If you use Ubuntu and want the native desktop app, Spotify gives you two easy installation paths:

  • install it from Snap
  • install it from Spotify’s Debian repository

Official reference:

If you searched for install Spotify on Ubuntu, Spotify Linux install, or Spotify apt Ubuntu, this guide covers both common methods.

Method 1: Install Spotify with Snap

This is the quickest option on Ubuntu:

sudo snap install spotify

When the installation finishes, open Spotify from the app launcher or run:

spotify

Verify the installation

If Spotify launches and you can reach the login screen, the install is complete.

You can also check whether the package exists with:

snap list spotify

Method 2: Install Spotify with APT

If you prefer a repository-based install, add Spotify’s official package source.

Add the signing key and repository

curl -sS https://download.spotify.com/debian/pubkey_5384CE82BA52C83A.asc | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg
echo "deb https://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list

Install Spotify

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

Update Spotify

If you installed with Snap:

sudo snap refresh spotify

If you installed with APT:

sudo apt update
sudo apt upgrade

Remove Spotify

Snap install:

sudo snap remove spotify

APT install:

sudo apt remove spotify-client

If you also want to remove the Spotify repository entry:

sudo rm /etc/apt/sources.list.d/spotify.list
sudo rm /etc/apt/trusted.gpg.d/spotify.gpg
sudo apt update

Final note

If you want the fastest setup, use Snap. If you prefer a package repository you control through APT, the official Debian repository still works well.