From Fedora Project Wiki

(Rm flatpak desktop config stuff; not needed after reboot)
Line 4: Line 4:
While it is not officially supported on Fedora or any other RPM-based distributions it is possible to get it to work on Fedora. There are two main ways of installing it:
While it is not officially supported on Fedora or any other RPM-based distributions it is possible to get it to work on Fedora. There are two main ways of installing it:


* Using unofficial repositories like the negativo17 repository.  
* Using unofficial repositories like the [http://negativo17.org/spotify-client/ negativo17 repository].
* Using [[Flatpak]]s
* Using [[Flatpak]]s


Line 20: Line 20:
flatpak --user remote-add --no-gpg-verify local-spotify repo
flatpak --user remote-add --no-gpg-verify local-spotify repo
flatpak --user install local-spotify com.spotify.Client
flatpak --user install local-spotify com.spotify.Client
</pre>
=== Negativo17.org repository ===
This repository also contains the following packages features:
* Required libraries for enabling local files playback and file upload to personal playlists
* Firewalld rules for enabling local service discovery and Spotify Connect (control other devices & output location)
Installation for Fedora:
<pre>
dnf config-manager --add-repo=http://negativo17.org/repos/fedora-spotify.repo
dnf install spotify
</pre>
Installation for CentOS/RHEL 7+:
<pre>
yum-config-manager --add-repo=http://negativo17.org/repos/epel-spotify.repo
yum install spotify
</pre>
</pre>


[[Category:Audio]]
[[Category:Audio]]
[[Category:Proprietary software]]
[[Category:Proprietary software]]

Revision as of 13:14, 1 May 2017

Spotify is a cross-platform (available for Ubuntu, macOS and Windows) proprietary music streaming service. It is a freemium product, that is, a free version of it is available, but it is riddled with advertisements. To use it without advertisements one needs to pay for Spotify premium.

Installation

While it is not officially supported on Fedora or any other RPM-based distributions it is possible to get it to work on Fedora. There are two main ways of installing it:

Flatpak

To install it using Flatpak one needs to get the source files required to build it, then build it and add it to one's Flatpak remote and install it. This can be done using the following set of commands:

sudo dnf install flatpak flatpak-builder git make ostree -y
flatpak remote-add --from gnome https://sdk.gnome.org/gnome.flatpakrepo
flatpak install gnome org.freedesktop.Platform 1.4
flatpak install gnome org.freedesktop.Sdk 1.4
git clone https://github.com/alexlarsson/spotify-app
cd spotify-app
make
flatpak --user remote-add --no-gpg-verify local-spotify repo
flatpak --user install local-spotify com.spotify.Client

Negativo17.org repository

This repository also contains the following packages features:

  • Required libraries for enabling local files playback and file upload to personal playlists
  • Firewalld rules for enabling local service discovery and Spotify Connect (control other devices & output location)

Installation for Fedora:

dnf config-manager --add-repo=http://negativo17.org/repos/fedora-spotify.repo
dnf install spotify

Installation for CentOS/RHEL 7+:

yum-config-manager --add-repo=http://negativo17.org/repos/epel-spotify.repo
yum install spotify