How to Install Spotify on Ubuntu 20.04

Spotify is a digital music streaming service that gives you instant access to millions of songs, from old classics to newest hits.

This article shows two ways to install Spotify on Ubuntu 20.04. Spotify can be installed as a Snap package in the Snapcraft repository, or as a deb package from the Spotify repositories.

Installing Spotify on Ubuntu Linux is a relatively easy process and only takes a few minutes.

Install Spotify as Instant Package

Spotify Snap is distributed and supported by Microsoft.

Snapshots are standalone software packages that include binaries for all the dependencies required to run the application. Snap packages are easy to upgrade and secure. Unlike standard deb packages, snapshots take up more disk space and increase application startup time.

Snap packages can be installed either from the command line or through the Ubuntu Software app.

To install the Spotify snap, open your terminal (Ctrl + Alt + T) and run the following command:

sudo snap install spotify

That’s all. Spotify is installed on your Ubuntu desktop and you can start using it.

If you don’t need the command line, open Ubuntu Software, search for “Spotify” and install the app:

Every time a new version is released, the Spotify snapshot package will automatically update in the background.

Installing Spotify with apt

Spotify is available in the official Spotify Apt repositories. To install it, follow these steps:

  1. Import the repository GPG key:
    sudo apt-key adv --keyserver hkp:// --recv-keys 4773BD5E130D1D45
  2. Add the Spotify APT repository to your system’s software repositories list:
    echo "deb stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
  3. Once the storage is enabled, update the apt sources and install Spotify:
    sudo apt update
    sudo apt install spotify-client

Once a new version is released, you can update your Spotify package using the standard desktop software updater or by running apt in your terminal with the following commands:

sudo apt update
sudo apt upgrade

Starting Spotify

In the “Actions” search bar, enter “Spotify” and click the icon to launch the application.

When you launch Spotify for the first time, the following window will appear:

How to Install Spotify on Ubuntu 20.04

From here, you sign in to your Spotify account or create a new one.


We showed you how to install Spotify on your Ubuntu 20.04 desktop. If Spotify is not available in the country you are in, you can use a VPN to bypass these geographic restrictions.

If you have any questions, please leave a comment below.