-
-
Save olejon/c444ac99d7b6625e458f to your computer and use it in GitHub Desktop.
# NOTES | |
# Spotify 0.9 vs 1.0 is stable, uses less resources overall and works well with Spotify Connect, SpotCommander, Local Files etc | |
# The sources of the Dropbox files, which are hosted by me and the latest and greatest available, are listed above each one | |
# No system files will be overwritten by these or used by other programs since they depend on the later openSUSE versions | |
# Make sure you copy the whole lines into Terminal | |
# Each command is on one line and might be long | |
# START GUIDE | |
# Open Terminal and become root | |
sudo -s | |
# Update system | |
zypper ref | |
zypper up | |
# Install necessary packages | |
zypper in libqt4 libqt4-x11 wget | |
# Install necessary libraries | |
# Source: libssl from https://packages.ubuntu.com/trusty-updates/amd64/libssl1.0.0/download | |
# Source: libgcrypt from https://packages.ubuntu.com/trusty-updates/amd64/libgcrypt11/download | |
cd /usr/lib64 | |
wget https://www.dropbox.com/s/zuflwxuo96pj0fs/libcrypto.so.1.0.0 && wget https://www.dropbox.com/s/z42el0umfhd70u1/libssl.so.1.0.0 && wget https://www.dropbox.com/s/7hduiv6sdpi7ilz/libgcrypt.so.11 && ldconfig | |
# Local Files support (optional) | |
# Source: Compiled on openSUSE Leap 15 from https://www.ffmpeg.org/releases/ffmpeg-0.10.16.tar.bz2 | |
cd /usr/lib64 | |
wget https://www.dropbox.com/s/tdr98pwowwxsw9i/libavcodec.so.53 && wget https://www.dropbox.com/s/mews0wcyd4jivtu/libavformat.so.53 && wget https://www.dropbox.com/s/tth0q9lrsc1bfz4/libavutil.so.51 && ldconfig | |
# Download and install latest Spotify version 0.9 | |
# You can see here for more about this package: https://github.com/olejon/spotcommander/wiki/DowngradeSpotify#64-bit | |
cd /opt | |
wget https://www.dropbox.com/s/0rvy9hkmfbnil8v/spotify.tar.bz2 && tar -jxvf spotify.tar.bz2 && rm spotify.tar.bz2 && ln -s /opt/spotify/spotify-client/spotify /usr/bin/spotify | |
# Install icons (long line coming up) | |
xdg-icon-resource install --size 16 /opt/spotify/spotify-client/Icons/spotify-linux-16.png "spotify-client" && xdg-icon-resource install --size 22 /opt/spotify/spotify-client/Icons/spotify-linux-22.png "spotify-client" && xdg-icon-resource install --size 24 /opt/spotify/spotify-client/Icons/spotify-linux-24.png "spotify-client" && xdg-icon-resource install --size 32 /opt/spotify/spotify-client/Icons/spotify-linux-32.png "spotify-client" && xdg-icon-resource install --size 48 /opt/spotify/spotify-client/Icons/spotify-linux-48.png "spotify-client" && xdg-icon-resource install --size 64 /opt/spotify/spotify-client/Icons/spotify-linux-64.png "spotify-client" && xdg-icon-resource install --size 128 /opt/spotify/spotify-client/Icons/spotify-linux-128.png "spotify-client" && xdg-icon-resource install --size 256 /opt/spotify/spotify-client/Icons/spotify-linux-256.png "spotify-client" && xdg-icon-resource install --size 512 /opt/spotify/spotify-client/Icons/spotify-linux-512.png "spotify-client" | |
# Add Spotify to the Applications menu | |
cp -p /opt/spotify/spotify-client/spotify.desktop /usr/share/applications/ | |
# Log out | |
# Log in | |
# Spotify should now be in the Applicatons menu | |
# END GUIDE |
Great!!!
Thanks
Amazing, thanks!
thanks, also work on openSUSE Leap 42.2 Beta
Thanks!
It also works on Suse Leap 42.2 . Great ! It is a pity that there is not an easier way, but this works with a bit of patience.
Many thanks! :)
for openSUSE Leap 15.0 not working
I have tested the newly added section to the guide and it works on openSUSE Leap 15.
@binghong15 @bvpainter @mauricionr @aryulianto @jirislav @caelansimeone @maykondeykon @torgge @rifkiaz
Local Files support is here! Compiled FFmpeg 0.10.16
which when compiled with the shared libraries flag, you get the standalone files libavcodec.so.53
, libavformat.so.53
and libavutil.so.51
(plus a lot more), exactly those Spotify needs.
Just do:
cd /usr/lib64
wget https://www.dropbox.com/s/tdr98pwowwxsw9i/libavcodec.so.53
wget https://www.dropbox.com/s/mews0wcyd4jivtu/libavformat.so.53
wget https://www.dropbox.com/s/tth0q9lrsc1bfz4/libavutil.so.51
ldconfig
- Confirmed working on openSUSE Leap 15, although the dialog to add Local Files crashes in Plasma, but works fine in GNOME
- I think I compiled for MP3s only, it is late and won't go back to my VM to see
- Will add AAC if it does not work and is desired - in that case tag me in a comment here and tell me so
Oke Thanks, it's working on openSUSE Leap 15.1 with GNOME
Great 👍
Very Nice!