Installing Spotify on Fedora

Ankur Sinha, Weverton do Couto Timoteo, Mohammadreza Hendiani Verze F38 Last review: 2023-07-04

This page discusses third-party software sources not officially affiliated with or endorsed by the Fedora Project. Use them at your own discretion. Fedora recommends the use of free and open source software and avoidance of software encumbered by patents.

Spotify is a cross-platform proprietary music streaming service. Spotify is a freemium service, with advertisements which can be removed by purchasing a subscription. Although Spotify is not officially supported on Fedora, it can be installed on Fedora in a number of ways:

  1. Using a Flatpak hosted by Flathub.

  2. Using Snap hosted by snapcraft.

  3. Using the third-party RPM Fusion repositories.

Installing Spotify using Flatpak

To install Spotify using Flatpak:

  1. Install Flatpak using DNF:

    sudo dnf install -y flatpak
  2. Enable the Flathub remote:

    flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
  3. Install Spotify:

    1. Using Gnome Software:

      1. Head to the Spotify page on Flathub.

      2. Click "install", and choose to open the file using Gnome Software.

      3. Click "install" in Gnome Software.

      4. Click "launch" to run Spotify once installed.

    2. Using the command line:

      flatpak install flathub com.spotify.Client
  4. Run Spotify:

    1. Click on the Spotify icon in the applications list,

    2. or use the following command in the terminal:

      flatpak run com.spotify.Client

Installing Spotify using Snap

To install Spotify using Snap:

  1. Install Snap using DNF:

    sudo dnf install snapd
  2. Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.

  3. To enable classic snap support, enter the following to create a symbolic link between /var/lib/snapd/snap and /snap:

    sudo ln -s /var/lib/snapd/snap /snap
  4. Install spotify, simply use the following command:

    snap install spotify
  5. Click on the Spotify icon in the applications list.

Using the RPM Fusion repository

For this method, please refer to the lpf GitHub Page requirements.

  1. Enable the RPMFusion repositories.

  2. Install the lpf-spotify-client package:

    sudo dnf install lpf-spotify-client
  3. Install Spotify:

    1. Click the "lpf-spotify-client" icon in the application list.

    2. or use the following command in a terminal:

      lpf update