ADVERTISEMENTS
Arch Linux Fedora Tools Ubuntu

How to Install Spotify on Ubuntu/Debian and Fedora Using Snap

Install Spotify in Linux
Written by Divine Okoi
ADVERTISEMENTS

Spotify is a music streaming service that needs no introduction. Its users can stream millions of tracks either free of charge or for an affordable subscription fee; making it an mp3 player with a virtually unending playlist.

At the moment, Spotify’s desktop client for Ubuntu and similar distros seem inexistent but there is good news. You can enjoy a similar experience to that on Windows and MacOS platforms by using the snapd service to put a Spotify desktop client on your Linux workstation.

Follow the steps below to get yours set up.

How to Install Spotify Using Snapd in Linux

snapd will allow you load snap pages on any Linux distro of yours. However, the command to use is distro-specific and enter commands line by line:

Install snapd on a Debian, Ubuntu, and Linux Mint
$ sudo apt install snapd
Install snapd on a Fedora Linux
sudo dnf install snapd
sudo ln -s /var/lib/snapd/snap /snap
Install snapd on Arch Linux
$ sudo yaourt -S snapd
$ sudo systemctl enable --now snapd.socket
Install snapd on OpenSUSE Tumbleweed Version
$ sudo zypper addrepo http://download.opensuse.org/repositories/system:/snappy/openSUSE_Tumbleweed/ snappy
$ sudo zypper install snapd
$ sudo systemctl enable --now snapd.socket

Install snapd on OpenSUSE Leap version
$ sudo zypper addrepo http://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_42.3/ snappy
$ sudo zypper install snapd
$ sudo systemctl enable --now snapd.socket
ADVERTISEMENTS

Run spotify and enjoy it.

$ spotify

Set your account and password for auto login on PC startup.

$ spotify --username [email protected]
$ spotify --username [email protected] --password 'myPasswordHere'

Start spotify client with given URI.

$ spotify--uri=<uri>

Start spotify client with specified URL:

$ spotify--url=<url>

The latest Spotify package features a responsive UI along with an excellent sound quality and all the mainstream features the official Spotify’s desktop clients offer.

  Audacious - An Advanced Audio Player for Linux

If for some reason you want to get rid of the app all you have to type is.

$ sudo snap remove spotify

Because snap is a smart app packager, it will handle the removal of Spotify and all its related data.

Are there any other apps for which you need installation tutorials? Leave us your comments in the discussion section below.

ADVERTISEMENTS

About the author

Divine Okoi

Divine Okoi is a cybersecurity postgrad with a passion for the open-source community. With 700+ articles covering different topics in IT, you can always trust him to inform you about the coolest tech.