If you want to install Spotify on openSUSE and you see that Spotify doesn’t provide rpm binaries don’t worry, you can still do it!

Image with Spotify working on openSUSE Leap 42.1

I have tested this with Leap 42.1 and Tumbleweed (20180124 and older). It should work with other versions of Leap.

It seems that there are two possibilities, on my installation of openSUSE I can use the script and download and package Spotify, although on a fresh installation the script will fail. You can try method (1) and check if it works, if it doesn’t the method (2) is for you.

Method (1):

Start by cloning the repository [opensuse-spotify-installer (master)]

After that, run: (at some point you will be asked to enter your root password)

 > ./install-spotify.sh

It will take some time to download and install. In order to run it type:

 > spotify

Method (2):

In this method clone the repository [opensuse-spotify-installer (old-but-working)]

Edit the version names and to the ones given at Spotify’s repository into install-spotify.sh and spotify-client.spec, then comment out {line #103} from file spotify-client.spec [%suse_update_desktop_file $desktop] and run:

 > ./install-spotify.sh

wait until it installs and launch it as in method (1).

— You can uninstall it by:

 > rpm -e spotify-client


 > ./install-spotify.sh -u

Enjoy your music! 😀

— edit: changed the link of the repository to my fork, the repository I forked doesn’t work on leap after he updated his version.

— update [27/05/2016]: The repository that I cloned, got updated and now works with openSUSE Leap by default. Instructions got updated.

— update [20/06/2016]: Changes from the last update don’t work on a fresh installation.

— update [26/01/2018]: Changed title specifying a multi version solution and added the tested versions.

** Now the original repository may work but I redirect to mine in the case he does any changes and doesn’t work any more on Leap.