How to Install Spotify on FunOS

Spotify is one of the most popular music streaming services in the world, offering millions of songs, albums, and podcasts that can be played on various devices. With Spotify, you can create playlists, discover new artists, and enjoy personalized recommendations based on your listening habits. On FunOS, Spotify is not available in the official Ubuntu repositories, but you can easily install it from Spotify’s own APT repository. This article explains how to install Spotify on FunOS step by step.

What is Spotify?

Spotify is a digital music streaming platform that provides access to an extensive library of audio content, including songs, albums, and podcasts. It allows users to listen to music for free with advertisements or subscribe to a premium plan for ad-free playback and additional features like offline listening. Spotify supports various operating systems, including Windows, macOS, Android, iOS, and Linux. On Linux-based systems like FunOS, Spotify can be installed using its official repository, ensuring users get the latest updates and security patches.

How to Install Spotify on FunOS

Work on: 22.04.5 ✅ | 24.04.4 ✅ | 25.10 ✅ | 26.04 ✅

Step 1: Open a Terminal

There are three ways to open the Terminal in FunOS:

  • Click Menu in the lower-left corner of the screen, then click Terminal
  • Click the Terminal icon in the Tray
  • Press Ctrl + Alt + T on your keyboard

Step 2: Update the Package List

Before installing Spotify, update the package list to ensure all available packages are up to date:

sudo apt update

Step 3: Install the Necessary Dependencies

Spotify requires some additional packages to handle HTTPS sources. Install them with the following command:

sudo apt install apt-transport-https curl

Step 4: Add the GPG Key

Next, add Spotify’s official GPG key to your system to verify the authenticity of packages from the Spotify repository:

curl -sS https://download.spotify.com/debian/pubkey_5384CE82BA52C83A.asc | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg

Step 5: Add the Repository

Now add the official Spotify repository to your system’s sources list:

echo "deb https://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list

Step 6: Update the Package List Again

After adding the repository, update your package list again so your system recognizes the newly added source:

sudo apt update

Step 7: Install Spotify

Once everything is ready, install Spotify using the following command:

sudo apt install spotify-client

Step 8: Reload the Menu

After installation, Spotify might not appear in the menu immediately. To make it visible:

  • Click the Menu button in the lower-left corner.
  • Click Reload menu.

Step 9: Reload the Menu

Launching Spotify

To start Spotify:

  • Click the Menu button in the lower-left corner.
  • Navigate to the Multimedia section.
  • Click Spotify to launch the application.

Once Spotify opens, you can log in using your Spotify account or sign up for a new one to begin listening to your favorite songs and podcasts.

Fix: “Spotify can’t play this right now”

In some cases, you may encounter the following error when trying to play music in Spotify:

“Spotify can’t play this right now. If you have the file on your computer, you can import it.”

This issue is usually related to the system’s audio configuration. On FunOS, it can happen if PulseAudio is not working properly or is incompatible with certain setups. A reliable solution is to switch to PipeWire, a modern audio server that replaces PulseAudio and provides better compatibility.

Follow the steps below to fix the issue.

Step 1: Install PipeWire

Open a Terminal and install PipeWire along with the required audio libraries:

sudo apt update
sudo apt install pipewire pipewire-audio-client-libraries pipewire-pulse wireplumber libspa-0.2-bluetooth

Step 2: Disable PulseAudio

To prevent conflicts, disable PulseAudio’s user service:

systemctl --user --now disable pulseaudio.service pulseaudio.socket

Step 3: Enable PipeWire

Enable and start PipeWire and its PulseAudio replacement service:

systemctl --user --now enable pipewire pipewire-pulse wireplumber

Step 4: Restart Your System

Reboot your system to ensure all changes take effect:

reboot

Step 5: Test Spotify Again

After restarting, open Spotify and try playing a song. The error should now be resolved, and audio playback should work normally.

How to Uninstall Spotify on FunOS

If you decide to remove Spotify from your system, follow these steps:

Step 1: Open a Terminal

There are three ways to open the Terminal:

  • Click Menu in the left corner of the screen, then click Terminal
  • Click the Terminal icon in the Tray
  • Press Ctrl + Alt + T

Step 2: Remove Spotify

Use the following command to remove Spotify and its configuration files:

sudo apt remove --purge spotify-client

Step 3: Remove Any Unused Dependencies

Clean up packages that are no longer needed:

sudo apt autoremove --purge

Step 4: Remove the Repository and Key (Optional)

If you don’t plan to reinstall Spotify later, you can remove its repository and key:

sudo rm -f /etc/apt/sources.list.d/spotify.list
sudo rm -f /etc/apt/trusted.gpg.d/spotify.gpg

Step 5: Update the Package List

After removing the repository and key, update your package list:

sudo apt update

Step 6: Remove User Data (Optional)

If you also want to remove Spotify’s user data and cache, use these commands:

rm -rf $HOME/.config/spotify
rm -rf $HOME/.cache/spotify

Step 7: Reload the Menu

To update the menu and remove the Spotify entry:

  • Click the Menu button in the lower-left corner.
  • Click Reload menu.

Conclusion

Spotify provides a convenient way to enjoy millions of songs and podcasts directly from your desktop. Installing Spotify on FunOS is simple and straightforward by using the official Spotify repository, ensuring you get the latest updates and security enhancements. Whether you’re streaming your favorite playlists or discovering new artists, Spotify brings high-quality audio streaming right to your FunOS desktop.

Leave a Reply

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