Spotify is one of the most popular music streaming sites that you can play different kind of music.
Browser is not the only option that you can use when it comes to listening music on Spotify on your Linux distro.
Spotify has an official app that you can run on any Linux Distro.
In this tutorial, you will learn how to install Spotify on Debian 12 "Bookworm".
Install Spotify on Debian 12
There are multiple ways to install Spotify on Debian 12. However, in this tutorial, we are going to use terminal as it's one of the fastest way to do this.
To install Spotify, launch your terminal and run the command below.
flatpak install flathub com.spotify.Client
Next, you will see the following prompt. You need to type sudo password in this window, and then press enter to install Spotify
Launch Spotify on Debian 12
Once you have installed Spotify on your system, you can now launch it, and start using it to play your favorite music.
Spotify can be launched via two ways. You can launch Spotify via the terminal, or simply from the Applications Menu.
Launch Spotify via terminal
If you are fan of terminal commands, you can launch Spotify via one simple command.
flatpak run com.spotify.Client
Launch Spotify via Applications Menu
If you are not that familiar with terminal or commands, then I'd recommend you launch Spotify from the Applications Menu.
Play Spotify Music
Now, you are one click away from listening to your favorite songs on Spotify. As you may know already, you can play music without being logged in on Spotify when using browser.
However, on app you need to be logged in to access songs.
So, first you must login into your account. Click to "Login"
Once you click to "Login" button, you will see the following window.
Next, your browser will take you to Spotify web. Proceed to login by entering your email and password
Once you are logged in, Click to "Continue to the APP"
And you should be able to play music through Spotify App now
Uninstall Spotify on Debian 12
If you want to remove Spotify from your system, you can easily do so by running the command below on your terminal.
flatpak uninstall com.spotify.Client
Next, confirm that you want to remove Spotify
After confirming, you need to Authenticate, enter sudo password on this prompt and then press enter to proceed uninstalling Spotify
And you should see "Uninstall complete" output on your terminal. This means that Spotify has been successfully removed from your system
In this tutorial, you learned how to install and uninstall Spotify with Flatpak on Debian 12.