Complete installation guide for Spotify on Kali Linux and Debian-based systems.
Download and add Spotify's signing key to verify packages:
curl -sS https://download.spotify.com/debian/pubkey_C85668DF69375001.gpg | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg
Add the official Spotify repository to your sources list:
echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
Refresh your package database to include Spotify packages:
sudo apt update
Install the official Spotify desktop application:
sudo apt install -y spotify-client
Run Spotify from the terminal:
spotify
Or find it in your application menu under Sound & Video or Multimedia.
Run all steps at once:
curl -sS https://download.spotify.com/debian/pubkey_C85668DF69375001.gpg | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg && echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list && sudo apt update && sudo apt install -y spotify-client
If you see "NO_PUBKEY" errors, re-run Step 1 to refresh the GPG key.
Spotify occasionally rotates their signing keys.
If Spotify fails to start, try installing missing libraries:
sudo apt install -y libavcodec-extra libavformat-extra
Check that Spotify is installed correctly:
which spotify
Check version:
spotify --version
To remove Spotify from your system:
sudo apt remove spotify-client
To also remove the repository:
sudo rm /etc/apt/sources.list.d/spotify.list
| Executable | /usr/bin/spotify |
| Repository | /etc/apt/sources.list.d/spotify.list |
| GPG Key | /etc/apt/trusted.gpg.d/spotify.gpg |
| User Config | ~/.config/spotify/ |
| Cache | ~/.cache/spotify/ |