Spotify is a digital audio music streaming platform that provides you quick access to 60 million songs, in which you can search from old classics music to the latest hits. The basic features of a freemium service include automatic music videos or advertisements. Additional features include commercial-free listening, offline listening and are also offered some paid subscriptions.
In this article, we will show you how Linux users install Spotify on Ubuntu 20.04. Using two different ways you can install Spotify on your Ubuntu system as a snap package utilizing the Snapcraft store or from the Spotify repositories through a deb package. The Spotify installation process on Ubuntu distribution is relatively straightforward and can install it in a few minutes.
Method 1: Install Spotify from the Snapcraft store
The Snap package for Spotify is distributed and managed by Microsoft. Snap packages contained all the dependencies that are necessary to run an application. These packages are secure and easy to upgrade.
You can install the snap packages either using the terminal or from the Ubuntu Software application via the GUI. To install Spotify using the snap package, open the terminal via the keyboard shortcut ‘Ctrl +Alt +t’ or you can access the terminal by typing the ‘terminal’ in the application search bar and run the following command on the terminal:
$ sudo snap install spotify
If you don’t want to install Spotify using the terminal then, go into the Ubuntu Software and type ‘Spotify’ in the search bar. You will select Spotify from all results. The following window will display on your system:
Click on the ‘Install’ to install Spotify on Ubuntu 20.04. When you install Spotify using the snap, Spotify will automatically update in the background in case of a new release version.
Method 2: Install Spotify from the Spotify Apt repository
You can install Spotify from the Spotify apt repository. Using the following steps you can install it:
Step 1: Import GPG key
First, you need to import the GPG key. Therefore, run the following command to import the GPG key on your system:
$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 4773BD5E130D1D45
Step 2: Add Spotify repository
As you are installing the Spotify from the Spotify apt repository, therefore, you need to add the Spotify repository to your system. Execute the following command to add the Spotify repository to your system:
$ echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
Step 3: Update and install Spotify
Once the Spotify repository is enabled on the Ubuntu system, update the apt repository by using the given command:
$ sudo apt update
Now, install the Spotify using the following command:
$ sudo apt install spotify-client
Press ‘y’ from the keyboard to continue the installation of Spotify. After that, the installation will be completed.
Step 4: Launch Spotify
Once the installation is completed, launch Spotify on your system Ubuntu 20.04. Click on the ‘Activities’ located at the top left corner and then search the ‘Spotify’ keyword in the application search bar. You will see the following result:
Click on the Spotify icon. The following window you will see on the desktop:
Congratulations! Now Spotify is installed on your system. You can log in to your Spotify account or can create a new account to use this application for entertainment.
When a new version of Spotify is released, you can upgrade or update the package using your standard desktop Software update tool. You can also update the apt repository or upgrade packages by running the following commands:
$ sudo apt update
$ sudo apt upgrade
In this article, we have explained how Linux users can install Spotify on Ubuntu 20.04 system. If Spotify is not available on your system using the VPN you can remove the GEO restrictions. I hope this article will help you. Please let us know via comments in case of any problem.