How to Uninstall Spotify on Linux

How to Uninstall Spotify on Linux

Spotify with both free and premium plans, allows users to stream music. This platform offers unlimited songs and podcasts live as well as offline listening through downloads. The Spotify music application can be installed on PCs, smartphones, and other devices.

This blog demonstrates how to uninstall Spotify on Linux systems like Ubuntu 24.04 using different methods.

How to Uninstall Spotify on Linux (Ubuntu 24.04)?

Spotify can be uninstalled from Linux systems, including Ubuntu 24.04 through the following methods:

Method 1: Remove Spotify from Linux-based Ubuntu 24.04 via Snap

Method 2: Delete Spotify from Linux-based Ubuntu 24.04 with the APT command

Method 3: Remove Spotify with Flatpak from Linux-based Ubuntu 24.04

Method 4: Uninstall or Delete Spotify from Ubuntu 24.04’s System Software (GUI)

How to Reinstall Spotify on Linux (Ubuntu 24.04)?

FAQs

Conclusion

Method 1: Remove Spotify from Linux-based Ubuntu 24.04 via Snap

The Spotify application can be removed via Snap from Ubuntu 24.04 through the following commands.

Step 1: Verify the Spotify Installation

First, check the installed version of Spotify using the –version option with the following command::

spotify –version
Remove Spotify from Linux-based Ubuntu 24.04 via Snap

If you see the message “Spotify version x.x.x” in your output, it indicates that Spotify is installed on your Ubuntu 24.04 system.

Let’s start the uninstallation process of Spotify from your Linux system.

Step 2: Remove Spotify via Snap

The snap package manager enables you to remove the Spotify package from your system. Below is the simple command to be run from your terminal window:

sudo snap remove spotify
Remove Spotify from Linux-based Ubuntu 24.04 via Snap

The message “spotify removed” on the command prompt indicates that the command executed successfully.

Method 2: Delete Spotify from Linux-based Ubuntu 24.04 with the APT command

If you installed Spotify using the APT repository on your Linux system (e.g., Ubuntu 24.04), use the following command:

sudo apt purge –autoremove spotify-client
Delete Spotify from Linux-based Ubuntu 24.04 with the APT command

This command will remove all files and directories associated with Spotify.

Method 3: Remove Spotify with Flatpak from Linux-based Ubuntu 24.04

The Flatpak manager can also be used to uninstall the Spotify package from your Linux machines completely. Utilized this command to remove it:

sudo flatpak uninstall com.spotify.Client
Remove Spotify with Flatpak from Linux-based Ubuntu 24.04

When the message “Uninstall complete.” is printed on your terminal, it means that the Spotify application no longer exists on your Ubuntu 24.04 system.

Method 4: Uninstall or Delete Spotify from Ubuntu 24.04’s System Software (GUI)

If you prefer a graphical method for uninstalling Spotify from your Linux-Ubuntu machine, use these steps.

Step 1: Open “App Center”

Navigate the “App Center” from the Application menu, as shown below:

Navigate the “App Center” from theApplication menu, as shown below:

Uninstall or Delete Spotify from Ubuntu 24.04’s System Software (GUI)

Step 2: Uninstall “Spotify”

To complete the uninstallation process of Spotify:

  • Search for the keyword “Spotify” in the App Center.
  • Locate the “More” option, commonly represented by three dots (…).
  • Click on the “Uninstall” button.
spotify
Uninstall or Delete Spotify from Ubuntu 24.04’s System Software (GUI)

After a few moments, the uninstallation process will complete.

Uninstall or Delete Spotify from Ubuntu 24.04’s System Software (GUI)

All the above methods can be applied based on the method you used for installing the Spotify application on your Linux system, for instance, Ubuntu 24.04.

How to Reinstall Spotify on Linux (Ubuntu 24.04)?

You can use one of the following methods to reinstall Spotify on the Linux machine. In this guide, we will demonstrate these methods on Linux-based Ubuntu 24.04.

Install Spotify using Snap

The snap store provides the simple and easiest way to install the Spotify application on your Ubuntu 24.04. Let’s see the practical demonstration.

Step 1: Update Linux Files

Update the official repository and system files of your Ubuntu machine with the following command:

sudo apt update
Reinstall Spotify on Linux

Make sure, all packages are up to date. This step will install any missing or outdated files, which will improve your system’s performance.

Step 2: Install “snapd” Package

Before using the snap command, first, install it using the following command:

sudo apt install snapd
Reinstall Spotify on Linux

If the Snap package is already installed on your Ubuntu 24.04, a confirmation message will be shown on your screen.

Step 3: Install “Spotify” via Snap Command

Now, use this one-line command to install the Spotify application on your Ubuntu 24.04 system:

sudo snap install spotify
Reinstall Spotify on Linux

After a few moments, a confirmation message will appear on your terminal screen, showing the version number (1.2.50) and the current status (Installed) of the Spotify application.

Install Spotify from the APT Repository

You can utilize the following steps to install the Spotify application using the APT repository.

Step 1: Install “curl” Package

Install the “curl” package via the command:

