Installing Spotify on Fedora 24

I’ve recently been using Spotify on PS4 and wanted to get it on my desktop. Unfortunately, the official instructions from Spotify are for Ubuntu and other Debian-based distros.

Thankfully, there’s a way around all of that using rpmfusion. Below are the commands you will need to run in order to get it installed.

$ sudo dnf install --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
$ sudo dnf install lpf-spotify-client
$ lpf update

4 thoughts on “Installing Spotify on Fedora 24”

  1. The install instructions for the first 2 commands, were successful (no errors), but the last command failed (see below). Any ideas?

    $ lpf update
    Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
    Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
    Error: must be run as pkg-build user.
    /usr/share/lpf/scripts/update.py:10: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version(‘Gtk’, ‘3.0’) before import to ensure that the right version gets loaded.
    from gi.repository import Gtk # pylint: disable=no-name-in-module
    spotify-client: installing build dependencies
    Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
    spotify-client: downloading sources
    spotify-client: build failed
    /usr/bin/lpf: line 203: 19301 Terminated $scriptdir/lpf-update “$@”

    1. Hmmm, try executing $sudo lpf update. Lemme know if you still have issues. It’s hard to troubleshoot when I’m not at the console, but I’ll do my best!

  2. Same problem with $sudo lpf update. But I found the following error reported in /var/lib/lpf/log:

    Package desktop-file-utils-0.23-2.fc24.x86_64 is already installed, skipping.
    Package python-devel-2.7.13-1.fc24.x86_64 is already installed, skipping.
    Package redhat-lsb-core-4.1-33.fc24.x86_64 is already installed, skipping.
    Last metadata expiration check: 1:11:10 ago on Fri Feb 10 12:07:21 2017. Dependencies resolved. Nothing to do. Complete!
    Getting http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.0.47.13.gd8e05b1f-47_amd64.deb to ./spotify-client_1.0.47.13.gd8e05b1f-47_amd64.deb
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    ^M 0 0 0 0 0 0 0 0 –:–:– –:–:– –:–:– 0^M 0 0 0 0 0 0 0 0 –:–:– –:–:– –:–:– 0^M 0 0 0 0 0 0 0 0 –:–:– –:–:– –:–:– 0
    curl: (22) The requested URL returned error: 404 Not Found
    Getting http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.0.47.13.gd8e05b1f-16_i386.deb to ./spotify-client_1.0.47.13.gd8e05b1f-16_i386.deb
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    ^M 0 0 0 0 0 0 0 0 –:–:– –:–:– –:–:– 0^M 0 0 0 0 0 0 0 0 –:–:– –:–:– –:–:– 0^M 0 0 0 0 0 0 0 0 –:–:– –:–:– –:–:– 0
    curl: (22) The requested URL returned error: 404 Not Found

    So the problem is in that the specified version of spotify -client could not be downloaded because it is not found at the link address (http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.0.47.13.gd8e05b1f-16_i386.deb). When I check the contents of the parent link address (http://repository.spotify.com/pool/non-free/s/spotify-client/), the version of spotify client is spotify-client_1.0.47.13.gd8e05b1f-17_i386.deb. I believe this should be the client that I need for my processor (i7-6700), but I’m not sure how to correct this installation.

Leave a Reply

Your email address will not be published. Required fields are marked *