Spotify is a popular, cross-platform digital music, podcast, and video streaming service that gives access to more than 100 million tracks and other content from artists all over the world. It also allows you to browse by parameters such as artist, album, or genre and can create, edit, and share playlists.
It is a freemium service meaning basic services are totally free, while additional features are offered via paid subscriptions. It runs on most modern devices, including Linux, Windows, and macOS, computers, Android, Windows Phone, and iOS smartphones as well as tablets.
Attention: Spotify is a third-party software source not officially affiliated with or endorsed by the Fedora Project. Importantly, the developers of Spotify currently do not actively support the Linux platform. Therefore, your experience may differ from the other Spotify Desktop clients, such as Windows and Mac.
In this article, we will explain three different ways to install Spotify in the Fedora Linux distribution.
Table of Contents
Installing Spotify using Snap in Fedora
Spotify can be installed from the command line with a snap, as this is the officially recommended distribution method for Spotify. You need to have the snapd package installed on your system to continue, otherwise, run the following command to install it:
$ sudo dnf install snapd $ sudo ln -s /var/lib/snapd/snap /snap
Now that you have snapd installed, you can install Spotify by running the following command.
$ snap install spotify
Installing Spotify via RPM Fusion Repository in Fedora
RPM Fusion is a third-party software repository, that provides add-on packages for the Fedora Linux distribution.
To install and enable the RPM Fusion repository on the Fedora system use the following commands.
$ sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \ https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
Then install Spotify using the following commands.
$ sudo dnf install lpf-spotify-client $ lpf approve spotify-client $ sudo -u pkg-build lpf build spotify-client $ sudo dnf install /var/lib/lpf/rpms/spotify-client/spotify-client-*.rpm
Installing Spotify using Flatpak in Fedora
Flatpak is another new packaging framework that provides easy installation of many Linux applications on Fedora.
To install and enable Flatpak on the Fedora system use the following commands.
$ sudo dnf install -y flatpak
Then install Spotify using Flatpak by running.
$ sudo flatpak install -y --from https://flathub.org/repo/appstream/com.spotify.Client.flatpakref
Once you have it installed, you can run Spotify with the following command.
$ flatpak run com.spotify.Client
Once you have installed it, reboot the system (especially if you installed using snap) and search for “spotify” in the Activities search facility and open it.
Spotify is a cross-platform freemium audio streaming service that gives access to millions of songs. If you have any questions or comments to share, do via the feedback form below.