Installing Spotify on Ubuntu, Linux Mint, and Other Distros

Installing Spotify on Ubuntu, Linux Mint, and Other Distros

When it comes to music streaming, Spotify typically stands out as the top choice. It’s among the best services available and works across various platforms, including Linux. While installation may vary depending on your distribution, you can opt for Flatpak, Snap, or DEB. Here’s how to proceed:

Installing Spotify on Ubuntu, Linux Mint, and Debian-based Distros

Many Ubuntu and Debian-based Linux distros come with preinstalled app stores. Linux Mint, for instance, has its own store with a vast selection of apps, including Spotify. Ubuntu 23.04 also includes a dedicated Snap store, reducing the emphasis on Flatpaks. Here are the steps:

1. Launch the app store.

2. Search for Spotify.

3. Click “Install.” You can choose your installation source on the app listing page.

Additionally, Spotify officially supports Ubuntu and Debian-based Linux distributions. To install Spotify on Debian-based distros using the command line:

1. Press “Ctrl + Alt + T” to launch Terminal.

To add the Spotify repository to your distribution, execute the commands below one by one:

curl -sS https://download.spotify.com/debian/pubkey_7A3A762FAFD4A51F.gpg | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list

Finally, install Spotify on your Linux system by running:

sudo apt-get update && sudo apt-get install spotify-client

If you prefer Flatpak, you can install the Spotify app with a single command, assuming Flatpak is already installed:

sudo flatpak install Spotify

For Snap users, here’s how to install Spotify using Snap on your Ubuntu desktop:

Install Spotify on Arch-based Distros

There are a few ways to install Spotify on Arch-based distros — using Pacman, Flatpak, or AUR and AUR builders. Let’s look at each method below:

To install Spotify using Pacman, use this command:

sudo pacman -Syu spotify-launcher

Installing Spotify via Flatpak is similar:

sudo flatpak install spotify

AUR (Arch User Repository) is a repository of apps maintained by Arch users. To install from AUR, you need base-devel to build the packages yourself or use AUR helpers, and Git before installing Spotify on Arch Linux.

1. To install Git and base-devel, enter the following commands:

sudo pacman -S git sudo pacman -S base-devel

2. Once installed, use the command to pull the Spotify AUR repo.

git clone https://aur.archlinux.org/spotify.git

3. After that, run the cd command to switch to the Spotify directory.

cd spotify

4. Finally, enter the command to build the Spotify package.

makepkg -si

5. You will now see Spotify in the app menu.

Install Spotify on Fedora, CentOS, or any RPM-based Distro

There are two ways to install Spotify on Fedora, OpenSUSE, or any RPM-based Linux distros. You can use Flathub or DNF to get the Spotify desktop app on your PC.

To install Spotify on Fedora using DNF, use the following command.

sudo dnf install -y spotify

For Spotify installation on Fedora via Flathub, execute this command.

sudo flatpak install spotify