Tag Archives: red hat enterprise linux

How-To : Update Spotify on RHEL6 x64 native client

See the post for how to install spotify on a Linux Client (RHEL 6 x64 in my case).

This post is for how to upgrade.

2012-02-01: Updated, added –nodeps to the rpm upgrade.
2013-01-08: This has been confirmed to work with spotify-0.8.8, updated typo in symlink part.

Why? http://repository.spotify.com/pool/non-free/s/spotify/spotify-client-qt_0.6.1.309.gb871a7d-1_amd64.deb is out!

Is available. Maybe right-click works?? =)

  1. Get the .deb into a place where you can run the program ‘alien’. I have ubuntu in a virtual machine so fired that up, downloaded the .deb
  2. sudo alien –to-rpm spotify-client-qt_0.6.1.309.gb871a7d-1_amd64.deb
  3. e-mailed spotify-client-qt-0.6.1.309.gb871a7d-2.x86_64.rpm to myself
  4. save the .rpm, close spotify,  and hit:
  5. sudo rpm -Uvh spotify-client-qt-0.6.1.309.gb871a7d-2.x86_64.rpm
  6. this failed, it needed

error: Failed dependencies:
libcrypto.so.0.9.8()(64bit) is needed by spotify-client-qt-0.6.1.309.gb871a7d-2.x86_64
libcrypto.so.0.9.8(OPENSSL_0.9.8)(64bit) is needed by spotify-client-qt-0.6.1.309.gb871a7d-2.x86_64
libssl.so.0.9.8()(64bit) is needed by spotify-client-qt-0.6.1.309.gb871a7d-2.x86_64
libssl.so.0.9.8(OPENSSL_0.9.8)(64bit) is needed by spotify-client-qt-0.6.1.309.gb871a7d-2.x86_64

A forum post with some more details about this.

whereis spotify ldd /usr/bin/spotify gives me: libssl.so.10 0> /usr/lib64/libssl.so.10 libcrypto.so.10 0> /usr/lib64/libcrypto.so.10


hit:


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

If still no go, some advise to rename/delete ~/.config/spotify and ~/.cache/spotify

If neither of the above still works, run

 

rpm -Uvh --nodeps spotify-client-qt-0.6.6.10.gbd39032.58-2.x86_64.rpm

It’s now possible to right-click on playlists! Also to click on ‘File’ works! Woop!

Right-click on artist worked a few times. Then after a while it stopped working. AGREGHA!!#45

(still crashes with Spotify 0.6.6.10)

I would guess that the problem lies with qt or webkit.

Sharing works though. It sucks a bit to not be able to add files to playlists. But clicking the star works so you can find the songs you don’t want to forget in there.
Scrobble/last.fm also works. Cannot select top list for another country.

How-To : Install Spotify on RHEL6 x64 native client

Hey!

You need premium for RHEL6 native client to work.

If you get it to work with WINE it would work for free (as a plus you get it with the very annoying ads).

My machine is a RHEL 6 64-bit.

The only requirement I had was that I did not have libQtWebKit.so.4 installed.

This was fixed with:

sudo yum install qtwebkit-2.0-3.el6.x86_64.rpm

I found this package online.
It’s needed because the spotify-install wants libQtWebKit.so.4 – this may be available in some other package available from within the red hat repositories but I couldn’t find it. If you know how/where that would be great to know :)

I have qt 4.6.2-19 but adding the WebKit in this way hasn’t caused any issues (yet).

You’ll probably need other qt-stuff installed too (I did an ldd /usr/bin/spotify after install and what it wants you can find in this file: spotify ). There’s a lot of them in there but libQtGui.so.4 , libQtCore.so.4 , libQtWebKit.so.4 , libQtDBus.so.4 , libQtNetwork.so.4 , libQtXml.so.4 are the libQt* ones.

To find which qt packages you have installed in a Red Hat based system hit:
sudo yum list ‘*qt*’

Download the spotify-client, I used spotify-client-qt_0.5.2.84.g6d797eb-1_amd64.deb. You can get the latest one via http://repository.spotify.com/pool/non-free/s/spotify/

As spotify doesn’t release an rpm anymore – you need to convert the debian .deb to rpm like this:

sudo alien –to-rpm spotify-client-qt_0.5.2.84.g6d797eb-1_amd64.deb

Then install spotify like this:
sudo yum install spotify-client-qt-0.5.rpm

Run spotify (just hit spotify in the terminal) and log in!

Worked without changing any sound settings or anything like that!
The volume control inside spotify controls the master volume, so be ware  and don’t let it blow your ears out!

Happy musicing!

p.s.

I also tried to install spotify on a shell with WINE and load spotify with X11-forwarding enabled on the shell. Spotify loads and lets me log in but right after login it crashes for some reason.

HP Virtual Room Installation on RHEL 6 x64

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1478734

I couldn’t get it to work.

Eventually I installed Ubuntu 10.04 LTS in a VM in Virtualbox and in there it worked.

However, resolution is only 800×600. So I found this page: 

http://forums.virtualbox.org/viewtopic.php?t=15679

 

That told me to install some stuff and then install the Guest Addition stuff. After that and a reboot HP Vroom no longer worked. But resolution was fine! Grah. Then I just used the “Live CD” of Ubuntu instead, or the normal .iso but no need to install, just boot from it.