Table of Contents

Choose a different version or distribution


Before we begin talking about how to install Spotify on Ubuntu 20.04, let's briefly understand – What is Spotify?

Spotify is a popular music streaming platform that allows users to listen to millions of songs from various artists and genres. With a vast music library, personalized playlists, and user-friendly features, Spotify offers a seamless and enjoyable music experience.

It enables users to discover new music, create custom playlists, and follow their favorite artists. Available on multiple devices, including smartphones and computers, Spotify provides a convenient way to access music anytime, anywhere.

In this tutorial, we will show two ways of installing Spotify on Ubuntu 20.04. We will also address a few FAQs on how to install Spotify on Ubuntu 20.04.

Advantages of Spotify

  1. Vast Music Library: Spotify offers access to millions of songs from various artists and genres, ensuring a diverse music collection at your fingertips.
  2. Personalized Playlists: Discover new music tailored to your taste with personalized playlists like Discover Weekly and Daily Mixes.
  3. Easy Accessibility: Enjoy Spotify on multiple devices, including smartphones, tablets, and computers, making music accessible anytime, anywhere.
  4. Follow Favorite Artists: Stay updated with your favorite artists by following them on Spotify, receiving notifications about new releases and concerts.
  5. Seamless User Experience: With user-friendly features and a sleek interface, Spotify provides a smooth and enjoyable music streaming experience for all users.

Install Spotify as a Snap Package

Microsoft distributes and maintains the Spotify snap package.

Snaps are complete software packages that include the binaries and all necessary dependencies to launch a program. Snap packages are safe and simple to update. Snaps have a bigger disc footprint and a slower startup time for applications than regular deb packages.

Snap packages may be set up using either the Ubuntu Software program or the command line.

Open your terminal (Ctrl+Alt+T) and type the following command to install the Spotify snap:

sudo snap install spotify

You may use Spotify now that it has been installed on your Ubuntu desktop.

If you prefer not to use the command line, launch Ubuntu Software, do a search for “Spotify” and then install the program:

The Spotify snap package will be automatically updated in the background each time a new version is made available.

Install Spotify with apt

From the official Spotify Apt repository, you may download Spotify. Take the following actions to install it:

  1. GPG key import for the repository:
curl -sS | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg

2. The Spotify APT repository should be added to your system's list of software repositories.

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

3. Update apt sources when the repository has been enabled, then install Spotify:

sudo apt update
sudo apt install spotify-client

You may update the Spotify package whenever a new one is available using either your desktop's default Software Update utility or by performing the following apt commands in your terminal:

sudo apt update
sudo apt upgrade

Starting Spotify

Enter “Spotify” in the Activities search box, then click the icon to start the program.

From here, you can either create a new account or log in using your Spotify account.

FAQs to Install Spotify on Ubuntu 20.04

Can I install Spotify using a graphical interface on Ubuntu 20.04?

Yes, you can install Spotify using a graphical interface on Ubuntu 20.04. You can visit the Ubuntu Software Center, search for Spotify, and click the install button.

Do I need a Spotify account to install Spotify on Ubuntu 20.04?

Yes, you need a Spotify account to use the Spotify application. If you don't have one, you can create a free account on the Spotify website.

Can I install Spotify on Ubuntu 20.04 from the Snap Store?

Yes, you can install Spotify from the Snap Store by running the command: sudo snap install spotify.

Is Spotify available in the official Ubuntu 20.04 repositories?

No, Spotify is not available in the official Ubuntu 20.04 repositories. You need to add the Spotify repository to install it.

How can I uninstall Spotify from Ubuntu 20.04?

To uninstall Spotify from Ubuntu 20.04, open the terminal and run: sudo apt remove spotify-client.

Can I control Spotify using media keys on Ubuntu 20.04?

Yes, you can control Spotify using media keys on Ubuntu 20.04. Make sure the media keys are properly configured in your system settings.

Can I integrate Spotify with other media players on Ubuntu 20.04?

Yes, you can integrate Spotify with other media players on Ubuntu 20.04 using third-party applications like "Spotifyd" or "Spotify Control".


You now know how to set up Spotify on your desktop running Ubuntu 20.04. If Spotify is not accessible where you are, you may circumvent these geo-restrictions by using a VPN.

If you have any queries, please leave a comment below, and we’ll be happy to respond to them.

Great! You’ve successfully signed up.
Welcome back! You've successfully signed in.
You've successfully subscribed to DevOps Tutorials - VegaStack.
Your link has expired.
Success! Check your email for magic link to sign-in.
Success! Your billing info has been updated.
Your billing was not updated.