The time has gone when people have to store their favorite music on SD card or CD/DVD discs, in today’s era when everything moving to the cloud then why not our music. There are a bunch of well-known services that allow users to legally stream the latest and old music directly on their smartphone, TV, or PC with help of a dedicated app or browser and internet. And Spotify is one of them. It is already a well-known music streaming service. And if you are looking for a way to install Spotify Linux app on your RedHat RHEL or its derivative Linux OS such as CentOS, AlmaLinux, and Rocky Linux 8.3. Then here are the steps to follow.
Here are the steps to install Spotify App on Rocky Linux 8, RHEL, AlmaLinux, or CentOS 8/7.
Although here we are using Rocky Linux 8.3, the steps will be the same for other Redhat-based Linux systems as well.
Enable EPEL
Spotify for Linux operating system apart from Ubuntu or Debian is available via Snapcraft repository. And to install the app from this repo we first need to have snapd on our system. That’s why we have to enable EPEL, if you have not already then can follow the below command-
sudo dnf install epel-release
Run system update
To rebuild the system’s repository cache and update the installed packages run the system update command-
sudo dnf update
Install Snapd
Now, run the below command to not only install Snapd but also enable and start its daemon on your Rocky or other similar RHEL based Linux systems.
sudo yum install snapd sudo systemctl enable --now snapd.socket sudo systemctl start snapd.socket sudo ln -s /var/lib/snapd/snap /snap
Download and install Spotify on Rocky Linux or CentOS 8
Once the Snap has been installed, we can install Spotify on our Linux using just a single command that is-
sudo snap install spotify
Run Spotify Music streaming app on Linux
Go to All Applications and search for the installed Spotify Linux app. When its icon appears, click to run the same.