Skip to content

Instantly share code, notes, and snippets.

@olejon
Last active September 17, 2022 08:34
Show Gist options
  • Star 32 You must be signed in to star a gist
  • Fork 8 You must be signed in to fork a gist
  • Save olejon/54473554be2d4dbacd03 to your computer and use it in GitHub Desktop.
Save olejon/54473554be2d4dbacd03 to your computer and use it in GitHub Desktop.
Install Spotify 0.9 on Fedora 64-bit
# NOTES
# Spotify 0.9 vs 1.0 is stable, uses less resources overall and works well with Spotify Connect, SpotCommander, Local Files etc
# Tested and works on Fedora 29 64-bit with GNOME, but should work on previous versions as well
# 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 Fedora 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
dnf upgrade
# Enable necessary repositories
dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
# Update system again
dnf upgrade
# Install necessary packages
dnf install alien gnome-shell-extension-topicons-plus libcanberra-gtk2 libXScrnSaver qt-x11
# 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
wget https://www.dropbox.com/s/zuflwxuo96pj0fs/libcrypto.so.1.0.0 -O /usr/lib64/libcrypto.so.1.0.0 && wget https://www.dropbox.com/s/z42el0umfhd70u1/libssl.so.1.0.0 -O /usr/lib64/libssl.so.1.0.0 && wget https://www.dropbox.com/s/7hduiv6sdpi7ilz/libgcrypt.so.11 -O /usr/lib64/libgcrypt.so.11 && ldconfig
# Local Files support (optional)
# Source: spotify-ffmpeg from https://negativo17.org/repos/spotify/fedora-29/x86_64/
wget https://www.dropbox.com/s/q9f83tmc6e6a7q1/libavcodec.so.53 -O /usr/lib64/libavcodec.so.53 && wget https://www.dropbox.com/s/p6dtnzw9ym2w4d3/libavformat.so.53 -O /usr/lib64/libavformat.so.53 && wget https://www.dropbox.com/s/77fbqev1e9e137a/libavutil.so.51 -O /usr/lib64/libavutil.so.51 && ldconfig
# Download latest and last version 0.9
# You can see here for more about this package: https://github.com/olejon/spotcommander/wiki/DowngradeSpotify#64-bit
wget https://www.dropbox.com/s/hx9t83iz0hjaqe0/spotify-client-0.9.17.deb
# Convert deb package to rpm package
alien -rc spotify-client-0.9.17.deb
# Install rpm package
rpm -i --nodeps --force spotify-client-0.9.17-0.9.17.9-2.x86_64.rpm
# Log out
# Log in
# Spotify should now be in the Applicatons menu
# END GUIDE
@djx2unv
Copy link

djx2unv commented Sep 29, 2017

Worked out again =) Thank you!

@acesso
Copy link

acesso commented Mar 9, 2018

@olejon
Copy link
Author

olejon commented Jan 3, 2019

@acesso @TheDiemer @aelkz @burmanh

  • Some modifications done
  • No more not-working copr repos for specific Fedora versions - it only needs libgcrypt.so.11 anyway, extracted latest from Ubuntu 14.04 LTS Updates Repository (since Ubuntu does not ship it on later versions either like Fedora)
  • Local Files support with one command, extracted the 3 necessary files from spotify-ffmpeg rpm package here
  • Added URL to sources of libraries for those paranoids
  • The deb package has been re-packaged to work perfectly, see here for details which also makes alien now convert the postinst and prerm scripts perfectly, so no need for extra commands to add the icons and to the applications menu
  • Tested and works on Fedora 29 64-bit with GNOME

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment