Announcements

Help Wizard

Step 1

NEXT STEP

New install instructions for Debian/Ubuntu

New install instructions for Debian/Ubuntu

Hello Everyone,

 

I've noticed that apt-key is deprecated and will last be available at Debian 11 and Ubuntu 22.04.

I think it's best that we have new instructions in order to adapt to the changes in the future. If any person from Spotify is able to edit on the official installation page that would be appreciated.

 

Acording to the Debian wiki the keys should be dearmored and placed at /usr/share/keyrings:

 

 

 

 

curl -sS https://download.spotify.com/debian/pubkey_0D811D58.gpg | sudo gpg --dearmor -o /usr/share/keyrings/spotify-archive-keyring.gpg

 

 

 

 

 

Then adding the repository with "signed-by":

 

 

 

 

echo "deb [signed-by=/usr/share/keyrings/spotify-archive-keyring.gpg] http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list

 

 

 

 

And finish off by installing Spotify:

 

 

 

sudo apt-get update && sudo apt-get install spotify-client

 

 

 

 

If you already have Spotify installed then you only need to follow the first step and delete the key with this next step:

 

 

 

sudo apt-key del '8FD3 D9A8 D380 0305 A9FF  F259 D174 2AD6 0D81 1D58'

 

 

 

 

If you have any suggestion please do tell and hopefully the changes are made

 

Reply
2 Replies

 This urgently needs to be added to to he install page.

I would say this needs to be updated to the following

curl -sS https://download.spotify.com/debian/pubkey_5E3C45D7B312C643.gpg | sudo gpg --dearmor -o /usr/share/keyrings/spotify-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/spotify-archive-keyring.gpg] http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt update && sudo apt install spotify-client

but other than that, it needs to be updated soon. There's a reason this was deprecated and it still using the old instructions is disappointing.

Suggested posts