I’ll pitch in here. I experienced that all those scripts didn’t worked the hard way. So I learned how to do it all manually.
I haven’t tried your script @megamaced but hopefully it works. I might try it someday.
My original thread is closed so I cannot add anything to it: https://forums.opensuse.org/showthread.php/511014-Spotify-with-Libgcrypt11-not-working
So I’ll write my instructions here. This is also a self note or documentation for me so I can go back and read this in case I need look it up.
I have done this both on 13.2, leap 42.1, 42.2. Tumbleweed 13.2 and Tumbleweed 42.2.
I cannot verify It works today. But it worked in December 2016 during x-mas weekends when I was setting up one of my laptops.
This is a static installation of Spotify. You will not get any updates on the software because there is no repository added to your system.
Keep this in mind. But this is exactly how I want it. I am in control. If I want to update the software I will do this manually.
Dependencies needed to rebuild an .deb to .rpm
• Alien: https://software.opensuse.org/package/alien
• Rpmbuild: https://software.opensuse.org/package/rpm-build
You need to find the binary file of the Spotify version you want to use.
You can download the latest version here on spotifys server: http://repository.spotify.com/pool/non-free/s/spotify/
But what if you wish to use an older version of spotify on linux? Black or the oldest grey UI.
Spotify remove the old binary when a new is released so keep your copy if you wish to use it long term.
But luckily there is an archive on github that hosts at least some of these older binaries.
Go to: https://github.com/olejon/spotcommander/wiki/DowngradeSpotify
Download your desired version. Then follow the same steps below.
Notice: Of course you need to replace the name of the file with the one you have when typing the terminal command.
This guide shows you how to install spotify client on openSUSE 12.3
As there is no native openSUSE rpm, we will have to make one ourselves.
The big advantage of this method is, that we will always have the latest version, because
when a new version is released, we can bake a new rpm ourselves and don’t have
to wait on others.
Here are the steps:
- browse to http://repository.spotify.com/pool/non-free/s/spotify/ and download the appropriate 32- or 64 bit version.
- install the rpm package ‘alien’ to convert .deb to .rpm’s. This can be found in the opensuse repos, to be exact here: http://software.opensuse.org/package/alien
- use alien to convert:
#alien -r spotify-clientxxxxx.deb
- then, install the rpm:
#zypper in spotify-client*.rpm
you will get a libcrypto dependency error, but you can ignore that, choose 2:
Solution 2: break spotify-client-0.9.0.133.gd18ed58.259-2.x86_64 by ignoring some of its dependencies
- typ the following:
ln -s /usr/lib64/libnss3.so /usr/lib64/libnss3.so.1d
ln -s /usr/lib64/libnssutil3.so /usr/lib64/libnssutil3.so.1d
ln -s /usr/lib64/libsmime3.so /usr/lib64/libsmime3.so.1d
ln -s libplc4.so /usr/lib64/libplc4.so.0d
ln -s libnspr4.so /usr/lib64/libnspr4.so.0d
- that should do it. Have fun!
Retrieved from: http://pvdm.xs4all.nl/wiki/index.php/Installing_spotify_on_openSUSE_12.3
If you wish to remove visual ads from the horizontal bar popping up you can add these entries to your host file.
There is no way to remove audial or visual video ads because these runs through audio1.spotify.com and audio2.spotify.com and so on servers.
Its packed in with the audio stream and all other data. So there is no single host that pushes the ads on desktop clients.
On android an IOS its way easier because it runs through 3’rd party servers easy to block with the host file.
If something don’t work perhaps you, we or I can find some solution to what’s not working in my guide and PvdMWiki.
Its also a good backup guide in case spotify-easyrpm will break or go unmaintained.