Spotify only provides an installer for Ubuntu on their website but you can also run it on Fedora with these extra steps.
1. Download the Spotify rpm package from https://www.dropbox.com/s/
2, Install all needed libraries
sudo yum install qtwebkit libpng-compat
Spotify expects different file names for some libraries, so create all of the following symbolic links.
sudo ln -s /usr/lib64/libcrypto.so.10 /usr/lib64/libcrypto.so.0.9.8 sudo ln -s /usr/lib64/libssl.so.10 /usr/lib64/libssl.so.0.9.8 sudo ln -s /usr/lib64/libnss3.so /usr/lib64/libnss3.so.1d sudo ln -s /usr/lib64/libnssutil3.so /usr/lib64/libnssutil3.so.1d sudo ln -s /usr/lib64/libsmime3.so /usr/lib64/libsmime3.so.1d sudo ln -s /usr/lib64/libplc4.so /usr/lib64/libplc4.so.0d sudo ln -s /usr/lib64/libnspr4.so /usr/lib64/libnspr4.so.0d
3. Install Spotify
sudo rpm -ivh --nodeps spotify-client-0.8.3.278.g21c7566.632-2.x86_64.rpm
4. You can now run Spotify by typing spotify in the command line or by going to Applications > Sound & Video > Spotify (The Spotify icon might only appear after you restarted the Gnome Shell (Press Alt-F2 then type restart and press return)).
Thanks. Works great. Note:
# ln -s /usr/lib64/libpng15.so.15 /usr/lib64/libpng12.so.0
ln: failed to create symbolic link `/usr/lib64/libpng12.so.0′: File exists
Thank you for noticing! I first tried to link to the default version of libpng which did not work and forgot to remove this line. The tutorial has been updated.
Converted it in Fedora by installing alien. Steps needed:
$ sudo yum install git perl-ExtUtils-MakeMaker rpm-build perl
$ cd /tmp
$ git clone git://git.kitenet.net/alien
$ cd alien
$ su -c ‘perl Makefile.PL; make; make install’
and then
$ su -c ‘alien –to-rpm spotify*.deb’
if you don’t want to install an rpm downloaded from dropbox, you can also get the deb from spotify’s server, and convert it with alien or copy the necessary files manually from the archives:
http://pastebin.com/jpYypBkM
Thanks a lot. I’m a new user of fedora.
Thanks, this worked perfectly!
Thanks, that’s worked perfect first go!
Worked perfectly. Thanks!
Should be mentioned, or at least for me, before executing the last line in the tutorial, I had to change directories to where the file was downloaded.
In this case, it was cd Downloads
After that, the last line of the tutorial worked!
Us noobs eventually figure it out
Was stuck in just that same spot! Thanks =)
Nice, works great!
almost to easy to install… didn’t get that linux-feeling but thanks man!
I’m having trouble with this. I had to also…
# ln -s /usr/lib64/libpng15.so.15 /usr/lib64/libpng12.so.0
… but spotify still won’t start. It quits with the following errors:
spotify: /lib64/libcrypto.so.0.9.8: no version information available (required by spotify)
spotify: /lib64/libssl.so.0.9.8: no version information available (required by spotify)
spotify: /lib64/libpng15.so.15: version `PNG12_0′ not found (required by /usr/share/spotify/libcef.so)
Any ideas?
You should remove the symlink ln -s /usr/lib64/libpng15.so.15 /usr/lib64/libpng12.so.0 again, Spotify needs another version of the library. Then install libpng-compat
Thanks, works like a charm!
Great tutorial. Worked flawlessly. Was up an running within a few minutes of finding this howto!
worked like a charm!
It works!
It work!! Thank you very much
Ma sei un grandeeeee!!!! Funziona veramente tutto alla perfezione e al primo colpo.. mi ero gia rassegnato ma invece grazie a te in 2 minuti ho fatto tutto!!!
Grazieeeeeeeee