Installing Spotify on Fedora 16 64bit

Currently Spotify only provides Debian / Ubuntu packages but it’s also possible to install it in Fedora 16. Please note that you need a Spotify Unlimited or Premium account to use the Spotifiy for Linux client.

1. Install the needed libraries.

sudo yum install qt-mobility qtwebkit

2. Create two symbolic links so that Spotify will find the right libraries.

sudo ln -s /usr/lib64/libssl.so.10 /usr/lib64/libssl.so.0.9.8
sudo ln -s /lib64/libcrypto.so.10 /usr/lib64/libcrypto.so.0.9.8

3. Next download Spotify. You can download a package that has been converted from Debian to Fedora here: http://dl.dropbox.com/u/6310099/spotify-client-qt-0.6.1.309.gb871a7d-2.x86_64.rpm (provided by meltingrobot on www.fedoraforum.org)
If you rather want to convert the package yourself, e.g. for security reasons, you can find instructions on how to do so at http://forums.fedoraforum.org/showthread.php?t=270230

4. Install Spotify

sudo rpm -ivh --nodeps spotify-client-qt-0.6.1.309.gb871a7d-2.x86_64.rpm

Spotify is now installed and you can run it via Applications > Sound & Video > Spotify or by typing spotify in the command line.

Update
If Spotify crashes when you start it try deleting the file ~/.cache/spotify/offline.bnk.

rm ~/.cache/spotify/offline.bnk

 

17 thoughts on “Installing Spotify on Fedora 16 64bit

  1. Thanks, this worked a treat. Although, I found that libssl.so.1.0.0e has now changed to libssl.so.1.0.0f so you may need to update the symbolic link.

  2. I used to have this working fine on fedora 15, but now spotify always closes after about 5-30 seconds, even if I delete the .cache/spotify folder. The last time I had it running, it was up for maybe 30 seconds, and I was adjusting the order of my playlists, then i got another prompt for accept license agreement, and then it shut down. Not sure what’s going on here, but maybe this will help someone figure it out.

  3. Found that the ~/.cache/spotify/offline.bnk file kept getting recreated while using spotify.

    I found a solution to be:
    1. delete the original file.
    2. touch ~/.cache/spotify/offline.bnk
    3. chmod 111 ~/.cache/spotify/offline.bnk

    The chmod is probably not nessicary, could just create the file and make sure your the only user that can edit it.

  4. I followed these instructions and I am getting this error:

    spotify: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory

    If anyone could help me, that would be great. I’m relatively new to Fedora.

    1. It sounds like there is something wrong with the symbolic link (so with the command sudo ln -s /usr/lib64/libssl.so.1.0.0g /usr/lib64/libssl.so.0.9.8) which should link libssl.so.0.9.8 (the filename that Spotify expects) to the correct Fedora file name.

      You can type ls -l /usr/lib64/libssl.so.1.0.0* to see which version you have or try typing sudo ln -s /usr/lib64/libssl.so.1.0.0 and then press the tab key twice to autocomplete the file name or see available files that start with ibssl.so.1.0.0.

  5. Pretty cool. Thank you.
    I had to change
    sudo ln -s /usr/lib64/libssl.so.1.0.0g /usr/lib64/libssl.so.0.9.8
    to
    sudo ln -s /usr/lib64/libssl.so.1.0.0h /usr/lib64/libssl.so.0.9.8
    (replace g with h at the end of the ssl-file)
    to make it work.
    Works great.

    1. These steps indeed won’t work for Fedora 17. Please search this site for Spotify, there is an updated tutorial available.

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>