Spotify's Linux desktop client provides the service's music library and playback controls in a dedicated application. Ubuntu and Debian users can install it from Spotify's own APT repository.

The Debian package is for 64-bit Intel or AMD computers, identified as amd64 by Ubuntu and Debian. A graphical desktop and sudo access are needed; Spotify does not provide an ARM package in this repository.

Spotify maintains the repository, so APT can deliver client updates alongside other software. A separate signing key authenticates Spotify packages and is restricted to its source entry. Spotify targets the latest Ubuntu LTS release, although its Linux client does not have the same official support as its Windows and macOS clients.

Steps to install Spotify on Ubuntu or Debian:

  1. Refresh the APT package list.
    $ sudo apt update
  2. Install cURL, GnuPG, and the certificate bundle.
    $ sudo apt install --yes ca-certificates curl gnupg
  3. Import Spotify's repository signing key.

    This key allows APT to authenticate software supplied by Spotify. The repository entry in the next step limits its use to Spotify's repository.

    $ curl -fsSL https://download.spotify.com/debian/pubkey_5384CE82BA52C83A.asc | sudo gpg --dearmor --yes -o /usr/share/keyrings/spotify-archive-keyring.gpg

    If Spotify rotates its signing key, the current key URL is published on the Spotify for Linux download page.

  4. Add Spotify's APT repository.
    $ echo "deb [arch=amd64 signed-by=/usr/share/keyrings/spotify-archive-keyring.gpg] https://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
    deb [arch=amd64 signed-by=/usr/share/keyrings/spotify-archive-keyring.gpg] https://repository.spotify.com stable non-free
  5. Fetch the package list from Spotify's repository.
    $ sudo apt update
    ##### snipped #####
    Get:4 https://repository.spotify.com stable InRelease [3316 B]
    ##### snipped #####

    The Spotify repository should appear without a signature error. A NO_PUBKEY error means APT could not authenticate it with the imported key.

  6. Install the Spotify desktop client.
    $ sudo apt install --yes spotify-client
    ##### snipped #####
    Setting up spotify-client:amd64 (1:1.2.95.453.g0eeebbed) ...
    ##### snipped #####

    The version and dependency list vary with repository updates and the packages already installed.

  7. Check the installed Spotify client version.
    $ spotify --version
    Spotify version 1.2.95.453.g0eeebbed, Copyright (c) 2026, Spotify Ltd

    The command prints the client version without opening a window and does not need sudo. The version number changes with updates.

Share this guide