mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-28 14:56:35 +00:00
update spotify
This commit is contained in:
parent
40c4d582ad
commit
e4710b631e
2 changed files with 54 additions and 70 deletions
|
@ -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
|
||||
|
|
|
@ -1,107 +1,91 @@
|
|||
= 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.
|
||||
freemium product (meaning a free version of it is available, but it has
|
||||
advertisements. Paying for a Premium subscription will remove the
|
||||
advertisements.
|
||||
|
||||
[[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:
|
||||
distribution, it is possible to install on Fedora using various package methods.
|
||||
|
||||
* Using unofficial repositories like the
|
||||
http://negativo17.org/spotify-client/[negativo17 repository].
|
||||
* Using link:Flatpak[Flatpaks]
|
||||
* 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.
|
||||
|
||||
[[snap]]
|
||||
Snap
|
||||
^^^^
|
||||
Snap is the officially recommended distribution method for Spotify. To install
|
||||
it, first install `snapd`.
|
||||
|
||||
....
|
||||
sudo dnf install snapd
|
||||
sudo ln -s /var/lib/snapd/snap /snap
|
||||
....
|
||||
|
||||
Then install `spotify`.
|
||||
|
||||
....
|
||||
snap install spotify
|
||||
....
|
||||
|
||||
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.
|
||||
|
|
Loading…
Reference in a new issue