Part 1. How to Install Spotify on Ubuntu/Linux
Linux is a series of free and open source operating systems with the built-in Linux kernel. Instead of offering a graphical user interface, it gets most of the job done through the terminal with high efficiency. It is beloved by a lot of programmers, engineers. To install Spotify, you can either try the Snap or Deb package.
Snap install Spotify
Spotify Snap package can be easily installed in any Linux distribution that supports Snap. Ubuntu 18.04, 17.10 and 16.04 users can download and install the app directly from the Software Center.
If Snap is not installed on your system, you can type the following command:
sudo apt-get install snapd
And then install Spotify Snap app with the command:
sudo snap install spotify
Once it is installed, you can find it from the application menu. The Spotify Snap application integrates fine with the Ubuntu system. It doesn't add any new media control options but does supports the play/pause, forward/backward media keys on your system.
Debian install Spotify
Spotify for Linux is also released as a Debian package. If you have a Debian based Linux distributions like Ubuntu, Linux Mint, elementary OS, Solus, etc., you can follow these steps to install it.
Step 1. Add the Spotify repository signing keys to be able to verify downloaded packages
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90
Step 2. Add the Spotify repository
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
Step 3. Update list of available packages and install Spotify package
sudo apt-get update
sudo apt-get install spotify-client