sudo apt install curl -y
Install Spotify from the APT Repository

The curl tool will help you to download the package files from URLs.

Step 2: Download Spotify Repository

Use the “curl” command with the following script to download the Spotify repository:

curl -sS https://download.spotify.com/debian/pubkey_6224F9941A8AA6D1.gpg | sudo gpg –dearmor –yes -o /etc/apt/trusted.gpg.d/spotify.gpg
Install Spotify from the APT Repository

This command will save the “spotify.gpg” to your system APT list.

Step 3: Add Spotify to the APT Source List

Execute the attached command to incorporate the Spotify to the Ubuntu’s source list:

echo “deb http://repository.spotify.com stable non-free” | sudo tee /etc/apt/sources.list.d/spotify.list
Install Spotify from the APT Repository

The message “deb http://repository.spotify.com stable non-free” on your terminal indicates that the Spotify package has been added to the source list.

Step 4: Install Spotify Package

Now, your Ubuntu 24.04 is ready to install the Spotify package using this command:

sudo apt update && sudo apt install spotify-client -y
Install Spotify from the APT Repository
Install Spotify from the APT Repository

The above attached snapshots, confirm that you have completed the installation of Spotify.

Install Spotify using Flatpak Manager

Flatpak is a package manager, which also allows you to install Spotify on Ubuntu 24.04.

Let’s begin the installation process;

Step 1: Install Flatpak Manager

First of all, you will need the Flatpak package on your system. To install it, execute the attached command:

sudo apt install flatpak
Install Spotify using Flatpak Manager
Install Spotify using Flatpak Manager

The Flatpak has been installed on your Ubuntu 24.04, as shown above.

Step 2: Configure Flatpak Plugin

Run this command to configure the GNOME Software plugin to your system files:

sudo apt install gnome-software-plugin-flatpak
Install Spotify using Flatpak Manager

This command will allow you to access Flatpak apps directly via the Software Center.

Step 3: Integrate the Flathub Repository

Use the command to add and integrate the Flathub repository to your Flatpak package.

flatpak remote-add –if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
Install Spotify using Flatpak Manager

Your system has access to the Flatpak applications through Flathub, a vast library of software.

Step 4: Install Spotify from Flatpak

You can now utilize the flatpak command to set up the Spotify package on your Ubuntu 24.04:

flatpak install flathub com.spotify.Client
Install Spotify using Flatpak Manager
Install Spotify using Flatpak Manager

Once the Spotify installation is finished, the message “Installation complete.” will print on your terminal screen.

Step 5: Run Spotify using Flatpak

If you prefer to launch Spotify from the terminal, run this command:

flatpak run com.spotify.Client
Install Spotify using Flatpak Manager

Enter your credentials to open the Spotify application:

Install Spotify using Flatpak Manager

Install the Spotify Application from the App Center (Ubuntu 24.04)

The following steps will install the Spotify application from the App Center.

Step 1: Navigate “App Center”

Locate the “App Center” in your system applications:

Install the Spotify Application from the App Center (Ubuntu 24.04)

Step 2: Search “Spotify” in Software List

Go to the search tab, enter the “spotify” keyword, and click on the Spotify icon:

Spotify
Install the Spotify Application from the App Center (Ubuntu 24.04)

Step 3: Install “Spotify”

Click on the “Install” button to start configuring the Spotify to your Ubuntu 24.04 system:

Install the Spotify Application from the App Center (Ubuntu 24.04)

Enter your system password to confirm the configuration process:

Install the Spotify Application from the App Center (Ubuntu 24.04)

After authentication, the Spotify application will be installed on your Linux-based Ubuntu 24.04 system.

As demonstrated above, you have learned both the uninstallation and reinstallation processes of Spotify on a Linux-based Ubuntu 24.04 system.

FAQs

Can I uninstall the Spotify application from the Linux command prompt?

Yes, you can utilize the Linux command prompt to uninstall Spotify. Here are the Snap, APT, or Flatpak commands:

  • Snap: sudo snap remove spotify
  • APT: sudo apt purge –autoremove spotify-client
  • Flatpak: sudo flatpak uninstall com.spotify.Client

How can I uninstall Spotify from the Linux graphical App Center?

Remove the Spotify application through the App Center (GUI):

  • Locate the “App Center” from the Ubuntu Applications.
  • Search “Spotify” in the App Center.
  • Navigate the “More (…)” option.
  • Click on the “Uninstall” button.

Can I Reinstall Spotify on my Linux system like Ubuntu 24.04?

Yes, Linux systems allow you to install the Spotify application using both CLI and GUI methods.

You can use the Snap store, APT, Flatpak (CLI methods), or the App Center (GUI method) to install Spotify on your Ubuntu 24.04.

Conclusion

There are different ways to uninstall the Spotify application from Linux distributions (e.g., Ubuntu 24.04). You can utilize the Snap store, APT, Flatpak, or App Center (GUI) to remove Spotify. This article demonstrated all these four methods for removing Spotify from Ubuntu 24.04.

Leave a Reply

Scroll to Top