Arch Linux Fedora Tools Ubuntu

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

Install Spotify in Linux
Written by Martins D. Okoi

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
RedHat RHCSA and RHCE Certification Exam Study Ebook

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.

  Lollypop - A New Modern Music 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.

Join Our Community Of 350,000+ Linux Lovers by liking us on Facebook, or follow us on Twitter, Google+ and Instagram.

If you liked this article, sign up for the fossmint newsletter for handpicked selection of stories from FossMint delivered to your inbox every day.


Top Deals

About the author

Martins D. Okoi

Martins Jr. (Dillivine) Okoi is a graduate of Computer Science with a passion for Linux and the Open Source community. He works as a Web designer & developer, technical writer, and programmer.