LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-18-2012, 04:52 AM   #1
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: Slackware64 15.0 running i3
Posts: 494

Rep: Reputation: 174Reputation: 174
Install Spotify for Linux on Slackware 13.37


There are new debs available at:

http://repository.spotify.com/pool/non-free/s/spotify/

(dated 26 Mar 2012)

Being on Slackware64 I used spotify-client_0.8.2.639.g79d339d.504-1_amd64.deb.

First we create a Slackware package from this and install it.

mkdir -p work/pkg
cd work
ar -x /path/to/spotify-client_0.8.2.639.g79d339d.504-1_amd64.deb
cd pkg
tar xvf ../data.tar.gz
Then, as root, you run makepkg in the work/pkg directory:
makepkg -l y -c n /tmp/spotify-client_0.8.2.txz

then cd /tmp as root and

installpkg spotify-client_0.8.2.txz

Next we need a few symbolic links, for these you need to make sure you have the seamonkey-solibs package installed. (I had 2.8 already from doing a full install. If you haven't got it, it's in the 'l' directory):

ln -s /usr/lib64/seamonkey-2.8/libnss3.so /usr/lib64/libnss3.so.1d
ln -s /usr/lib64/seamonkey-2.8/libnssutil3.so /usr/lib64/libnssutil3.so.1d
ln -s /usr/lib64/seamonkey-2.8/libsmime3.so /usr/lib64/libsmime3.so.1d
ln -s /usr/lib64/seamonkey-2.8/libplc4.so /usr/lib64/libplc4.so.0d
ln -s /usr/lib64/seamonkey-2.8/libnspr4.so /usr/lib64/libnspr4.so.0d

(I assume, as I haven't tried, that if you are not on Slackware64 then you can simply replace 'lib64' with a plain 'lib' in the above).

We now need GCONf which is available at Slackbuilds.org (and ORBit2 as a dependency, also available on Slackbuilds):

http://slackbuilds.org/repository/13...raries/ORBit2/
http://slackbuilds.org/repository/13...braries/GConf/

and that should be it.

A quick

$ spotify

in a terminal and you're good to go.
 
Old 04-18-2012, 09:28 AM   #2
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 411

Rep: Reputation: 181Reputation: 181
Thank you! It works quite well.

It always angers me, that closed source maintainers always try to force you to use Ewbuntu.
 
Old 04-18-2012, 11:10 AM   #3
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Rep: Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276
Quote:
Originally Posted by schmatzler View Post
...Ewbuntu.
Good one! Like it! Thanks.
 
Old 04-18-2012, 11:19 AM   #4
prpcl
LQ Newbie
 
Registered: Apr 2012
Location: Chile
Distribution: Slackware
Posts: 3

Rep: Reputation: Disabled
Woow! Great job rkfb!
 
Old 04-19-2012, 11:37 AM   #5
TheShadowFog
LQ Newbie
 
Registered: Oct 2011
Location: nope
Distribution: Slackware 13.37
Posts: 7
Blog Entries: 1

Rep: Reputation: 0
Nice! Deff trying this out!

EDIT: I can verify this works on 32bit systems.

But it sometimes crashes with this error:
Code:
third_party/tcmalloc/chromium/src/free_list.cc:115] Memory corruption detected.
zsh: abort      spotify

Last edited by TheShadowFog; 04-19-2012 at 02:18 PM.
 
Old 04-20-2012, 10:28 AM   #6
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: Slackware64 15.0 running i3
Posts: 494

Original Poster
Rep: Reputation: 174Reputation: 174
Quote:
Originally Posted by TheShadowFog View Post
Nice! Deff trying this out!

EDIT: I can verify this works on 32bit systems.

But it sometimes crashes with this error:
Code:
third_party/tcmalloc/chromium/src/free_list.cc:115] Memory corruption detected.
zsh: abort      spotify
I've not had it crash at all but I have had trouble with the window not quite staying in place on the screen, it seems to be in a slightly different place every time I revisit the desktop it's on (even with dimensions/position set). And it doesn't seem to want to maximise. But that maybe something to do with fluxbox. On KDE it maximises but doesn't restore very well.
 
Old 06-23-2012, 11:39 AM   #7
houzi
LQ Newbie
 
Registered: Jun 2012
Posts: 10

Rep: Reputation: Disabled
From erik @ #slackware :
Code:
ln -s /usr/lib64/seamonkey-2.8/libnss3.so /usr/lib64/libnss3.so.1d
should be:

Code:
ln -s /usr/lib64/seamonkey/libnss3.so /usr/lib64/libnss3.so.1d
and so forth for the rest of the symlinks..

That way, dependencies will not brake when seamonkey is upgraded - which has happened to me twice in the last month..

## edit: added handle to the person in #slackware who contributed with this.

Last edited by houzi; 06-23-2012 at 11:48 AM.
 
1 members found this post helpful.
Old 06-24-2012, 03:01 AM   #8
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: Slackware64 15.0 running i3
Posts: 494

Original Poster
Rep: Reputation: 174Reputation: 174
Quote:
Originally Posted by houzi View Post
From erik @ #slackware :
Code:
ln -s /usr/lib64/seamonkey-2.8/libnss3.so /usr/lib64/libnss3.so.1d
should be:

