Wondering how to install Spotify on Ubuntu 22.04 LTS? Don’t worry we’ve got you covered!
With GUI-based Linux distributions becoming the norm, most PC users find it easier to switch to Linux as their primary operating system. Not only are these distributions open-sourced, but they actively receive updates that enhance the overall experience.
This increase has also led mainstream companies to develop applications for Linux distributions, mainly Ubuntu, which is currently leading the GUI-Linux revolution.
One of the best music streaming apps – Spotify, is also available for download on Ubuntu 22.04 LTS. Like any other application, Spotify can be installed using several methods using the CLI or GUI for their procedure.
This guide will help you learn how to install Spotify on Ubuntu 22.04 LTS. We’ll review different methods you can use to install Spotify on your system.
That being said, let’s begin!
Method 1: Installing Spotify Using $Apt Install.
The first method to install Spotify makes use of Ubuntu’s Command Terminal.
Spotify can be installed on Ubuntu using the $apt
install method. This is the go-to method for installing most applications and packages on Ubuntu.
While this guide is made for Ubuntu 22.04 LTS, the installation method shouldn’t be different for previous versions of Ubuntu either.
To install Spotify on Ubuntu 22.04 LTS, follow these steps:
- Start by opening the Command Terminal on your system. The shortcut for this is Ctrl + Alt + T.
- Once the Terminal is open, type the following:
$ sudo apt update
$ sudo apt upgrade
These commands will ensure that every package available on your system is up to date.
- Once all the packages are updated, type the following to install some necessary packages.
$ sudo apt install curl libcanberra-gtk-module curl software-properties-common apt-transport-https gnupg2 ubuntu-keyring -y
- Wait for the installation to finish, and then proceed to add the package key for Spotify using the following command:
$ curl -sS https://download.spotify.com/debian/pubkey_5E3C45D7B312C643.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/spotify.gpg
- Next, add Spotify to the repository using the following command:
$ 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 your packages again using the following command:
$ sudo apt update
- Lastly, install Spotify by using the following command:
$ sudo apt install spotify-client
If you followed these steps correctly, then congratulations! You’ve successfully learned how to install Spotify on Ubuntu 22.04 LTS. If this method doesn’t work or seems too daunting, you can try out the next method.
Method 2: Installing Spotify Using the Snap Store.
Aside from the default repository lists, another method of installing applications on Ubuntu is by using a Snap package. The Snap store is responsible for deploying packages (called Snaps) suited for Linux distributions.
Like most applications, Spotify is already available on the Snap store, meaning that you won’t have to go through the process of trying to add the package keys by yourself.
Follow these steps to install Spotify on Ubuntu 22.04 LTS:
- First, Open the Command Terminal by pressing Ctrl + Alt + T on your system.
- Once that’s done, type the following to update all the packages and repositories.
$ sudo apt update
- When the update is finished, type the following in the Terminal to install Spotify using Snap.
$ sudo snap install spotify
If you followed the steps correctly, you should have Spotify installed on your system. If this method doesn’t work out, worry not, as we still have 2 more methods to cover.
Method 3: Installing Spotify Using Flatpak.
If the previous methods didn’t work out, you could always try installing your packages using Flatpak.
Like the Snap store, Flatpak is responsible for distributing different packages on Linux-based distributions, allowing them to execute in an isolated virtual environment. It is the perfect alternative to the conventional method of using $apt install for the installation process.
Follow these steps to install Spotify using Flatpak:
- Start by opening the Command Terminal by pressing Ctrl + Alt + T on your system.
- Next, type the following command to install Flatpak on your system:
$ sudo apt install flatpack $ sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- When the installation is finished, restart your system. This can be done by using the following command:
$ sudo reboot
- Once the Terminal restarts, enter this command to install Spotify:
$ flatpak install flathub com.spotify.Client -y
If you followed the steps correctly, then Spotify should be available on your system. If these CLI-based methods aren’t working out for you, you can try the GUI-based method instead.
Method 4: Installing Spotify Using the GUI Method.
If the methods involving the Command Terminal seem daunting, you can always try the GUI approach.
Spotify can be directly downloaded from the Ubuntu Software Store.
Follow these steps to install Spotify on Ubuntu using the GUI method.
- Begin by clicking on the “Show Applications” icon in the bottom left corner of the screen.
- Next, type “Ubuntu Software” in the search bar and click on the first result. A new window should appear.
- Locate the search icon on the top side of the window and click on it.
- When the search bar opens up, type “Spotify” and click on the result that matches the name.
- Lastly, click on Install to begin the installation process. All that’s left to do now is to wait.
Following these steps correctly, you successfully installed Spotify using the GUI method.
In one of the CLI methods, one step involved restarting the system. While the $reboot command does the job, for the most part, it isn’t always the best option available. To counter this, there are other methods to perform a system reboot on Ubuntu that provides more control over how they achieve it.
This concludes our guide on how to install Spotify on Ubuntu 22.04 LTS. If you have any comments or suggestions, let us know in the comment section down below.
If this guide helped you, please share it. 🙂