

Now, run the cURL command and the echo command given below to add the key to your Linux system.Įcho "deb stable non-free" | sudo tee /etc/apt//spotify.listįinally, run the following aptitude command given below with root access to install Spotify on your Ubuntu system. First, run the following commands given below to install the cURL tool on your system.

To install Spotify on Ubuntu via the aptitude commands, you need to add the Spotify public key to your system’s repository. Method 1: Install Spotify on Ubuntu via APT There are both Snap, Apt, and GUI methods available for installing Spotify on a Debian/Ubuntu Linux system. Installing Spotify on a Debian-based distribution is easy. In this post, we will see how to install and use Spotify on a Linux system. As Spotify is written in Python, Java, and C++, so installing and using Spotify in any Linux system is hassle-free and straightforward. It is available for Debian, Arch, Red Hat, and other Linux distributions. Spotify officially provides a package for only Debian and Ubuntu systems, but developers have built versions of Spotify for other Linux distributions. If you need to listen to audio in a more individual way, it also offers you the use of the built-in equalizer to adjust the sound effect. I hope this helps and you are able to listen to Spotify while you are running Linux.Spotify is interesting to use because it supports offline listening, and you can also watch Spotify videos and radio.

If you want to check first, you can run sudo apt-key list | lessĪnd look for the Spotify key. If the key was installed already, it won't change anything, and if it was not installed it should fix your error. It won't hurt anything to simply run that command. Take a look at the "Debian / Ubuntu" section on paying particular attention to the following line: curl -sS | sudo apt-key add. The error appears to indicate that you do not have the GPG key for the Spotify repository installed. If running snaps on your Kali isn't going to happen, it would be helpful to have the output in English rather than French, but I'll take a stab at it the best I can anyway. Ignoring that it is probably the wrong distribution on which to install the Spotify app, I would encourage the use of the snap over the Debian repository, but it will require you to get snapd running on your Kali installation first. It's meant to be used as a pen test and network security tool. Kali isn't intended as a workstation or desktop distribution.

