Spotify is a popular audio and video streaming service used by millions of people. Spotify is available for download on smartphones, tablets, and desktops for Windows, Mac, and Linux. Though Spotify works in Linux, this application is not actively supported, as it is on Windows and Mac. You can also enjoy Spotify on wearable gadgets. For example, if you have a Samsung smartwatch, you can listen to and control Spotify using the watch only. You need only install the app on your smartphone from the Play Store to start listening to tracks on Spotify.

The free version of the application provides access to limited audio streaming services with advertisements. The premium service offers many features, including the ability to download media, ad-free browsing, better sound quality, and more. There are also other plans offered to specific individuals and groups. Spotify also supports various devices, such as Wireless Speakers, Wearables, Smart TVs, and Streamers.

This guide shows you how to install Spotify in Fedora Linux using three different methods of installation.

Method 1: Install Fedora Using the Fedora Snap Repository

Snap is the easiest way to install Spotify and many other popular Linux applications. Snap applications are packaged with all the required dependencies. In Linux, you can simply search for and install the application from the Snap Store.

First, install Snap in Fedora. To do so, open the terminal by hitting the shortcut Ctrl Alt T and issue the following command:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/02/echo/image1-19.png" data-lazy- height="587" src="data:image/svg xml,” width=”1438″>

To verify whether the Snap’s path has been properly updated, either log out and log in again or restart the system.

Next, create a symbolic link to enable classic support, as shown below:

$ sudo ln -s /var/lib/snapd/snap /snap

Now that Snap has been installed on your system, install Spotify with the following command:

This process is shown below:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/02/echo/image3-16.png" data-lazy- height="246" src="data:image/svg xml,” width=”1239″>

If you obtain the following error after entering the command above, simply log in and log out:

error: too early for operation, device not yet seeded or device model not acknowledged.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/02/echo/image2-18.png" data-lazy- height="319" src="data:image/svg xml,” width=”1439″>

Then, reboot your system and run the following command again:

And that is all! Now, you can see how it is easy to use Snap to install Spotify.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/02/echo/image5-14.png" data-lazy- height="267" src="data:image/svg xml,” width=”1438″>

You can launch Spotify from the system menu or directly from the terminal.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/02/echo/image4-16.png" data-lazy- height="806" src="data:image/svg xml,” width=”920″>

If you want to remove the Spotify application, issue the following command to uninstall Spotify if it was installed from the Snap store:

# snap remove spotify –purge

Method 2: Install Spotify Using the Fedora RPM Fusion Repository

RPM Fusion provides software for Fedora, Red Hat, and clone versions of Fedora. RPM Fusion provides third-party software as precompiled RPMs. This software is not officially supported by the Fedora Project due to some legal issues.

As in the previous method, first, you will install and enable the RPM Fusion repository before installing Spotify. Enter the following command to enable the non-free RPM Fusion repositories:

# dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

‘lpf-spotify-client’ requires the non-free version of RPM Fusion repositories.

To install the free version of the RPM Fusion repositories, do so by issuing the following command:

# dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm

If you prefer to use the graphical method to install the RPM Fusion repo, do so by downloading the file from the official RPM Fusion website, as shown below:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/02/echo/image7-11.png" data-lazy- height="507" src="data:image/svg xml,” width=”1054″>

Now that the RPM Fusion repository has been installed, install the Spotify application using the following command:

$ sudo dnf install lpf-spotify-client

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/02/echo/image6-11.png" data-lazy- height="514" src="data:image/svg xml,” width=”794″>

Once the above command has been executed successfully, launch the “lpf-spotify-client” in the Applications list from the following path:

Activities –> “lpf spotify-client”

For the first time it will prompt a window saying: “You must be a member of the pkg-build group to run lpf (log out and in again to mute this dialog). OK to add group pkg-build to your current user muhammadsadaan?

Enter Yes and log out and log in again. Then, launch the “lpf-spotify-client” from the Applications list.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/02/echo/image9-9.png" data-lazy- height="719" src="data:image/svg xml,” width=”1280″>

You will be prompted to accept the EULA terms for using the Spotify client in Linux. Simply read and accept the terms and click OK.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/02/echo/image8-10.png" data-lazy- height="539" src="data:image/svg xml,” width=”610″>

A new window will open that will show the dependencies and sources that are required to install the Spotify client.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/02/echo/image12-4.png" data-lazy- height="526" src="data:image/svg xml,” width=”862″>

After the above process has been completed, you will see the following window appear:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/02/echo/image10-8.png" data-lazy- height="494" src="data:image/svg xml,” width=”871″>

Now, you can launch Spotify from the Applications list, as shown below:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/02/echo/image11-6.png" data-lazy- height="715" src="data:image/svg xml,” width=”1031″>

If the gnome shortcut does not work for you because of the following error:

Then, launch Spotify from the command-line using the following command:

Method 3: Install Spotify Using Flatpak in Fedora

Flatpak, formerly known as xdg-app, is an app bundling framework focused on improving the Linux desktop experience by simplifying the installation process for many Linux applications. Applications created using Flatpak for one Linux distro can be distributed to others.

To install Flatpak in Fedora, issue the following command:

# dnf install  flatpak -y

Flatpak comes already installed with the Fedora 33 gnome. Once Flatpak has been installed, use the following command to install Spotify:

# flatpak install -y –from https://flathub.org/repo/appstream/com.spotify.Client.flatpakref

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/02/echo/image13-3.png" data-lazy- height="555" src="data:image/svg xml,” width=”662″>

To run Spotify, issue the following command.

# flatpak run com.spotify.Client

Again, if the gnome shortcut or the above command does not work for you due to the following error:

Then, launch Spotify from the command-line using the command below:

# flatpak run com.spotify.Client –no-zygote

This process is shown below:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/02/echo/image14-3.png" data-lazy- height="854" src="data:image/svg xml,” width=”1776″>

Conclusion

That concludes today’s guide on installing the Spotify application. In this tutorial, you learned three methods for installing Spotify on your Fedora Linux system. If you are an absolute beginner in the Linux operating system, then you should follow Method 1 to install Spotify on your system. This is a very straightforward and easy-to-use method for most beginners. However, any of the above methods will work perfectly well for installing the Spotify application.

About the author

<img alt="Ali Imran Nagori" data-lazy-src="https://kirelos.com/wp-content/uploads/2021/02/echo/IMG_20201123_090644_2-150×150.jpg6036760e244f9.jpg" height="112" src="data:image/svg xml,” width=”112″>

Ali Imran Nagori

Ali imran is a technical writer and Linux enthusiast who loves to write about Linux system administration and related technologies. You can connect with him on LinkedIn


.