How to Install Spotify on Ubuntu 26.04 – Complete Guide

Share

Spotify for linux ubuntu cover - How to Install Spotify on Ubuntu 26.04 - Complete GuideYou can install Spotify on Ubuntu using the official APT repository maintained by Spotify developers, the officially published Snap package from the Snap Store, or the sandboxed Flatpak package via Flathub.

The Linux desktop client provides access to the full Spotify library, including millions of songs, podcasts, and radio stations.

While the Linux client is maintained by Spotify engineers as a passion project rather than an officially supported platform, it receives regular updates and functions exactly like its Windows and macOS counterparts, offering seamless synchronization across your devices, high-quality audio streaming, and playlist management.

This guide provides step-by-step terminal instructions for installing and configuring Spotify on Ubuntu 26.04, 24.04, and 22.04 LTS. We cover the setup process for all three major package formats, show you how to securely import the official GPG signing keys, and demonstrate how to perform a clean system uninstallation.

If any of these steps fail on your system, please drop a comment below or contact us and we will help you get it resolved.

Requirements at a Glance
• Supported OS: Ubuntu 22.04, 24.04, and 26.04 LTS (Desktop editions)
• Architecture Support: Standard PC (amd64)
• APT package: spotify-client (via repository.spotify.com)
• Snap package: spotify (officially published by Spotify)
• Flatpak ID: com.spotify.Client (requires Flathub remote repository support)
• Space Required: ~300 MB (APT/Snap) or ~600 MB (Flatpak container environment)

Ubuntu 22.04, 24.04 & 26.04  ·  5 Min Read  ·  Application Guide
Install Spotify on Ubuntu
APT, Flatpak, & Snap Setup Walkthroughs

Configure the Spotify streaming client on your system. Learn how to securely import the official GPG keys, add repositories, and choose between native or sandboxed application containers.

Quick Facts Before Installing
• Spotify officially recommends the Snap package for most Linux users as it supports seamless automatic updates.
• The APT repository is fully maintained by Spotify engineers but requires manual GPG key imports to verify package security.
• The Flatpak build isolates Spotify in a sandbox, which can be useful if you prefer keeping third-party applications away from your root partition.
• A free Spotify account is required to use the client. Premium subscriptions unlock high-bitrate audio streaming and ad-free listening.

Choosing the right installation format determines how Spotify integrates with your system’s audio servers (PulseAudio/PipeWire) and how updates are delivered. Review the comparison grid below to select the option that best fits your workflow.

Spotify Installation Methods Compared

Review the installation choices below to evaluate release updates, containment levels, and desktop integration capabilities.

Method Source channel Updates Sandbox isolation Integration & Details
Snap Store (Link) Official Spotify Publisher Automatic, background updates. Strict snap confinement Recommended by Spotify for ease of use. Bundles all required libraries.
APT Repo repository.spotify.com Manual, via apt update None (Native system access) Fast startup time, standard system integration. Requires manual verification keys.
Flatpak (Flathub) Flathub Container Registry Manual/Automatic (depends on settings) Strict sandbox restriction Maintained by community packaging team. Keeps host OS completely clean.

Method 1: Install Spotify via the Snap Store (Recommended)

Spotify officially recommends the Snap package for Linux users. The primary advantage of using Snap is that it automatically handles background updates, ensuring that your client remains up to date without requiring manual terminal intervention. The application runs securely within a sandbox, meaning it cannot interfere with critical system files.

Setup Command
Install via Snapcraft Utility

Open your terminal using the shortcut key combination Ctrl+Alt+T and run the snap command to download and install the official package:

sudo snap install spotify

After the installation completes, Spotify will be immediately available in your application launcher menu. Snap will check for updates in the background on a regular schedule.

Method 2: Install Spotify via the Official APT Repository

If you prefer a standard system installation over isolated packages (like Snap or Flatpak), you can install Spotify directly from their official software source. This method often results in slightly faster application startup times and blends seamlessly with your system. However, you will need to securely import their verification keys to confirm the software is authentic.

Step 1
Import the Spotify GPG Key

Use the curl command to download the public key from Spotify’s secure servers, then pipe it into the gpg utility to save it to your system’s trusted keyring directory. This guarantees that any updates you receive are actually signed by Spotify developers:

curl -sS https://download.spotify.com/debian/pubkey_5384CE82BA52C83A.asc | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg

Step 2
Add the Official Repository Source

Add the new software source to your system so your computer knows where to find and download the Spotify packages:

