How to install Spotify on CentOS 9 Stream?

Long gone are the days when we had to buy music albums to listen to our favorite artists. Now, there is Spotify, which is a service where with an account you can listen to many commercial music albums. Sounds good? Well, today you will learn how to install Spotify on CentOS 9 Stream.

What is Spotify?

Spotify is a digital music service that is emerging as the most popular and widely used in the world. It has an impressive catalog, and it is very unlikely that you will not find your favorite artists.

Yes, on Spotify you will find millions of songs and podcast episodes. So, whatever you’re doing, you’ll always be able to listen to music because it has clients for almost any device.

Spotify is supported on Windows, Linux, macOS, Android, iOS and more. Therefore, you will be able to install it on Linux without too much trouble.

Install Spotify on CentOS 9 Stream

Spotify is not present in the official CentOS 9 Stream repositories, but it is present in two very popular stores (or repositories) such as Snapcraft and Flathub. Both are linked to Snap and Flatpak.

Installing Spotify on CentOS 9 Stream using Snap

Before installing Spotify, you must install Snap

Snap is not included in CentOS 9 Stream, but you can install it without too much trouble.

First, update the system completely

sudo dnf update

Then, enable the EPEL repository with these two commands

sudo dnf config-manager --set-enabled crb
sudo dnf install epel-release epel-next-release epel-next-release

Finally, check if it was added

sudo dnf repolist

Then, if so, install snap

sudo dnf install snapd

Create the necessary symbolic link and start the service

sudo ln -s /var/lib/snapd/snapd/snap/ /snap
sudo systemctl enable --now snapd.socket

Then install the core package

sudo snap install core

And then, install Spotify

sudo snap install spotify

Now you can run it from the main menu.

Getting Spotify with Flatpak

With Flatpak, the process is a bit easier because this technology is built into CentOS 9.

So, in the terminal, run this command to install Flatpak

sudo dnf install flatpak

Now add the Flathub repository where the program is located

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

And now install Spotify:

flatpak install flathub com.spotify.Client

Finally, run it from the main menu.

Spotify on CentOS 9 Stream
Spotify on CentOS 9 Stream

Uninstall Spotify on CentOS 9

If you installed it using Snap

sudo snap remove spotify

But in the case of Flatpak, you can run

flatpak uninstall flathub com.spotify.Client

This way, you will have no trace of Spotify on the system.

Conclusion

For many users, Spotify is vital because it provides access to music and podcast with various plans to suit you. So installing Spotify on a system like CentOS 9 is a must.

I hope you liked this post and can share this post.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top