How to install Spotify application on Linux

How do I install Spotify application on Linux desktop to stream music?

Spotify is a digital music stream service that provides you access to tons of songs. You can stream for free or buy a subscription. Creating a playlist is possible. A subscriber can listen music ad-free. You get better sound quality. This page shows how to install Spotify on Linux using a snap package manager that works on Ubuntu, Mint, Debian, Fedora, Arch and many other distros.

Installing spotify application on Ubuntu Linux

The procedure to install spotify on Linux is as follows:

  1. Install snapd on Linux
  2. Turn on snapd service in Linux
  3. Find Spotify snap, run:
    snap find spotify
  4. Install spotify music app on Linux:
    sudo snap install spotify
  5. Run it:
    spotify &

Let us see all steps and examples in details.

Step 1 – Install Snapd

You need to install snapd package in order to install spotify app. It is daemon (service) and tooling that enable snap packages on Linux operating system. Therefore, type commands as per your Linux distro.

Snapd on a Debian/Ubuntu/Mint Linux

Run the following apt command/apt-get command as follows:
$ sudo apt install snapd

Install snapd on an Arch Linux

snapd is available in the Arch User Repository (AUR) only. Run yaourt command (see how to install yaourt on Archlinux):
$ sudo yaourt -S snapd
$ sudo systemctl enable --now snapd.socket

Get snapd on a Fedora Linux

In this example, use the dnf command command as follows:
sudo dnf install snapd
sudo ln -s /var/lib/snapd/snap /snap

OpenSUSE install snapd

Execute the zypper command as follows to install the same:
### Tumbleweed verson ###
$ sudo zypper addrepo snappy
### Leap version ##
$ sudo zypper addrepo snappy

Install it. In other words type the following command:
$ sudo zypper install snapd
$ sudo systemctl enable --now snapd.socket

Step 2 Install Spofity app on Linux using snap

Run the snap command:
$ snap find spotify

Install it:
$ sudo snap install spotify

Step 3 – Run spotify and enjoy it

Run it from GUI or simply type:
$ spotify
Automatically sign in to your account on startup:
$ spotify --username
$ spotify --username --password 'myPasswordHere'

Start spotify client with given URI when initialized:
$ spotify--uri=<uri>
Start with the specified URL:
$ spotify--url=<url>

How to delete spotify app

If you do not like it the app, you can delete it by typing the following command:
$ sudo snap remove spotify
By default, all the snap revisions are removed, including their data and the common data directory.

Forcefully update Spotify app

All snaps are automatically updates, However, one can always run the following command to upgrade it manually:
sudo snap refresh spotify


You learned how to install Spotify app on Ubuntu, Debian, Arch, Suse, and other Linux distros. In addition, you also learned how to install snapd. For info see:

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 1 comment so far... add one

CategoryList of Unix and Linux commands
Disk space analyzersdf duf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Modern utilitiesbat exa
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg glances gtop jobs killall kill pidof pstree pwdx time vtop
Searchingag grep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04

Comments on this entry are closed.

Comments are closed. Still have questions? Post it on our forum