echo "deb https://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list

Step 3
Update Package Caches and Install

Finally, refresh your system to recognize the newly added software source, and proceed with the installation of the Spotify app:

sudo apt update
sudo apt install spotify-client -y

Method 3: Install Spotify via Flatpak (Flathub)

Flatpak offers an alternative, isolated installation method. While the Flatpak build is maintained by the Linux community rather than Spotify directly, it securely separates the application from your core system files. This is useful if you want to ensure the application cannot access your sensitive system data.

Step 1
Install Flatpak System Packages

If Flatpak is not yet configured on your computer, install the daemon package via APT:

sudo apt update
sudo apt install flatpak -y

Step 2
Register the Flathub Repository Hub

Add the official Flathub remote server to query and pull application packages:

flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

Step 3
Install the Spotify Flatpak Container

Fetch and install the build from Flathub:

flatpak install flathub com.spotify.Client -y

How to Launch Spotify on Ubuntu

Once installation finishes, you can launch Spotify directly from your desktop interface or by executing the necessary command via the terminal.

Launch
Desktop Menu or Command Line

Open your desktop application grid, search for Spotify, and click the green icon.

Alternatively, run the launch command matching your selected installation type:

For APT & Snap installations:

spotify

For Flatpak container builds:

flatpak run com.spotify.Client

Spotify Interface Screenshots

Here is a look at the Spotify desktop client running smoothly on Ubuntu 26.04. The interface features a sleek dark mode that matches seamlessly with Ubuntu’s dark theme.

How to Completely Uninstall Spotify

If you want to remove Spotify from your system entirely, follow the cleanup instructions below that correspond to your active installation format. These steps purge the software and remove configuration files.

Uninstall Commands
Remove System Packages and Configurations

For APT installations (Removes the package and source list):

sudo apt remove spotify-client -y
sudo apt autoremove --purge -y
sudo rm /etc/apt/sources.list.d/spotify.list
sudo rm /etc/apt/trusted.gpg.d/spotify.gpg

For Snap installations (Purges the snap package):

sudo snap remove spotify

For Flatpak installations (Removes the application and unused runtimes):

flatpak uninstall com.spotify.Client -y
flatpak uninstall --unused -y

Helpful Resources

Use the links below to access official documentation and community forums for further Spotify troubleshooting:

Frequently Asked Questions

Common troubleshooting questions and installation solutions.

Does Spotify provide an official APT repository for Ubuntu?

Yes, Spotify provides an official Debian repository. You can install it by importing their GPG key and adding the repository URL: echo "deb https://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list.

Is there an official Snap package for Spotify on Ubuntu?

Yes, Spotify officially maintains a Snap package in the Snap Store. You can install it on any Ubuntu system by running: sudo snap install spotify.

How do I install Spotify using Flatpak?

To install Spotify via Flatpak, first ensure the Flathub repository is enabled, then run: flatpak install flathub com.spotify.Client.

Why is there no sound when playing music on Spotify for Linux?

Audio issues in the Spotify Linux client are often caused by missing PulseAudio or PipeWire dependencies. Ensure that the pulseaudio-utils and alsa-utils packages are installed, and check your system’s output device settings.

How do I completely uninstall Spotify from Ubuntu?

To remove Spotify installed via APT, run: sudo apt remove spotify-client -y. If you installed via Snap, run: sudo snap remove spotify. For Flatpak, use: flatpak uninstall com.spotify.Client -y.

Related audio guides: Best Music Players On Ubuntu  ·  Best Audio Editors for Ubuntu  ·  Install FFmpeg on Ubuntu

CTO Notes:
– SEO: The H1 has been shifted to place the “Download/Install” keyword intent after the main topic (Spotify) while avoiding front-loading “Download”, consistent with our April 2026 guidelines. AEO formatting implemented with direct answers in the intro.
– UX and readability: Applied the new premium Shapebox dark palette using Spotify Green (#1DB954). Ensured all multi-link groups inside flex containers are on single lines to avoid the `wpautop` spacing bug. Added flowchart reference.
– Content gaps: Expanded the original 337-word post into a comprehensive guide handling Snap, APT, and Flatpak, plus detailed uninstallation steps. Added an audio troubleshooting tip in the FAQ.
– Trend signals: Canonical documentation for Linux from Spotify points to Snap as the primary smooth path, so we prioritized Snap as Method 1, matching upstream advice while still giving APT a prominent position.