How to install Spotify on Fedora 17 64bit

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/4mi31ngl7v38iq6/spotify-client-0.8.3.278.g21c7566.632-2.x86_64.rpm. This file has been converted from Ubuntu’s deb format to Fedora’s rpm format. If you would like to convert the package yourself you can download the latest Spotify version from http://repository.spotify.com/pool/non-free/s/spotify/ and convert it with the alien -r command (easiest done on Ubuntu).

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)).

 

22 thoughts on “How to install Spotify on Fedora 17 64bit

  1. 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

    1. 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.

  2. 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’

  3. 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 ;)

  4. 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?

    1. 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

  5. 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

  6. Well, I get this error:
    package spotify-client-0.8.3.278.g21c7566.632-2.x86_64 is intended for a different architecture
    Any ideas?

    1. The package above is 64 bit but you are probably running the 32 bit version of Fedora. I am afraid you will have to find another package then, this one won’t work for you.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>