How To Install Spotify On Ubuntu - TechvBlogs

How To Install Spotify On Ubuntu

Spotify is one of the most popular music streaming of today. this blog will guide the installation process of the Desktop client of Spotify on Ubuntu.

Smit Pipaliya - Author - TechvBlogs
Smit Pipaliya

2 years ago

TechvBlogs - Google News


Spotify is the most popular streaming music service these days. While you can listen to it via its web interface, you can also install a desktop client of Spotify in Linux.

Spotify desktop player is better than the web player because you don’t risk accidentally closing the browser and losing Spotify. With a desktop player, you can also use the media keys on your keyboard to change the tracks or pause/play the songs.

The desktop player also gave you some additional features, such as listening to local music in Spotify, syncing local music to Spotify server, or syncing local music to iPhone, iPod, or other mobile devices. I am not sure if it is still the case.

Spotify is available for Android, iOS, and Windows. A great sign that Linux is also being taken into account. There is a Spotify client for the Linux family and mainly for Ubuntu, perhaps one of the most popular distributions.

So let’s go ahead and install Spotify on Ubuntu.

Option 1: Install Spotify on Ubuntu using the DEB package

To install Spotify’s latest version from the officially provided deb package by Spotify, first, import the keys using curl.

If curl is not installed, then install it. Run the following command:

#! /bin/bash
sudo apt-get install curl

Run the command given below to import the public GPG key provided by the Spotify official website:

#! /bin/bash
curl -sS | sudo apt-key add -

How To Install Spotify On Ubuntu - TechvBlogs

Signature keys are imported successfully.

Once the key is added, add Spotify’s deb package to your Ubuntu system’s sources list by running the following command:

#! /bin/bash
echo "deb stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list

How To Install Spotify On Ubuntu - TechvBlogs

After adding Spotify’s deb file to your software sources list. Spotify is ready to install.

Now, first, update the package repository, run the following command:

#! /bin/bash
sudo apt-get update

Then, install Spotify, run the following command:

#! /bin/bash
sudo apt-get install spotify-client

Checkout This Tool: Open Port Check Tool

Option 2: Install Spotify on Ubuntu Via Snap

Snap is Flatpak’s main rival. It is the creation of Canonical, which is the company behind Ubuntu. Therefore, Spotify as a snap package will guarantee smooth integration with Ubuntu.

By default, snap is installed on Ubuntu, so just run this command to install Spotify snap.

#! /bin/bash
sudo snap install spotify

Option 3: Install Spotify on Ubuntu Via Flatpak

You can also install Spotify using the Flatpack. Flatpak is a technology that allows you to package a program with its dependencies and isolate it from the system. Therefore, we can run Spotify with the security that we do not modify our system.

Flatpack is not installed by default, so first, you must install it using the command given below.

#! /bin/bash
sudo apt-get install flatpak

And then, with a single command, you can install Spotify.

#! /bin/bash
sudo flatpak install flathub com.spotify.Client

Be aware that the installation will take longer than the previous method, so be patient.

Then, you can run it from the main menu. In case it does not appear, you can run the following command:

#! /bin/bash
flatpak run com.spotify.Client

But usually, this is not necessary, and Spotify will be available from the main menu.

Launch Spotify Application

Press the command button to launch applications. Then search for “Spotify” under the search bar. This will show you the Spotify launcher, then click the launcher icon to start the application.

You will see the signup or login page on the Spotify application.

How To Install Spotify On Ubuntu - TechvBlogs

Thank you for reading this blog.

Read Also: How to Install Zoom on Ubuntu 20.04

If you want to manage your VPS / VM Server without touching the command line go and  Checkout this linkServerAvatar allows you to quickly set up WordPress or Custom PHP websites on VPS / VM in a  matter of minutes.  You can host multiple websites on a single VPS / VM, configure SSL certificates, and monitor the health of your server without ever touching the command line interface.

If you have any queries or doubts about this topic please feel free to contact us. We will try to reach you.

Comments (0)


Note: All Input Fields are required.