quick-docs/en-US/modules/proc_installing-spotify-on-fedora.adoc

116 lines
3.3 KiB
Text
Raw Normal View History

2018-01-03 16:44:22 +00:00
[id='proc_installing-spotify-on-fedora']
= Installing Spotify on Fedora
2017-12-14 04:07:58 +00:00
link:https://www.spotify.com/[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:
2017-12-14 04:07:58 +00:00
[installation]
== Installation
2018-01-03 16:44:22 +00:00
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.
2018-01-03 16:44:22 +00:00
* Using unofficial repositories like the http://negativo17.org/spotify-client/[negativo17] or https://rpmfusion.org/[RPMFusion] repositories.
* Using a Flatpak hosted by http://flathub.org[Flathub].
* Using the https://www.spotify.com/us/download/linux/[officially-supported]
http://snapcraft.io/[Snap].
2018-01-03 16:44:22 +00:00
[installing-spotify-from-3rd-party-repositories]
=== Installing Spotify using third-party repositories
2017-12-14 04:07:58 +00:00
[install-spotify-using-negativo17]
==== Using the Negativo17.org repository
2018-01-03 16:44:22 +00:00
The Negativo17.org repository provides a link:https://negativo17.org/spotify-client/[Spotify client] which contains the following packaged features:
2017-12-14 04:07:58 +00:00
* Libraries for enabling local files playback
* File upload to personal playlists
* Firewalld rules for enabling local service discovery
* Spotify Connect (control other devices & output location)
To install Spotify using the Negativo17.org repository:
. Add the Negativo17.org repository:
+
----
2018-01-03 16:44:22 +00:00
# dnf config-manager --add-repo=http://negativo17.org/repos/fedora-spotify.repo
2017-12-14 04:07:58 +00:00
----
. Install Spotify:
+
----
2018-01-03 16:44:22 +00:00
# dnf install spotify
2017-12-14 04:07:58 +00:00
----
[install-spotify-using-rpmfusion]
==== Using the RPMFusion repository
2018-01-03 16:44:22 +00:00
2017-12-14 04:07:58 +00:00
RPMFusion provides software that the Fedora Project do not ship. That software is provided as precompiled RPMs for all current Fedora versions.
To install Spotify using the RPMFusion repository:
. Add the RPMFusion repository
+
----
2018-01-03 16:44:22 +00:00
# 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
2017-12-14 04:07:58 +00:00
----
. Install Spotify
+
----
2018-01-03 16:44:22 +00:00
# dnf install spotify
2017-12-14 04:07:58 +00:00
----
2018-01-03 16:44:22 +00:00
[install-spotify-using-flatpak]
2017-12-14 04:07:58 +00:00
=== Installing Spotify using Flatpak
2018-01-03 16:44:22 +00:00
2017-12-14 04:07:58 +00:00
To install Spotify using link:https://flatpak.org/index.html[Flatpak]:
. Install Flatpak using dnf:
+
----
2018-01-03 16:44:22 +00:00
# dnf install -y flatpak
2017-12-14 04:07:58 +00:00
----
. Install Spotify using Flatpak:
+
----
2018-01-03 16:44:22 +00:00
# flatpak install -y --from https://flathub.org/repo/appstream/com.spotify.Client.flatpakref
2017-12-14 04:07:58 +00:00
----
. To run Spotify:
+
----
$ flatpak run com.spotify.Client
----
. (Optional) Add a menu shortcut for Spotify:
+
----
2018-01-03 16:44:22 +00:00
$ echo "
2017-12-14 04:07:58 +00:00
[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
----
[instal-spotify-using-snap]
=== Snap
Snap is the officially recommended distribution method for Spotify. To install spotify using http://snapcraft.io/[Snap]:
. Install Snap
+
----
$ sudo dnf install snapd
$ sudo ln -s /var/lib/snapd/snap /snap
----
. 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.