89
0

How to Install Spotify on Ubuntu 22.04

89
Reading Time: 2 minutes
Spotify is a proprietary audio streaming and media services provider. This tutorial will help you to install Spotify on Ubuntu 22.04 LTS Jammy Jellyfish using three methods; the official repository, using snap and flatpak installation managers.

Step by step guide to install Spotify on ubuntu 22.04

Start by updating your system repositories:
sudo apt update && sudo apt upgrade -y

Method 1: Install Spotify on ubuntu 22.04 using Snap Method

https://snapcraft.io/docs/installing-snap-on-ubuntu
I assume you’re running on ubuntu 22.04 and you don’t need to install Snap since it’s already installed for ubuntu 16.04 LTS or later and is ready to go.
However, if you had uninstalled it, to re-install it:
sudo snap install snapd -y
Note, that it is required to reboot your system when installing third-party managers. If you experience issues, proceed to do this.
Proceed to install snap core:
sudo snap install core
Create a symlink to enable classic snap support since some packages come in classic.
sudo ln -s /var/lib/snapd/snap /snap
Install Spotify:
sudo snap install Spotify

Method 2 Install Spotify on ubuntu using the APT Method

We are to import the repository from Spotify and install it using the APT package manager.
First, install the required dependencies for Spotify.
sudo apt install curl libcanberra-gtk-module software-properties-common apt-transport-https gnupg2 ubuntu-keyring -y
Next step is to import the GPG key:
wget -O- https://download.spotify.com/debian/pubkey_5E3C45D7B312C643.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/spotify.gpg
Proceed to add the spotify official repository:
echo "deb [signed-by=/usr/share/keyrings/spotify.gpg] http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
Update ubuntu to reflect the imported repository
sudo apt update
Finally, install Spotify:
sudo apt install Spotify-client

Method 3: Install Spotify on ubuntu using the Flatpak package manager

First, install the Flatpak manager if you haven’t already installed it.
sudo apt install flatpak -y
Enable flatpak package manager after installing it:
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
It is often recommended to reboot your system after installing third-party packages.
reboot
Then proceed to install Spotify using flatpack:
flatpak install flathub com.spotify.Client -y
To launch Spotify on ubuntu:
You can either use the terminal by running: spotify or flatpak run com.spotify.Client (for flatpak users)
or just use the GUI.
Conclusion.
This quick guide has shown three ways in which we can install Spotify on ubuntu. Proceed to use any of the methods listed and share your thoughts or suggestions in the comments below.

Leave a Reply

Your email address will not be published.