How to Install Spotify on Ubuntu 16.04

Introduction

In this tutorial we learn how to install Spotify client on Ubuntu Linux 16.04.

There are two methods to install Spotify Client on Ubuntu Linux 16.04 The first one is using snap, the second method is using apt.

We will cover both of the methods in this tutorial.

Install Spotify Client Using Snap on Ubuntu 16.04

To instal snap using snap we can use command below.

snap install spotify

Snap will try to update snapd and another snap components if the installation on your system is not up to date.

At the end of the installation process it will show output similar to output below

2020-07-05T02:25:47Z INFO Waiting for restart...
spotify 1.1.26.501.gbe11e53b-15 from Spotify✓ installed

Install Spotify Client Using Apt on Ubuntu 16.04

As alternative, we can also install spotify client using apt

First, let’s add spotify public key so apt can verify that the packages we’re downloading is not tampered and or corrupt when being downloaded from Spotify server.


curl -sS https://download.spotify.com/debian/pubkey.gpg | sudo apt-key add -    

If successful the command above should provide output OK

Second, create new source list file named spotify.list using command below.

echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list

Third, Update apt database using command below.

sudo apt-get update

Fourth, install spotify command using apt-get command below.

sudo apt-get install spotify-client

We can also use apt command below

sudo apt install spotify-client

This step might take some time depends on our internet connection.

Open Spotify Client on Ubuntu Linux 16.04

After the installation is finished, we can open spotify client using command below

spotify

Summary

This tutorial guides you on how to setup Spotify Client on Ubuntu 16.04.

We learn to setup using two methods, snap and apt. We only need to use one of the installation method to setup Spotify on Ubuntu 16.04.

As alternative to native client, you can still use Spotify Web Client to play music, podcast or any audio from Spotify.