diff --git a/_topic_map.yml b/_topic_map.yml index 6a36be8..85f712b 100644 --- a/_topic_map.yml +++ b/_topic_map.yml @@ -88,8 +88,8 @@ Topics: File: reset-root-password - Name: (FIX ME!) Red Hat Enterprise Linux File: rhel - - Name: (FIX ME!) Spotify - File: spotify + - Name: Installing Spotify + File: procedures/spotify.adoc - Name: (FIX ME!) Switching Desktop Environments File: switch-desktop-env - Name: (FIX ME!) Systemd diff --git a/en-US/procedures/spotify.adoc b/en-US/procedures/spotify.adoc new file mode 100644 index 0000000..5d5cece --- /dev/null +++ b/en-US/procedures/spotify.adoc @@ -0,0 +1,91 @@ +== Installing Spotify on Fedora +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: + +* Using unofficial repositories such as xref:install-spotify-using-negativo17[Negativo17] and xref:install-spotify-using-rpmfusion[RPMFusion]. +* Using xref:install-spotify-using-flatpak[flatpak]. + +=== Installing Spotify using third-party repositories + +[id='install-spotify-using-negativo17'] +==== Using the Negativo17.org repository +The Negativo17.org repository provides a link:https://negativo17.org/spotify-client/[Spotify client] which contains the following packages features: + +* 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: ++ +[source,bash] +---- +$ sudo dnf config-manager --add-repo=http://negativo17.org/repos/fedora-spotify.repo +---- + +. Install Spotify: ++ +[source,bash] +---- +$ sudo dnf install spotify +---- + +[id='install-spotify-using-rpmfusion'] +==== Using the RPMFusion repository +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 ++ +[source,bash] +---- +$ 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 +---- + +. Install Spotify ++ +[source,bash] +---- +$ sudo dnf install spotify +---- + +[id='install-spotify-using-flatpak'] +=== Installing Spotify using Flatpak +To install Spotify using link:https://flatpak.org/index.html[Flatpak]: + +. Install Flatpak using dnf: ++ +[source,bash] +---- +$ sudo dnf install -y flatpak +---- + +. Install Spotify using Flatpak: ++ +[source,bash] +---- +$ sudo flatpak install -y --from https://flathub.org/repo/appstream/com.spotify.Client.flatpakref +---- + +. To run Spotify: ++ +[source,bash] +---- +$ flatpak run com.spotify.Client +---- + +. (Optional) Add a menu shortcut for Spotify: ++ +[source,bash] +---- +sudo 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 + +---- diff --git a/en-US/spotify.adoc b/en-US/spotify.adoc deleted file mode 100644 index 7418d3b..0000000 --- a/en-US/spotify.adoc +++ /dev/null @@ -1,107 +0,0 @@ -= Spotify - -''' - -[IMPORTANT] -====== - -This page was automatically converted from https://fedoraproject.org/wiki/Spotify - -It is probably - -* Badly formatted -* Missing graphics and tables that do not convert well from mediawiki -* Out-of-date -* In need of other love - -Please fix it, remove this notice, and then add to `_topic_map.yml` - -Pull requests accepted at https://pagure.io/fedora-docs/quick-docs - -Once that is live, go to the original wiki page and add an `{{old}}` -tag, followed by a note like - -.... -{{admon/note|This page has a new home!| -This wiki page is no longer maintained. Please find the up-to-date -version at: https://docs.fedoraproject.org/whatever-the-url -}} -.... - -====== - -''' - - -https://www.spotify.com/[*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]] -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: - -* Using unofficial repositories like the -http://negativo17.org/spotify-client/[negativo17 repository]. -* Using link:Flatpak[Flatpaks] - -[[flatpak]] -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.gnome.Platform 3.24 -flatpak install gnome org.gnome.Sdk 3.24 -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 -.... - -Please consult https://github.com/alexlarsson/spotify-app[the upstream -instructions] in case the commands above don't work. - -[[negativo17.org-repository]] -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 -.... - -Category:Audio Category:Proprietary_software[Category:Proprietary -software] -''' - -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.