We all know Spotify very well: it is the largest music streaming platform of the moment, with at least 50 million paying users and a more than extensive catalog that can satisfy the needs of practically any listener.
Spotify can be found on the main mobile and desktop operating systems of the world, although within the latter their relations with Linux have not always been good. Now that it seems that the waters finally return to their channel, if you use Linux and want to have the official desktop client we will show you how to get it in the main distros.
Install Spotify on Ubuntu and derivatives
As with many third-party programs, in which it is one of the most popular Linux distributions today, to install Spotify it is necessary to add a PPA. To do so, open the terminal and enter the commands that we give you below:
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
Install Spotify on Arch Linux and derivatives
As you all know, the AUR is a large repository of third-party software maintained by the users of this distribution. Not only is it available for the main branch (Arch Linux), but it also works without problems in derivatives such as Manjaro or Antergos.
To install Spotify in this distribution it is necessary that you have installed an AUR package manager, such as pacaur or Yaourt. There are only two examples of programs known as AUR Helpers. In this example we are going to use Yaourt, but if you want to use another manager you will only have to change the “yaourt” command from the beginning to the name of the manager that you use.
To Install Spotify in Arch Linux open a terminal and write the following …
yaourt -S spotify
Install Spotify in OpenSUSE
Installing Spotify in OpenSUSE is somewhat more complex. Spotify can only be obtained as a DEB package, and this distro makes use of RPM packages. This makes it necessary to convert the package to the type that the distro uses, which will probably entail satisfying a good number of dependencies.
Luckily, there is an easier route. The OpenSUSE user community has created installation scripts for this distro, although the experience that each user may have with these installation scripts may vary.
Install Spotify in Fedora
As in the previous case, to install Spotify in Fedora there are two options : an unofficial repository or through Flatpak, something that Fedora Magazine describes as a “packaging format and distribution of Linux applications agnostic to the distro”. In this example we are going to see the two forms.
If you want to try the unofficial repository, first open a terminal, add it and then install Spotify:
dnf config-manager –add-repo=http://negativo17.org/repos/fedora-spotify.repo
sudo yum -y install spotify-client
If you prefer to try installing it with Flatpak , then copy and paste the following commands into a terminal:
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
And here’s our little guide to install Spotify on the main Linux distributions. If you follow the instructions that we give you, you should have no problem to be listening to your music on the desktop client of the platform on your Linux.