Monday, April 28, 2014

Easy When You Know How: Install Spotify under Linux openSUSE 13.1

This is an automatic installer for the Spotify desktop client for Linux, which circumvents the redistribution restrictions on the client by:
- downloading the .deb from
- installing required dependencies
- building an rpm
- installing the rpm
The process is intended to be as user-friendly as possible.
Binary package:

This appears in the packman repository, but you have to build links:

ln -s /usr/lib64/ /usr/lib64/
ln -s /usr/lib64/ /usr/lib64/
ln -s /usr/lib64/ /usr/lib64/
ln -s /usr/lib64/ /usr/lib64/
ln -s /usr/lib64/ /usr/lib64/
ln -s /usr/lib64/ /usr/lib64/
ln -s /usr/lib64/ /usr/lib64/

Now it works.

The process is one of:

1. installing the RPM

2. Running the above link creation commands as root

3. Repetively running as user:


(NO closing Ampersand, or you won't see the error messages!!)

to which you may receive a number of replies such as:

     andy@tm2t> spotify
     spotify: error while loading shared libraries: cannot open shared      object file: No such file or directory

which simply means you've gotten the link wrong. 

You can do ls to confirm that the required /usr/lib64/ exists, it just needs to be represented as
 where yyy is some other arcane suffix than you can derive from the complaint above, e.g., 0.9.8

In this case exists quite happily, but spotify is looking for

So making the links makes it happy quite handily and in very short order.

Easy when you know how.

No comments: