A while ago Spotify (the streaming music service) came out with a preview for Linux of their client.
So what should I do?
A while ago Spotify (the streaming music service) came out with a preview for Linux of their client.
So what should I do?
I installed it yesterday fine. The error you're getting is it's trying to get the source version (which doesn't exist). Just edit your sources using: sudoedit /etc/apt/sources.list
And make sure you've got something like this:
deb http://repository.spotify.com stable non-free
# deb-src http://repository.spotify.com stable non-free
The second (deb-src
) line is commented. Make sure yours is and then run a sudo apt-get update
. You shouldn't get any errors.
Make sure the key is installed (doesn't sound like your problem):
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D2C19886
And then install it:
sudo apt-get install spotify-client-qt spotify-client-gnome-support
/etc/apt/sources.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4E9CFF4E
as in the official instructions. (The gpg commands didn't work for me; apparently wwwkeys.de.pgp.net didn't respond.)
Sure thing, i'm listening to it as i write this! Define this source for Apt
deb http://repository.spotify.com stable non-free
Then your usual apt update routine (GUI tools like Software Center do this for you), and install the packages spotify-client-qt and spotify-client-gnome-support. Sometimes it's a little buggy and eats loads of CPU, or doesn't draw it's main window at startup, but in general it works great.
There has been several mentions of Spotify over at OMG Ubuntu.
To install the Spotify snap package in all currently supported versions of Ubuntu, open the terminal and type:
sudo snap install spotify
Choice of three audio streaming quality options.
Browse hundreds of ready-made playlists in every genre and mood
This should help you obtain the Spotify Linux preview:
http://www.spotify.com/uk/download/previews/
However, If I remember correctly the Linux preview doesn't actually do much and doesn't actually function. Spotify currently recommends you install the Windows version through Wine:
This documentation from Spotify should help you:
http://www.spotify.com/uk/help/faq/wine/
Good luck.
If you are still having trouble, what I ended up doing that worked was removing all instances in my software and sources of spotify repositories. From there I just re-added the repository by clicking add and then typing in deb http://repository.spotify.com stable non-free
.
I refreshed the window, opened up terminal, typed
sudo apt-get update
sudo apt-get install spotify-client
and everything worked just fine
You can also install the very latest Spotify version from the testing
PPA :
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D2C19886
echo deb http://repository.spotify.com testing non-free | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt-get update
sudo apt-get install spotify-client
i have just installed Spotify on my machine sucessfully.
# 1. Add the Spotify repository signing keys to be able to verify downloaded packages
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90
# 2. Add the Spotify repository
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
# 3. Update list of available packages
sudo apt-get update
# 4. Install Spotify
sudo apt-get install spotify-client
Spotify official Documentation here
GPG error: http://repository.spotify.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D1742AD60D811D58
As of 2021, this does not work.