Code:
ln -s /usr/lib64/seamonkey/libnss3.so /usr/lib64/libnss3.so.1d
and so forth for the rest of the symlinks..

That way, dependencies will not brake when seamonkey is upgraded - which has happened to me twice in the last month..

## edit: added handle to the person in #slackware who contributed with this.
Thank you for that houzi, there doesn't seem to be any way to change it I'm afraid, I thought there would be an edit button but there isn't.
 
1 members found this post helpful.
Old 07-03-2012, 12:14 PM   #9
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: Slackware64 15.0 running i3
Posts: 494

Original Poster
Rep: Reputation: 174Reputation: 174
If anyone's getting segmentation faults with Spotify starting up lately I'm not sure that there's a fix for it just yet but it does seem to be resolved if you delete your .cache/spotify directory before you run 'spotify'.

I've found it easier for now to start the application from a script:

Code:
#!/bin/bash
# Spotify: fix segmentation fault on startup

rm -fr ~/.cache/spotify
spotify

exit 0;
hth,
 
Old 03-28-2013, 08:10 PM   #10
KaMii
LQ Newbie
 
Registered: Jul 2010
Distribution: Gentoo, openSUSE, Slackware
Posts: 8

Rep: Reputation: 0
Local files will not play

Has anyone been-able to get local files to play? I compiled and installed ffmpeg thinking that would provide the correct libavcodecs but still not able to get local files to play.
 
Old 12-12-2013, 09:34 PM   #11
Munra
LQ Newbie
 
Registered: Mar 2008
Location: Colombia
Distribution: slackware64 14
Posts: 27

Rep: Reputation: 1
Hello:

I just want to say that I am using:
Code:
spotify-0.9.4.183.g644e24e.428-x86_64-1_SBo
and the thing compiles without problems, and start without problems, but (yes, always is one 'but') the thing do not show anything in the sections: "Discover" , "Follow, "Messages", and other ones, but I make what was suggested in the first post (just the symbolic links, cause Slackware 14.1 comes with GCONF and I do not install Orbit but is working) and fix everything.

Thanks, I hope this post is not useless.

Last edited by Munra; 12-12-2013 at 09:39 PM. Reason: Grammar
 
Old 05-12-2019, 01:03 PM   #12
waynelloydsmith
Member
 
Registered: Feb 2012
Location: Canada
Distribution: Slackware15
Posts: 78

Rep: Reputation: Disabled
install Spotify on Slackware 14.2+

I'm using slackware 14.2+
below text is from my ~/Lessons/spotify.txt installation log file.
May 12 2019
http://repository.spotify.com/pool/n...31-1_amd64.deb
downloaded to ~/Downloads
I used deb2tgz .Results are in ~/Downloads/work
Slackware package /home/wayne/Downloads/work/spotify-client-0.9.17_0.9.17.8.gd06432d.31-1_amd64.tgz created.
bash-5.0$ sudo /sbin/installpkg spotify-client-0.9.17_0.9.17.8.gd06432d.31-1_amd64.tgz
installpkg spotify-client_0.8.2.txz

sudo ln -s /usr/lib64/seamonkey/libnss3.so /usr/lib64/libnss3.so.1d
sudo ln -s /usr/lib64/seamonkey/libnssutil3.so /usr/lib64/libnssutil3.so.1d
sudo ln -s /usr/lib64/seamonkey/libsmime3.so /usr/lib64/libsmime3.so.1d
sudo ln -s /usr/lib64/seamonkey/libplc4.so /usr/lib64/libplc4.so.0d
sudo ln -s /usr/lib64/seamonkey/libnspr4.so /usr/lib64/libnspr4.so.0d

http://slackbuilds.org/repository/13...raries/ORBit2/ .. used sbopkg to install this
http://slackbuilds.org/repository/13...braries/GConf/ .. already installed

bash-5.0$ spotify
spotify: error while loading shared libraries: libgcrypt.so.11: cannot open shared object file: No such file or directory
used sbopkg to install libgcrypt

seems to work fine except for not playing my local files.
 
1 members found this post helpful.
Old 05-12-2019, 07:28 PM   #13
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
I don't understand, why bump a seven year old solved topic with a post on how to install Spotify on -current, and version 0.9.17 as well?

For -current, I personally use the binary of 1.0.59 from Slackonly [which is also out of date, but at least it's less out of date].

Last edited by Lysander666; 05-12-2019 at 07:46 PM.
 
Old 05-13-2019, 01:47 AM   #14
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
FWIW I updated it to (the little less out of date) 1.0.89 in the unofficial repo for current as a one-time-only thing (reasons are in the git commit message).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Spotify on Slackware rkfb Slackware 3 01-29-2012 10:46 AM
Spotify for linux binary? protolocke Linux - Software 1 08-06-2011 06:43 PM
Spotify for Linux davebrazier Linux - Newbie 7 04-05-2011 09:26 AM
Spotify in Linux a13x06 Linux - Newbie 4 02-22-2010 05:39 PM
What do they mean with install of Spotify on Jolicloud Linux? nooby Linux - Distributions 0 01-13-2010 06:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration