Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save piotrgrundas/65299be5a4e6fd3f42b54ad819292be0 to your computer and use it in GitHub Desktop.
Save piotrgrundas/65299be5a4e6fd3f42b54ad819292be0 to your computer and use it in GitHub Desktop.
Install Spotify (v 0.9.17) on Fedora 64-bit
# START GUIDE
# Remember to read the comments if you have problems
# I can assure you that the Dropbox files belong to me and are extracted from official Ubuntu packages
# Make sure you copy the whole lines into Terminal. Each command is on one line.
# Open Terminal and become root
sudo -s
# Update system
dnf upgrade
# Enable necessary repositories
wget http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
wget http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
dnf install rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
dnf copr enable red/libgcrypt.so.11
# Update system again
dnf upgrade
# Install necessary packages
dnf install alien compat-libgcrypt ffmpeg-libs fribidi lame-libs libass libva libXScrnSaver opencv-core openjpeg-libs schroedinger soxr x264-libs x265-libs xvidcore
# Download latest Spotify version 0.9
wget http://repository.spotify.com/pool/non-free/s/spotify/spotify-client-0.9.17_0.9.17.8.gd06432d.31-1_amd64.deb
# Convert deb package to rpm package
alien -r spotify-client-0.9.17_0.9.17.8.gd06432d.31-1_amd64.deb
# Install rpm package
rpm -i --nodeps --force spotify-client-0.9.17-0.9.17.8.gd06432d.31-2.x86_64.rpm
# Install necessary libraries
wget https://www.dropbox.com/s/ekgbtu8rupo0ofy/libcrypto.so.1.0.0 -O /usr/lib64/libcrypto.so.1.0.0
wget https://www.dropbox.com/s/2lj4jbfnbdifdu8/libssl.so.1.0.0 -O /usr/lib64/libssl.so.1.0.0
ldconfig
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment