We are living in the online era and steaming things online is a regular thing in our lives. We watch videos, browse pictures and listen to music – all and everything online over the internet. This is because we don’t have to manage anything offline in our devices, for an example let’s see the
Spotify – you just install it and search for any song you want and it starts to play and it syncs with all the devices having the Spotify account logged in. This is why in this quick guide, you will learn how to install the most popular music streaming service client, Spotify on your favorite Linux distro.
For the demonstration, I am going to use Ubuntu as most of the users use it and frankly speaking a distro just a name, any Linux user can follow the same guide to install it in any distro.
Installing Spotify on Ubuntu
Officially, Spotify provides two ways for installing their client in your system.
1. Using the snap package or
2. Using the official repository
We will check both of them and install the client in the distro.
Method 1: Using snap package to install Spotify
If your system has support for snap packages then you can simply run the snap installation command in order to install the package in your Linux system.
To check, whether you have snap or not, simply execute the below command.
If you are getting the result similar to this then snap is configured in your system and you can use snap installing command.
snap 2.42.1 snapd 2.42.1 series 16 ubuntu 19.10
You can install the Spotify snap package using this command.
sudo snap install spotify
Method 2: Using repository to install Spotify
You can directly add the official repository in your distro and install Spotify very easily. For that just download the key and add the 3rd party repo.
curl -sS https://download.spotify.com/debian/pubkey.gpg | sudo apt-key add - echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt-get update sudo apt-get install spotify-client
Manually installing Spotify client
You can also install Spotify client manually using the prebuild packages in any Linux distribution out there. just head on the pkgs.org and download the package as per your system.
Most of the Linux distros use .deb package file and you can see the guide on how to install such package here: Installing applications in Linux | Complete guide
You can also watch this tutorial on Youtube for the same: Installing .deb files in Linux
Not just .deb file as some distros also use .rpm and different packages, you can download that package from pkgs.org and install it, just make sure to give a read to the above installation complete guide for assistance.
For a step-by-step video guide, watch this tutorial
In the end, if you have any issue in the process then let me know in the comment section below and I’ll surely help you out. Till then keep enjoying Linux and do subscribe to the youtube channel as it needs your support.