[HOW TO] Spotify 0.x and 1.x on Mageia 6

This forum is dedicated to testing early releases and cauldron : Howtos, tips, tricks and user global feedback and thoughts...

Helpful tip :
For bugs tracking we use : https://bugs.mageia.org = The Mageia Bug Tracker
In this bug tracker you'll find already reported bugs and you'll be able to report those you have found....

[HOW TO] Spotify 0.x and 1.x on Mageia 6

Postby morgano » May 1st, '16, 15:13

For Spotify 1.x see next post

[HOW TO] install old Spotify 0.x (only 64 bit) on Mageia 6

As usual, Spotify 0.x can be installed using Leamas script, see notes in bottom of this post.
If you upgraded your system you probably need not reinstall.

HOWEVER Spotify (at least 0.9.x) need an old version of a lib; it need libgcrypt.so.11 (package lib64gcrypt11) that Mageia 6 do not have.
Like recent fedora and other distros, Cauldron (at least as of yet) but instead have libgcrypt.so.20 (package lib64gcrypt20)

First i tried simply linking like this
Code: Select all
§ su -
# cd ‎/usr/lib64
# ln -s libgcrypt.so.20 libgcrypt.so.11
but that did not work; starting Spotify from terminal it say:
Code: Select all
/lib64/libgcrypt.so.11: version `GCRYPT_1.2' not found (required by /home/kajsa/.local/lib/spotify-client/libcef.so)
So I undid that again.

Then i simply grabbed that file from my mga5 install and put it in mga6, and it just works
More precisely on a current mga5, /usr/lib64/libgcrypt.so.11 is a softlink to /usr/lib64/libgcrypt.so.11.8.3, which i copied and put in my mga6 as /usr/lib64/libgcrypt.so.11, making sure to have the correct ownership root:root and chmod 755.

Notes:
§ The system tray icon do not work properly, but that is still the state of several tray icons here...
§ Probably better to build/rebuild libgcrypt.so.11 for mga6 - this above is a "quick fix"
§ All above is for 64 bit system. 32 bits 0.x version was long ago. But 1.x exist for 32 bit, see below.
§ Spotify "offifcially" did not support Linux, but they release .deb packages for Debian and Ubuntu
§ I installed it using https://github.com/leamas/spotify-make which install these in Fedora, OpenSuse, Mageia...
Using Leamas-Spotify still today 2016-09-29 convert and install the old but golden spotify-client-0.9.17_0.9.17.8.gd06432d.31-1_amd64.deb
Backup location 0.9.17.8: http://repository.spotify.com/pool/non-free/s/spotify/ (64 bit only)
§ Possible another installer in case leamas fail in future: https://github.com/aspiers/opensuse-spotify-installer/
Last edited by morgano on Jun 30th, '16, 01:17, edited 4 times in total.
Mandriva since 2006, Mageia 2011 at home & work. Thinkpad T40, T43, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1306
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

HOW TO install current Spotify 1.x (test on Mageia 6 64bit)

Postby morgano » Jun 29th, '16, 23:56

§ Spotify Linux client is moving forward again: https://community.spotify.com/t5/Help-D ... -p/1300404
§ Spotify 1.x exist in both 64 and 32 bit versions, in http://repository.spotify.com/pool/non- ... fy-client/ but like before only .deb packages
§ A community issue tracking effort including tips on getting it working.
https://community.spotify.com/t5/Help-D ... -p/1192307

HOW TO install current Spotify 1.x:
1. From http://repository.spotify.com/pool/non- ... fy-client/ , retrieve a version for 32 or 64 bit depending on your arch ( I used spotify-client_1.0.32.96.g3c8a06e6-37_amd64.deb . I *guess* the latest version there is "testing" and the elder "stable".)
2. Made rpm of it using # alien -rv spotify-client_1.*
3. Installed it using # rpm -i --nodeps spotify-client*.rpm
4. start it using $ spotify (normal user) in terminal, so you can see output. (Yes there are much errors also when it runs OK. *IF* it dont work maybe you can see why. I e you may need to install the package libatomic1)
5. If it runs OK, close it and make shortcut :)

COMMENTS

a) I first had spotify 0.9.17 installed and running OK by leamas script as per post above.
This spotify 1.x then recognised all settings from that old version.

b) At 3 above i first tried
Code: Select all
# LC_ALL=C rpm -i *.rpm
error: Failed dependencies:
        libcrypto.so.1.0.0(OPENSSL_1.0.0)(64bit) is needed by spotify-client-1.0.32.96.g3c8a06e6-38.x86_64
        libcurl.so.4(CURL_OPENSSL_3)(64bit) is needed by spotify-client-1.0.32.96.g3c8a06e6-38.x86_64
        libssl.so.1.0.0(OPENSSL_1.0.0)(64bit) is needed by spotify-client-1.0.32.96.g3c8a06e6-38.x86_64

But we have all those *.so.* files, (in core packages lib64openssl1.0.0 and lib64curl4 installed by default)
- but it seem to think the parts like "(OPENSSL_1.0.0)(64bit)" are part of filenames ( bug of alien ? )

c) per this instruction Spotify is installed for all users (except program shortcut)

d) (the old .so file needed for old 0.x Spotifiy in first post in this thread is not needed for 1.x)
Last edited by morgano on Jun 23rd, '18, 23:59, edited 6 times in total.
Mandriva since 2006, Mageia 2011 at home & work. Thinkpad T40, T43, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1306
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Odd Spotify notes

Postby morgano » Jun 30th, '16, 01:05

See links to forum etc in posts above

In case the player fouls up
One common trick is to clear cache ( rm -rf $HOME/.cache/spotify/Storage )

Web player
If everything else fails, there is now a web based player https://play.spotify.com/ - not as snappy as the native client of course.

Start link, Icon
spotify.desktop file is in /usr/share/spotify/
Icons are in /usr/share/spotify/icons
Last edited by morgano on Mar 12th, '18, 15:18, edited 1 time in total.
Mandriva since 2006, Mageia 2011 at home & work. Thinkpad T40, T43, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1306
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: [HOW TO] Spotify 0.x and 1.x on Mageia 6

Postby pete910 » Nov 19th, '16, 23:57

This has made my Daughter and Son happy, Thus making my like better ;)
User avatar
pete910
 
Posts: 357
Joined: Jan 8th, '12, 18:53

Re: [HOW TO] Spotify 0.x and 1.x on Mageia 6

Postby morgano » Sep 8th, '17, 13:38

Updated info
Web player
is not working any more on several Linux systems. Not on my Mageia 6 in Chromium nor Firefox even when browser identifýing as Edge as some hint say. May be Flash related, viewtopic.php?f=7&t=11763 . If any get it working please update here.

The native player
seem to have lib incompatibility on Mageia 7 (Now Cauldron). https://github.com/leamas/spotify-make/issues/55 May be solved similar to in top post above.
Mandriva since 2006, Mageia 2011 at home & work. Thinkpad T40, T43, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1306
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: [HOW TO] Spotify 0.x and 1.x on Mageia 6

Postby pedro » Nov 17th, '17, 17:08

I just installed mageia 6, and found your post on how to install Spotify.
Im following the second post "HOW TO install current Spotify 1.x:"
I downloaded "spotify-client_1.0.64.407.g9bd02c2d-26_amd64.deb", but I dont seem to have Alien on my system. How do I make a .rpm from the .deb?
pedro
 
Posts: 69
Joined: Jun 13th, '14, 09:46

Re: [HOW TO] Spotify 0.x and 1.x on Mageia 6

Postby pedro » Nov 17th, '17, 17:18

Sorry! Just found out I had "Only packages with GUI" activated in the package installer :)
pedro
 
Posts: 69
Joined: Jun 13th, '14, 09:46

Re: [HOW TO] Spotify 0.x and 1.x on Mageia 6

Postby pedro » Nov 17th, '17, 18:26

Works fine!

First when installing I got this, but after installing the lobatomic packages from the repo it works.
$ spotify
spotify: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory

--
pedro
 
Posts: 69
Joined: Jun 13th, '14, 09:46

Re: [HOW TO] Spotify 0.x and 1.x on Mageia 6

Postby pedro » Nov 17th, '17, 18:27

Thank you for sharing this tutorial!
pedro
 
Posts: 69
Joined: Jun 13th, '14, 09:46

Re: [HOW TO] Spotify 0.x and 1.x on Mageia 6

Postby ozky » Nov 25th, '17, 14:18

Spotify is available as flatpak too to Mageia 6 and Cauldron.
https://flathub.org/apps.html
Install flatpak from Mageia repos first and then give this command as user to terminal,no any hacks are needed only one command.
Code: Select all
flatpak install --user --from https://flathub.org/repo/appstream/com.spotify.Client.flatpakref
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: [HOW TO] Spotify 0.x and 1.x on Mageia 6

Postby pedro » Nov 26th, '17, 22:52

ozky wrote:Spotify is available as flatpak too to Mageia 6 and Cauldron.
https://flathub.org/apps.html
Install flatpak from Mageia repos first and then give this command as user to terminal,no any hacks are needed only one command.
Code: Select all
flatpak install --user --from https://flathub.org/repo/appstream/com.spotify.Client.flatpakref


I tried this and it works!

Start Spotify with the command:
Code: Select all
flatpak run com.spotify.Client
pedro
 
Posts: 69
Joined: Jun 13th, '14, 09:46

Re: [HOW TO] Spotify 0.x and 1.x on Mageia 6

Postby ozky » Nov 27th, '17, 12:51

You don't need to start it from terminal flatpak add desktop menu entry,but i noticed it will need logout and login then you can start it from menu.
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: [HOW TO] Spotify 0.x and 1.x on Mageia 6

Postby pedro » Nov 27th, '17, 21:54

ozky wrote:You don't need to start it from terminal flatpak add desktop menu entry,but i noticed it will need logout and login then you can start it from menu.


Yes I did that :)
pedro
 
Posts: 69
Joined: Jun 13th, '14, 09:46

Re: [HOW TO] Spotify 0.x and 1.x on Mageia 6

Postby morgano » Nov 28th, '17, 14:38

Thank you for the updates on this subject :)
It is nice that there is flatpack now.
Mandriva since 2006, Mageia 2011 at home & work. Thinkpad T40, T43, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1306
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: [HOW TO] Spotify 0.x and 1.x on Mageia 6

Postby ozky » Nov 28th, '17, 23:53

You are welcome. :)
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland


Return to Testing : Alpha, Beta, RC and Cauldron

Who is online

Users browsing this forum: No registered users and 1 guest

cron