mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-24 21:35:17 +00:00
116 lines
3.1 KiB
Text
116 lines
3.1 KiB
Text
= Installing Spotify on Fedora
|
||
Ankur Sinha; Weverton do Couto Timoteo; Mohammadreza Hendiani
|
||
:revnumber: F38
|
||
:revdate: 2023-07-04
|
||
:category: Installation
|
||
:tags: How-to Flatpak DNF RPMFusion Spotify
|
||
|
||
// Optional free form useful additional information as comment
|
||
|
||
//include::{partialsdir}/3rdparty-message.adoc[]
|
||
include::partial$3rdparty-message.adoc[]
|
||
|
||
|
||
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 in a number of ways:
|
||
|
||
. Using a Flatpak hosted by https://flathub.org[Flathub].
|
||
. Using Snap hosted by https://snapcraft.io/spotify[snapcraft].
|
||
. Using the third-party https://rpmfusion.org/[RPM Fusion] repositories.
|
||
|
||
[install-spotify-using-flatpak]
|
||
== Installing Spotify using Flatpak
|
||
|
||
// VERIFIED: on 201901319 by @ankursinha
|
||
|
||
To install Spotify using link:https://flatpak.org/index.html[Flatpak]:
|
||
|
||
. Install Flatpak using DNF:
|
||
+
|
||
----
|
||
sudo dnf install -y flatpak
|
||
----
|
||
|
||
. Enable the Flathub remote:
|
||
+
|
||
----
|
||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||
----
|
||
|
||
. Install Spotify:
|
||
.. Using Gnome Software:
|
||
... Head to the link:https://flathub.org/apps/details/com.spotify.Client[Spotify page on Flathub].
|
||
... Click "install", and choose to open the file using Gnome Software.
|
||
... Click "install" in Gnome Software.
|
||
... Click "launch" to run Spotify once installed.
|
||
|
||
.. Using the command line:
|
||
+
|
||
----
|
||
flatpak install flathub com.spotify.Client
|
||
----
|
||
|
||
. Run Spotify:
|
||
.. Click on the Spotify icon in the applications list,
|
||
.. or use the following command in the terminal:
|
||
+
|
||
----
|
||
flatpak run com.spotify.Client
|
||
----
|
||
|
||
[install-spotify-using-snap]
|
||
== Installing Spotify using Snap
|
||
|
||
To install Spotify using link:https://snapcraft.io/spotify[Snap]:
|
||
|
||
. Install Snap using DNF:
|
||
+
|
||
----
|
||
sudo dnf install snapd
|
||
----
|
||
|
||
. Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.
|
||
. To enable classic snap support, enter the following to create a symbolic link between `/var/lib/snapd/snap` and `/snap`:
|
||
+
|
||
----
|
||
sudo ln -s /var/lib/snapd/snap /snap
|
||
----
|
||
. Install spotify, simply use the following command:
|
||
+
|
||
----
|
||
snap install spotify
|
||
----
|
||
. Click on the Spotify icon in the applications list.
|
||
|
||
[install-spotify-using-rpmfusion]
|
||
== Using the RPM Fusion repository
|
||
|
||
// UNVERIFIED
|
||
|
||
For this method, please refer to the link:https://github.com/leamas/lpf[`lpf GitHub Page`]
|
||
requirements.
|
||
|
||
. xref:setup_rpmfusion.adoc[Enable the RPMFusion repositories].
|
||
. Install the `lpf-spotify-client` package:
|
||
+
|
||
----
|
||
sudo dnf install lpf-spotify-client
|
||
----
|
||
|
||
. Install Spotify:
|
||
.. Click the "lpf-spotify-client" icon in the application list.
|
||
.. or use the following command in a terminal:
|
||
+
|
||
----
|
||
lpf update
|
||
----
|
||
|
||
== References
|
||
|
||
. https://flathub.org/apps/details/com.spotify.Client
|
||
. https://snapcraft.io/install/spotify/fedora
|
||
. https://github.com/rpmfusion/lpf-spotify-client
|
||
. https://github.com/leamas/lpf
|
||
. https://www.spotify.com/us/download/linux/
|
||
|