Please note, there is a more up to date article for newer versions of Fedora here. The article also includes a tutorial video.

 

If you love your music whilst hacking away on your computer I am sure you have tried Spotify!

Screenshot from 2014-09-17 20:42:03

Installing it doesn’t have to be a hard task and it’s even easier thanks to Slaanesh over at http://www.negativo17.org

He has kindly repackaged the latest Spotify client from the Ubuntu packages to work with Fedora and the like.

Current Supported Distributions

Fedora 19 – x86_64
Fedora 20 – x86_64
Fedora 21 – x86_64
RHEL/CentOS 7 – x86_64

 

To Install –  [alert-note]You must be root![/alert-note]

Firstly we need to add the repository that Slaanesh has created for all his packages.

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

Then install the client

yum -y install spotify-client

Once it’s installed hit your super key and start typing spotify! Happy Listening!

Screenshot from 2014-09-17 20:37:59

It’s worth also checking our Slaanesh’s other packages as there might be something else you need! http://negativo17.org

 


James Smith

Security Researcher, Penetration Tester & Linux Advocate

20 Comments

Oscar · September 17, 2014 at 8:14 pm

I simply go to http://play.spotify.com and that’s all

    smittix · September 17, 2014 at 8:17 pm

    Hi oscar thanks for the comment. Indeed you can use the web player but some users may prefer the client. I don’t use the web player though, can you have offline playlists with the web version?

      Oscar · September 18, 2014 at 2:20 pm

      No

        smittix · September 18, 2014 at 2:22 pm

        Ah, that’s one reason why I’d personally install the client then.

Ta Thanh Dinh · September 20, 2014 at 1:50 am

Dear James Smith, thank you for this package.
Unfortunately, I cannot install it on Fedora 21. It returns the error: nothing provides libgcrypt.so.11()(64bit) needed by spotify-client-0.9.11.27.g2b1a638.81-1.fc21.x86_64
Would you mind reconsider the package?.

jaydoubleyou · October 16, 2014 at 2:19 pm

I tried to install this and got the error http://negativo17.org/repos/spotify/fedora-7/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 – Not Found
This is because /etc/yum.repos.d/fedora-spotify.repo looks for FEDORA followed by the current version number so it’s looking for Fedora 7… changing ‘Fedora’ in the repo file to ‘epel’ you can then install Spotify.

    ParisCycleGeek · January 9, 2015 at 10:08 am

    Thanks for this tip… worked for me (CentOS Linux release 7.0.1406)

    and thanks smittix for the repo.

    关振东 · October 13, 2015 at 5:02 am

    Thanks, it worked!

Thomas Faddegon · October 28, 2014 at 11:42 am

For people who don’t want the negativo17 repo try the spotify chrome plugin 😉

Mark van der Coer · October 30, 2014 at 12:57 pm

THX!! works like a charm

Emerson Yamamoto · January 6, 2015 at 3:31 am

Muito obrigado, do Brasil!

Romanet · June 9, 2015 at 3:55 pm

i can’t install.
Please help 🙁
Error downloading packages:
libgcrypt1.5.4-1.5.4-2.fc21.x86_64: [Errno 256] No more mirrors to try.

Coyote Ehecatl · June 21, 2015 at 10:58 pm

Hi smittix, thank you for your post. I can install it on fedora 20. Regards.

ISeeSheeple · June 29, 2015 at 4:05 am

It’s not working. I’m using a fresh install of Fedora 20. Can anybody see what the problem is here? I have pasted the output of my terminal below:

[root@localhost sephiroth]# yum-config-manager –add-repo=http://negativo17.org/repos/fedora-spotify.repo

Loaded plugins: langpacks, refresh-packagekit

Traceback (most recent call last):

File “/usr/bin/yum-config-manager”, line 169, in

repos = yb.repos.listEnabled()

File “/usr/lib/python2.7/site-packages/yum/__init__.py”, line 1046, in

repos = property(fget=lambda self: self._getRepos(),

File “/usr/lib/python2.7/site-packages/yum/__init__.py”, line 686, in _getRepos

self.getReposFromConfig()

File “/usr/lib/python2.7/site-packages/yum/__init__.py”, line 565, in getReposFromConfig

self.getReposFromConfigFile(repofn, repo_age=thisrepo_age)

File “/usr/lib/python2.7/site-packages/yum/__init__.py”, line 460, in getReposFromConfigFile

raise Errors.ConfigError(exception2msg(e))

yum.Errors.ConfigError: File contains no section headers.

file: file://///etc/yum.repos.d/fedora-spotify.repo, line: 1

‘window.location=”http://search.frontier.com/search/?q=”+escape(window.location)+”&r=”+escape(document.referrer)+”&t=0″;’

[root@localhost sephiroth]# yum -y install spotify-client

Loaded plugins: langpacks, refresh-packagekit

File contains no section headers.

file: file://///etc/yum.repos.d/fedora-spotify.repo, line: 1

‘window.location=”http://search.frontier.com/search/?q=”+escape(window.location)+”&r=”+escape(document.referrer)+”&t=0″;’

s4n_ · August 3, 2015 at 6:56 pm

Thank you for the release 🙂 Works well on F21.

Edwin Noordman · August 30, 2015 at 8:16 pm

Thanks! works perfect on Centos 7

Milton · September 12, 2015 at 10:19 am

what about dnf software manager of fedora 22?

thanks

    smittix · September 14, 2015 at 9:38 pm

    There is an updated article for newer installations.

    Arnaud Janssens · September 19, 2015 at 9:58 pm

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

    You may use tab to complete the last one.

Leave a Reply

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

%d bloggers like this: