How to install Spotify on Ubuntu 22.04

The purpose of this tutorial is to show how to install and use Spotify on Ubuntu 22.04 Jammy Jellyfish Linux. Spotify is a music streaming service available for many different platforms.

Spotify can be installed and used on Linux systems, including the Ubuntu distro, as there is an official Linux build available. Spotify is currently the most popular music streaming service (disregarding YouTube), making its way on to more than 375 million devices.

In this tutorial, you will see how to install Spotify on Ubuntu 22.04 through the snap package manager or with the official Spotify package repository. You will also learn how to open the application after it has been installed.

In this tutorial you will learn:

  • How to install Spotify from snap on Ubuntu 22.04
  • How to download and install Spotify from the official package repository
  • How to open Spotify from command line or GUI on Ubuntu 22.04
How to install Spotify on Ubuntu 22.04
How to install Spotify on Ubuntu 22.04
Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System Ubuntu 22.04 Jammy Jellyfish
Software Spotify
Other Privileged access to your Linux system as root or via the sudo command.
Conventions # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ – requires given linux commands to be executed as a regular non-privileged user

How to Install Spotify on Ubuntu 22.04 LTS Jammy Jellyfish step by step instructions




There are two different ways you can install Spotify on Ubuntu. Either from snap package manager (included by default on Ubuntu 22.04) or by downloading Spotify through the official package repository, maintained by the Spotify developers. Choose whichever method you prefer and follow the corresponding step by step instructions below to install the Spotify music streaming application.

Install Spotify with Snap Package Manager

  1. To install Spotify with Snap, start by opening a terminal and execute the following command with root privileges.
    $ sudo snap install spotify
    

    When the process is complete, you will get a short message in terminal like this:

    spotify 1.1.72.439.gc253025e from Spotify✓ installed
    
  2. To open your newly installed Spotify application from GNOME GUI (the default GUI on Ubuntu 22.04, although yours may be different), use the Activities menu to search for Spotify application and click on the relevant icon to start Spotify.
    Start Spotify from GUI on Ubuntu 22.04 Jammy Jellyfish Linux
    Start Spotify from GUI on Ubuntu 22.04 Jammy Jellyfish Linux
  3. Alternatively, you can always start the Spotify application from the command line terminal by simply typing:
    $ spotify
    

Spotify installation from Official package repository



  1. To install Spotify with the official package repository from the Spotify website, start by opening a terminal and importing the Spotify signing key and adding the official Spotify repository. You will need to have the curl command installed in order to execute this command.
    $ curl -sS https://download.spotify.com/debian/pubkey_5E3C45D7B312C643.gpg | sudo apt-key add -
    $ echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
    
  2. After the key and repository has been added to the system, we can use Ubuntu’s apt package manager to install the spotify-client software package. Execute the following commands in terminal.
    $ sudo apt update
    $ sudo apt install spotify-client
    
  3. To open your newly installed Spotify application from GNOME GUI (the default GUI on Ubuntu 22.04, although yours may be different), use the Activities menu to search for Spotify application and click on the relevant icon to start Spotify.
    Start Spotify from GUI on Ubuntu 22.04 Jammy Jellyfish Linux
    Start Spotify from GUI on Ubuntu 22.04 Jammy Jellyfish Linux
  4. Alternatively, you can always start the Spotify application from the command line terminal by simply typing:
    $ spotify
    




That’s all there is to it. Now you will be able to open Spotify on Ubuntu 22.04 Jammy Jellyfish, and login to your account to get started streaming music, making playlists, etc. If you do not already have a Spotify account to login to, you will be prompted to create one when you first start up the Spotify application.

Closing Thoughts

In this tutorial, we saw how to install Spotify on Ubuntu 22.04 Jammy Jellyfish Linux, using both the Snap package manager and the official Spotify package repo. Spotify is one of the most popular applications for music streaming on the computer and mobile devices, due to its widespread support and huge catalog of music artists.