Spotify Installation - Kali Linux / Debian

Complete installation guide for Spotify on Kali Linux and Debian-based systems.

Step 1: Add the Spotify GPG Key

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

Step 2: Add Spotify Repository

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

Step 3: Update Package Lists

Refresh your package database to include Spotify packages:

sudo apt update

Step 4: Install Spotify Client

Install the official Spotify desktop application:

sudo apt install -y spotify-client

Step 5: Launch Spotify

Run Spotify from the terminal:

spotify

Or find it in your application menu under Sound & Video or Multimedia.

Quick One-Liner

Complete Installation (Copy & Paste)

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

Troubleshooting

GPG Key Errors

If you see "NO_PUBKEY" errors, re-run Step 1 to refresh the GPG key.

Spotify occasionally rotates their signing keys.

Missing Dependencies

If Spotify fails to start, try installing missing libraries:

sudo apt install -y libavcodec-extra libavformat-extra

Verify Installation

Check that Spotify is installed correctly:

which spotify

Check version:

spotify --version

Uninstall Spotify

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

Reference

File Locations

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/

Official Resources

https://www.spotify.com/download/linux/