Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save s1rc0/c021fd598a7e11d9b0b735a0e2fd2cc1 to your computer and use it in GitHub Desktop.
Save s1rc0/c021fd598a7e11d9b0b735a0e2fd2cc1 to your computer and use it in GitHub Desktop.
Install Spotify stable (v 0.9.17) on Fedora 23 64-bit
# START GUIDE
# 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
# Install RPM Fusion repositories and Spotify repository
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 config-manager --add-repo=http://negativo17.org/repos/fedora-spotify.repo
# Update system again
dnf upgrade
# Install necessary packages
dnf repository-packages fedora-spotify install compat-libgcrypt compat-libgcrypt compat-libgcrypt-devel compat-libgcrypt-devel
dnf install ffmpeg-libs fribidi lame-libs libXScrnSaver libass libva opencv-core openjpeg-libs schroedinger soxr x264-libs x265-libs xvidcore alien
# Download Spotify stable (v 0.9.17)
wget http://repository-origin.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://dl.dropboxusercontent.com/u/8593574/Spotify/Fedora/libcrypto.so.1.0.0 -O /usr/lib64/libcrypto.so.1.0.0
wget https://dl.dropboxusercontent.com/u/8593574/Spotify/Fedora/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