spotify-linux

A number of you have emailed me saying that you cannot get Spotify running on your Fedora Workstation 22 installation, so I decided to create a quick post and video on how I get it running on my favorite operating system.

 

Here’s the video, I have also written up all of the commands used and any other information to help you install Spotify. This was installed on a fresh Fedora 22 installation with RPM Fusion enabled on the system.

 

 

As you can see by the video, it’s quick and easy and just works.

Prerequisites.

Please make sure your system is up to date and that the RPMFusion Repos have been enabled on your system, if you do not know how to do this then please see this post.

 

Adding the Spotify repository.

Thanks to Slanesh he has created a Spotify repository so we can easily install the package.

Open up a terminal and su into root. Then type the following

dnf config-manager --add-repo=http://negativo17.org/repos/fedora-spotify.repo

Then go for the installation by doing the following (still as root)

# dnf install spotify-client

Ok, now what?

Now all you need to do is go to your dash and start typing Spotify and it should be there, click – run and enjoy.

Hope this helps some of you that have been emailing me.


James Smith

Security Researcher, Penetration Tester & Linux Advocate

33 Comments

SC · July 11, 2015 at 2:00 pm

Great guide. Thank you. Question- my Spotify runs full screen on startup. Any way to get it to fit into a normal window? It keeps popping itself back up too after alt-tabbing out of it.

    Smittix · July 21, 2015 at 11:16 am

    Hmm, I have not come across this, I will have to have a look and see what I can do.

      SC · July 23, 2015 at 9:35 pm

      1366×768 resolution is my guess. A shameful resolution but otherwise that laptop is great so I keep it around. I suppose I wouldn’t worry about it unless you want it to be available on that size. Moreover, Fedora itself doesn’t always behave nicely with that resolution in regards to dialog boxes, etc.

        David Auer · September 14, 2015 at 8:58 pm

        I have the same problem on my 24″ screen but not on my laptop so that can’t be the issue. Were you able to fix it in the meantime, SC?

          SC · September 14, 2015 at 11:13 pm

          Nope. I just went back to Clementine with the plugin.

          Alex Berry · July 6, 2016 at 2:28 pm

          Yep, this is a bug that may eventually get fixed, but probably not.

          The fix is to delete ~/.config/spotify/window_position.prefs

          Here’s a little script to make it easier for you:

          #!/bin/bash
          pkill spotify
          rm ~/.config/spotify/window_position.prefs > /dev/null 2>&1

          while true
          do
          pgrep spotify > /dev/null
          if [ $? -eq 1 ]
          then
          break
          else
          sleep 1
          fi
          done

          nohup spotify > /dev/null 2>&1 &

Ernesto Gutierrez · July 11, 2015 at 10:11 pm

Great guide, works like a charm!

    Smittix · July 21, 2015 at 11:15 am

    Thanks Ernesto, It’s always nice to hear peoples views.

Marcel · July 22, 2015 at 7:40 am

Awesome! Thanks!

Gilbert · July 28, 2015 at 5:27 am

thanks¡¡ so much , perfect :3

grandted · July 31, 2015 at 4:13 pm

Works great!
Thanks 🙂

Alex “Wellness” Wellnitz · August 11, 2015 at 2:23 pm

Works great!
Thanks alot! <3

William Yielding · August 19, 2015 at 3:51 am

I got this?
Error: nothing provides ffmpeg-libs needed by spotify-client-1.0.11.131.gf4d47cb0-1.fc22.x86_64

(try to add ‘–allowerasing’ to command line to replace conflicting packages)

Hélio Pereira · August 24, 2015 at 10:26 pm

Thank you so much!

Krzysiek Setlak · September 19, 2015 at 7:36 am

There isnt’s a i386 version, is there?

Heysen Molina · October 12, 2015 at 10:33 pm

Thanks!!! :3

Jaime Tanori · November 27, 2015 at 4:28 pm

Pretty freaking cool.

aristoteles · February 5, 2016 at 8:48 pm

Tks!

andrea cammarata · July 26, 2016 at 6:45 pm

Works in Fedora 24 (32bit), thanks!

Pyro · November 17, 2016 at 3:27 pm

Can’t log in on Fedora24 🙁 Credentials are correct, what could be the problem? Error-Code 412 – Username or password is incorrect (it is correct for sure)

Morgan · December 30, 2016 at 10:48 pm

Is this still supposed to be working on Fedora 25? I followed the guide and Spotify installs. However, when I open the app and enter my credentials and click login, it crashes.

eduardo · January 10, 2017 at 1:52 pm

same here in fedora 25 crashed.

linux-rl · February 25, 2017 at 12:38 pm

yep, doesn’t work in FEDORA 25: error messages after starting up:

spotify: /usr/lib/spotify-client/libssl.so.1.0.0: no version information available (required by spotify)
spotify: /usr/lib/spotify-client/libcrypto.so.1.0.0: no version information available (required by spotify)
spotify: /lib/libcurl.so.4: no version information available (required by spotify)
Gtk-Message: Failed to load module “canberra-gtk-module”
/usr/lib/spotify-client/spotify: /usr/lib/spotify-client/libssl.so.1.0.0: no version information available (required by /usr/lib/spotify-client/spotify)
/usr/lib/spotify-client/spotify: /usr/lib/spotify-client/libcrypto.so.1.0.0: no version information available (required by /usr/lib/spotify-client/spotify)
/usr/lib/spotify-client/spotify: /lib/libcurl.so.4: no version information available (required by /usr/lib/spotify-client/spotify)
[0225/133800:ERROR:main_delegate.cc(752)] Could not load cef_extensions.pak

Seems there is a lot missing to get it running.

Links 13/7/2015: Linux 4.2 and Kodi 15.0 Release Candidate 2 | Techrights · July 13, 2015 at 2:17 pm

[…] Fedora 22 – Quick & Easy Install of Spotify […]

Como instalar o Spotify no Fedora e derivados · December 17, 2015 at 12:43 pm

[…] Via Smittix […]

Spotify no Fedora e derivados - veja como instalar · January 11, 2016 at 10:29 pm

[…] Via Smittix […]

Setting up my Fedora workstation | RKODE · March 1, 2016 at 4:40 am

[…] less likely to be used and I rely pretty heavily on it, during and outside the workday. Using these set of instructions which state a requirement of RPM Fusion as installable here. These are for Fedora 20 & […]

Pitanga Cyber · June 23, 2016 at 9:29 pm

[…] https://smittix.co.uk […]

Instalar Spotify en Fedora 25 – Markens in tha house · December 19, 2016 at 8:55 pm

[…] Fuente […]

Leave a Reply to Hélio Pereira Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: