|Line 29:||Line 29:|
Revision as of 23:26, 15 December 2016
Spotify is a cross-platform (available for 64-bit 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.
While it is not officially supported on Fedora or any other RPM-based distributions it is possible to get it to work on 64-bit Fedora. There are two main ways of installing it:
- Using unofficial repositories like the negativo17 repository.
- Using Flatpaks
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.freedesktop.Platform 1.4 flatpak install gnome org.freedesktop.Sdk 1.4 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
To add its desktop configuration file to one's application menus run:
ln -sf $HOME/.local/share/flatpak/app/com.spotify.Client/current/active/export/share/applications/com.spotify.Client.desktop $HOME/.local/share/applications/com.spotify.Client.desktop ln -sf $HOME/.local/share/flatpak/app/com.spotify.Client/current/active/export/share/icons/hicolor/256x256/apps/com.spotify.Client.png $HOME/.local/share/icons/com.spotify.Client.png