How to Install Spotify on Rocky Linux 8

Install Spotify on Rocky Linux 8

In this article, we will have explained the necessary steps to install Spotify on Rocky Linux 8. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Spotify is one of the world’s largest music streaming service providers. It has native clients for both mobile (Android and iOS) and desktop (Mac and Windows) devices. There are no advertisements on Premium customers, clear audio quality with (up to 320kbit/s) and allow users to download the files (audio & video) but for Free customers (160kbit/s) with advertisement enabled.

Install Spotify on Rocky Linux 8

Step 1. First, before you start installing any package on your Rocky Linux server, we always recommend making sure that all system packages are updated.

sudo dnf install epel-release
sudo dnf update
sudo dnf upgrade

Step 2. Install Spotify on the Rocky Linux system.

Installing Spotify on your Rocky Linux system is straightforward, we will enable Snap packages manager on our local system:

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

Finally, install Spotify using the following command below:

sudo snap install spotify

Step 3. Launch Spotify on Rocky Linux.

Once Spotify is completely installed, you can launch in search bar search for ‘Spotify’ and click on the icon to launch it. Alternatively, start Spotify from the command line:


You can log in with your account or create one and start listening to your favorite music.

That’s all you need to do to install Spotify on Rocky Linux 8. I hope you find this quick tip helpful. For further reading on Spotify streaming music apps, please refer to their official knowledge base. If you have questions or suggestions, feel free to leave a comment below.