Spotify is one of the must-have subscription-based services for music lovers, so it only makes sense it should be available on all platforms. Whereas Windows users have no problem installing the app, Linux users need to apply some brain power to install Spotify on their machines. Here are a couple of tips you may find useful.
To install Spotify on:
Ubuntu/Linux Mint machines
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886 echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list sudo apt-get update sudo apt-get install spotify-client
Spotify is available in the AUR of Arch Linux and Manajro computers.
yaourt -S spotify
Overall, the process is fairly simple.
sudo emerge --ask media-sound/spotify
Depending on your build, you would have to different USE flags:
gnome <— adds GNOME support
pax_kernel <— Triggers a paxmarking of the main Spotify binary
pulseaudio <— Add support for PulseAudio
OpenSUSE is a little less straightforward than the other flavors when it comes to Spotify installation. Spotify is available as a .DEB file, but OpenSUSE reads .RPM files. So, the first way of installing Spotify would be to convert .DEB to .RPM, which is not the easiest path. The easiest path would be to install the community-created build.
Fedora, too, relies on RPM, so you would either have to use the unofficial builds, or Flatpak https://fedoramagazine.org/explore-flatpak-fedora-24/
If you choose Flatpak http://fedoraproject.org/wiki/Spotify:
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
If you choose to use the unofficial repository, add the repository first:
dnf config-manager --add-repo=http://negativo17.org/repos/fedora-spotify.repo
You are ready to install Spotify:
sudo yum -y install spotify-client
Hope this helps! Even though it is not as simple and straightforward as clicking “install” in Windows, most GNU/Linux flavors allow you to install Spotify and enjoy your digital music your way!