Spotify is a free music streaming service that offers additional premium content at a minimal subscription fee. It’s a widely successful music service with several million users and millions of songs at your fingertips. With Spotify, you can listen to your favorite artists, the latest hits, exclusives, and new discoveries on the go. Spotify is available on Windows, macOS, Linux (Debian), along with Android, iOS, and Windows Phone smartphones and tablets.
We will learn in this article how to install Spotify on the latest version of Ubuntu, Mint, and Fedora.
Install Spotify on Ubuntu/Mint
You can install Spotify on Ubuntu or Mint using the snap store and official repository.
Using Snap store
To install Spotify from the Snap store first you have to update your system and install snapd package.
$ sudo apt update $ sudo apt install snapd -y
Now, you can install Spotify using the following command:
$ sudo snap install spotify
You can find it installed at /snap/bin/spotify.
To manually update the Spotify package, run:
$ sudo snap refresh spotify
Using official repository
To install Spotify from the official repository, first, you need to import the signing key and add the repository.
$ wget -O- https://download.spotify.com/debian/pubkey.gpg | sudo apt-key add -
$ sudo add-apt-repository "deb http://repository.spotify.com stable non-free"
Now, using apt install Spotify, type:
$ sudo apt install spotify-client
The snap binary would be located at/usr/bin/spotify.
Once installed you can run Spotify using the following command in the terminal:
$ spotify

Install Spotify on Fedora
You can install Spotify on Fedora using the official repository and from the snap store.
Using Snap store
To install Spotify from the Snap store first you have to update your system and install snapd package.
$ sudo dnf update -y && sudo dnf install snapd -y
Now, you can install Spotify using the following command,
$ sudo snap install spotify
Once installed you can run Spotify using the following command in the terminal,
$ spotify
Using Flatpak,
You can also use Flatpak repository to install Spotify. To do this first install flatpak in your fedora system.
$ sudo dnf install flatpak -y
Now install Spotify using flatpak command,
$ sudo flatpak install -y --from https://flathub.org/repo/appstream/com.spotify.Client.flatpakref
Once it is installed you can run it just by typing,
$ sudo flatpak run com.spotify.client
Check Spotify version
To check the Spotify version run the following command,
$ spotify --version

How to Uninstall Spotify on Linux
If you have installed from snap store, remove using the following command:
$ sudo snap remove spotify
Similarly, if you have installed it from its official repository ( in Ubuntu and Mint ) remove it using:
$ sudo apt remove spotify-client
If you have installed it from flatpak, run the following command to uninstall.
$ sudo flatpak uninstall com.spotify.client
Conclusion
It’s worth trying out ncspot and Tizonia which lets stream music from Spotify via terminal.
In this tutorial, we learned how to install Spotify in three different Linux distribution. You can enjoy streaming your music.