Installing Spotify

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.

Installing the Spotify music service client on Fedora.

Installing Spotify on Fedora

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 by:

Installation

While it is not officially supported on Fedora or any other RPM-based distribution, it is possible to install on Fedora using various package methods.

Installing Spotify using third-party repositories

Using the RPM Fusion repository

RPM Fusion provides software that the Fedora Project does not ship. That software is provided as a lpf RPM for all current Fedora versions. It means that you need to explicitely allow the spotify license before the lpf framework will download and re-package automatically the software. This is needed because the spotify doesnt’t allow the client to be distributed elsewhere than from spotify.com.

To install Spotify using the RPM Fusion repository:

  1. Add the RPM Fusion repository

    $ sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
    https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
  2. Install Spotify

    $ sudo dnf install lpf-spotify-client
    $ lpf approve spotify-client
    $ sudo -u pkg-build lpf build spotify-client # It can take up to 5 minutes
    $ sudo dnf install /var/lib/lpf/rpms/spotify-client/spotify-client-*.rpm

Installing Spotify using Flatpak

To install Spotify using Flatpak:

  1. Install Flatpak using dnf:

    # dnf install -y flatpak
  2. Install Spotify using Flatpak:

    # flatpak install -y --from https://flathub.org/repo/appstream/com.spotify.Client.flatpakref
  3. To run Spotify:

    $ flatpak run com.spotify.Client
  4. (Optional) Add a menu shortcut for Spotify:

    $ echo "
    [Desktop Entry]
    	Name=Spotify
    	Exec=flatpak run com.spotify.Client
    	Icon=/var/lib/flatpak/exports/share/icons/hicolor/256x256/apps/com.spotify.Client.png
    	Type=Application" > ~/.local/share/applications/Spotify.desktop

Snap

Snap is the officially recommended distribution method for Spotify. To install spotify using Snap:

  1. Install Snap

    $ sudo dnf install snapd
    $ sudo ln -s /var/lib/snapd/snap /snap
  2. Install Spotify using Snap:

$ snap install spotify

See a typo, something missing or out of date, or anything else which can be improved? Edit this document at https://pagure.io/fedora-docs/quick-docs.