From e4710b631eda273df862ec1c5ad98c213cbdd4bf Mon Sep 17 00:00:00 2001 From: Link Dupont Date: Jan 20 2018 22:50:38 +0000 Subject: update spotify --- diff --git a/_topic_map.yml b/_topic_map.yml index 226313b..4deb553 100644 --- a/_topic_map.yml +++ b/_topic_map.yml @@ -6,6 +6,8 @@ Topics: File: index - Name: GRUB 2 File: grub2 + - Name: Spotify + File: spotify - Name: (FIX ME!) Third party repositories File: 3rd-party-repos - Name: (FIX ME!) Anaconda @@ -88,8 +90,6 @@ Topics: File: reset-root-password - Name: (FIX ME!) Red Hat Enterprise Linux File: rhel - - Name: (FIX ME!) Spotify - File: spotify - Name: (FIX ME!) Switching Desktop Environments File: switch-desktop-env - Name: (FIX ME!) Systemd diff --git a/en-US/spotify.adoc b/en-US/spotify.adoc index 7418d3b..88abf0e 100644 --- a/en-US/spotify.adoc +++ b/en-US/spotify.adoc @@ -1,107 +1,91 @@ = Spotify -''' - -[IMPORTANT] -====== - -This page was automatically converted from https://fedoraproject.org/wiki/Spotify - -It is probably +https://www.spotify.com/[*Spotify*] is a cross-platform (available for +Ubuntu, macOS and Windows) proprietary music streaming service. It is a +freemium product (meaning a free version of it is available, but it has +advertisements. Paying for a Premium subscription will remove the +advertisements. -* Badly formatted -* Missing graphics and tables that do not convert well from mediawiki -* Out-of-date -* In need of other love +[[installation]] +Installation +~~~~~~~~~~~~ -Please fix it, remove this notice, and then add to `_topic_map.yml` +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. -Pull requests accepted at https://pagure.io/fedora-docs/quick-docs +* Using the https://www.spotify.com/us/download/linux/[officially-supported] +http://snapcraft.io/[Snap]. +* Using a Flatpak hosted by http://flathub.org[Flathub]. +* Using unofficial repositories like the http://negativo17.org/spotify-client/[negativo17] or https://rpmfusion.org/[RPMFusion] repositories. -Once that is live, go to the original wiki page and add an `{{old}}` -tag, followed by a note like +[[snap]] +Snap +^^^^ +Snap is the officially recommended distribution method for Spotify. To install +it, first install `snapd`. .... -{{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 -}} +sudo dnf install snapd +sudo ln -s /var/lib/snapd/snap /snap .... -====== - -''' - - -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 -~~~~~~~~~~~~ +Then install `spotify`. -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: +.... +snap install spotify +.... -* Using unofficial repositories like the -http://negativo17.org/spotify-client/[negativo17 repository]. -* Using link:Flatpak[Flatpaks] +Be sure to consult http://snapcraft.io for more information on that repository +and Snaps in general. [[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: +A Spotify flatpak is also available from http://flathub.org[Flathub]. .... -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 +flatpak install --from https://flathub.org/repo/appstream/com.spotify.Client.flatpakref .... -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: +Add the Yum repository and install: .... dnf config-manager --add-repo=http://negativo17.org/repos/fedora-spotify.repo dnf install spotify .... -Installation for CentOS/RHEL 7+: +To do the same on CentOS/RHEL: .... yum-config-manager --add-repo=http://negativo17.org/repos/epel-spotify.repo yum install spotify .... -Category:Audio Category:Proprietary_software[Category:Proprietary -software] -''' +[[rpmfusion.org-repository]] +RPMFusion repository +^^^^^^^^^^^^^^^^^^^^ + +Install the repository package and `lpf`. Follow the steps in `lpf-gui` to build +and install a local `spotify` RPM. + +.... +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 +sudo dnf install lpf-spotify-client +lpf-gui +.... + +To do the same on CentOS/RHEL: + +.... +sudo yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-7.noarch.rpm +sudo yum install lpf-spotify-client +lpf-gui +.... 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.