30 C
Texas
angeloma
Senior Writer and partner

Install Spotify on Debian 11

Hello, friends. For people who like music, one of the first things we do when we first install any Linux distribution is to install Spotify. So, in this post, I will show you how to do it in two fairly simple ways.

Spotify is an online music service that allows us through a monthly fee to enjoy the huge catalog it has. It has applications for almost all operating systems including our beloved Debian 11 And I’m not kidding when I say that this is one of the first things many of us do when installing a new distribution.

Spotify’s clean Spotify application is quite good. It allows us to browse through the entire application catalog quickly and easily. Also, we can play music, add favorites, and do everything that the web version allows us.

Oh, in case I forgot, with Spotify, we will also have at our disposal many podcasts of all possible topics. So let’s go for it.

Install Spotify on Debian 11

- Advertisement -

For Debian 11 we have several installation methods that we can take advantage of. One of them is through APT. For this, we add the Spotify repository and from there the installation.

On the other hand, we have the Flatpak package that allows us to isolate it from the system and this method not only works for Debian 11 but any distribution.

Let’s start.

Installing Spotify using the repository

In this process, we need to add the repository to our system. To do this, open a terminal and first update Debian

sudo apt update
sudo apt upgrade

Now download and add the GPG key from the repository to the system.

curl -sS https://download.spotify.com/debian/pubkey_0D811D58.gpg | sudo apt-key add -

Next, add the Spotify repository to the system

echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list

Now, refresh APT

sudo apt update

And install Spotify by running:

sudo apt install spotify-client

After the installation is finished you can run it from the main menu.

1.- Install Spotify on Debian 11
1.- Install Spotify on Debian 11

Install Spotify on Debian 11 via Flatpak

The second method is to use the super reliable Flatpak. So, first, install it on the system

sudo apt install flatpak

Now add the Flathub repository which is where the Spotify package is hosted.

sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

And then install Spotify

sudo flatpak install flathub com.spotify.Client

Finally, run it from the main menu.

Conclusion

In this post, you learned how to install Spotify on Debian 11. This way you can now have it on your system and enjoy the service.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article