2019-03-19 21:45:10 +00:00
|
|
|
|
= Installing Spotify on Fedora
|
2023-08-08 09:25:28 +00:00
|
|
|
|
Ankur Sinha; Weverton do Couto Timoteo; Mohammadreza Hendiani
|
2023-08-04 08:58:20 +00:00
|
|
|
|
:revnumber: F38
|
2023-08-08 09:25:28 +00:00
|
|
|
|
:revdate: 2023-07-04
|
|
|
|
|
:category: Installation
|
2023-08-28 20:44:35 +00:00
|
|
|
|
:tags: How-to, Flatpak, DNF, RPMFusion, Spotify
|
2023-08-04 08:58:20 +00:00
|
|
|
|
|
|
|
|
|
// Optional free form useful additional information as comment
|
|
|
|
|
|
2023-08-08 09:25:28 +00:00
|
|
|
|
//include::{partialsdir}/3rdparty-message.adoc[]
|
|
|
|
|
include::partial$3rdparty-message.adoc[]
|
2018-07-27 14:38:30 +00:00
|
|
|
|
|
|
|
|
|
|
2019-03-19 21:45:10 +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 in a number of ways:
|
2018-07-27 14:38:30 +00:00
|
|
|
|
|
2021-02-02 11:30:52 +00:00
|
|
|
|
. Using a Flatpak hosted by https://flathub.org[Flathub].
|
2022-10-16 15:34:42 +00:00
|
|
|
|
. Using Snap hosted by https://snapcraft.io/spotify[snapcraft].
|
2022-10-16 15:17:55 +00:00
|
|
|
|
. Using the third-party https://rpmfusion.org/[RPM Fusion] repositories.
|
2019-03-19 21:45:10 +00:00
|
|
|
|
|
|
|
|
|
[install-spotify-using-flatpak]
|
|
|
|
|
== Installing Spotify using Flatpak
|
|
|
|
|
|
|
|
|
|
// VERIFIED: on 201901319 by @ankursinha
|
|
|
|
|
|
|
|
|
|
To install Spotify using link:https://flatpak.org/index.html[Flatpak]:
|
|
|
|
|
|
2020-04-07 15:09:32 +00:00
|
|
|
|
. Install Flatpak using DNF:
|
2019-03-19 21:45:10 +00:00
|
|
|
|
+
|
|
|
|
|
----
|
2020-04-07 15:09:32 +00:00
|
|
|
|
sudo dnf install -y flatpak
|
|
|
|
|
----
|
|
|
|
|
|
|
|
|
|
. Enable the Flathub remote:
|
|
|
|
|
+
|
|
|
|
|
----
|
|
|
|
|
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
2019-03-19 21:45:10 +00:00
|
|
|
|
----
|
|
|
|
|
|
|
|
|
|
. 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:
|
|
|
|
|
+
|
|
|
|
|
----
|
2023-07-09 14:16:43 +00:00
|
|
|
|
flatpak install flathub com.spotify.Client
|
2019-03-19 21:45:10 +00:00
|
|
|
|
----
|
|
|
|
|
|
|
|
|
|
. Run Spotify:
|
|
|
|
|
.. Click on the Spotify icon in the applications list,
|
|
|
|
|
.. or use the following command in the terminal:
|
|
|
|
|
+
|
|
|
|
|
----
|
2020-04-07 15:09:32 +00:00
|
|
|
|
flatpak run com.spotify.Client
|
2019-03-19 21:45:10 +00:00
|
|
|
|
----
|
|
|
|
|
|
2022-10-16 15:34:42 +00:00
|
|
|
|
[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:
|
|
|
|
|
+
|
|
|
|
|
----
|
2022-10-17 17:47:34 +00:00
|
|
|
|
snap install spotify
|
2022-10-16 15:34:42 +00:00
|
|
|
|
----
|
|
|
|
|
. Click on the Spotify icon in the applications list.
|
|
|
|
|
|
2022-10-16 15:17:55 +00:00
|
|
|
|
[install-spotify-using-rpmfusion]
|
|
|
|
|
== Using the RPM Fusion repository
|
|
|
|
|
|
|
|
|
|
// UNVERIFIED
|
|
|
|
|
|
2022-10-17 17:50:56 +00:00
|
|
|
|
For this method, please refer to the link:https://github.com/leamas/lpf[`lpf GitHub Page`]
|
|
|
|
|
requirements.
|
2022-10-16 15:28:02 +00:00
|
|
|
|
|
2023-08-17 18:52:56 +00:00
|
|
|
|
. xref:rpmfusion-setup.adoc[Enable the RPMFusion repositories].
|
2022-10-16 15:17:55 +00:00
|
|
|
|
. 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
|
|
|
|
|
----
|
|
|
|
|
|
2019-03-19 21:45:10 +00:00
|
|
|
|
== References
|
|
|
|
|
|
|
|
|
|
. https://flathub.org/apps/details/com.spotify.Client
|
2022-10-16 15:44:58 +00:00
|
|
|
|
. https://snapcraft.io/install/spotify/fedora
|
2022-10-16 15:17:55 +00:00
|
|
|
|
. https://github.com/rpmfusion/lpf-spotify-client
|
2022-10-16 15:28:02 +00:00
|
|
|
|
. https://github.com/leamas/lpf
|
2022-10-17 17:47:51 +00:00
|
|
|
|
. https://www.spotify.com/us/download/linux/
|
2018-09-09 13:16:31 +00:00
|
|
|
|
|