In this short article we will be showing you how to install Spotify on Linux Mint 20. Spotify is a free to use music streaming service with subscription for premium content at a small fee. Spotify has been very successful as it serves millions of users every single day.
Spotify enables you to stream music of your favorite artists, filter latest songs and albums, create custom playlists, shuffle play, share music and podcasts. Spotify is available for installation on Windows, Linux distributions, macOS and Mobile devices powered by iOS and Android operating systems.
Follow the next steps to install and use Spotify on Linux Mint 20 Desktop system.
Step 1: Update System
Update the packages index cache by running the command below as root or user with sudo privileges on the system.
sudo apt update
An upgrade can also be performed if no installed software packages will be affected in any way.
sudo apt upgrade -y
In case of an upgrade system reboot will be required before you continue with the installation of Spotify on Linux Mint 20.
Step 2: Add Spotify APT repository
You can install Spotify on Linux Mint 20 from Snap package or Spotify supported APT repositories. We’ll use APT installation method for one basic reason – easy to update the package at a later stage after installation.
Add Spotify Debian repository to your Linux Mint system by running the following command in the terminal.
echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
Once the repository file is created import GPG key for signature verification.
curl -sS https://download.spotify.com/debian/pubkey_0D811D58.gpg | sudo apt-key add -
Inform the system of the additional repository.
$ sudo apt update Hit:1 http://ppa.launchpad.net/wireshark-dev/stable/ubuntu focal InRelease Hit:2 http://archive.canonical.com/ubuntu focal InRelease Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease Ign:4 http://packages.linuxmint.com ulyana InRelease Hit:5 http://archive.ubuntu.com/ubuntu focal InRelease Hit:6 http://packages.linuxmint.com ulyana Release Hit:7 http://archive.ubuntu.com/ubuntu focal-updates InRelease Get:9 http://repository.spotify.com stable InRelease [3,316 B] Hit:10 http://archive.ubuntu.com/ubuntu focal-backports InRelease Hit:11 https://deb.opera.com/opera-stable stable InRelease Get:12 http://repository.spotify.com stable/non-free i386 Packages [1,171 B] Get:13 http://repository.spotify.com stable/non-free amd64 Packages [1,650 B] Fetched 6,137 B in 1s (4,359 B/s) Reading package lists... Done Building dependency tree Reading state information... Done
From the list of added repositories we can confirm spotify is available.
Step 3: Install Spotify on Linux Mint 20
With the repository configured as expected run the next commands to install Spotify on Linux Mint 20:
sudo apt update sudo apt install spotify-client
Begin installation of Spotify on Linux Mint 20 by agreeing to the prompt using y key:
Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: gconf-service gconf-service-backend gconf2-common libgconf-2-4 Recommended packages: libavcodec57 | libavcodec-extra57 | libavcodec-ffmpeg56 | libavcodec-ffmpeg-extra56 | libavcodec54 | libavcodec-extra-54 libavformat57 | libavformat-ffmpeg56 | libavformat54 The following NEW packages will be installed: gconf-service gconf-service-backend gconf2-common libgconf-2-4 spotify-client 0 upgraded, 5 newly installed, 0 to remove and 443 not upgraded. Need to get 127 MB of archives. After this operation, 299 MB of additional disk space will be used. Do you want to continue? [Y/n] y
Spotify client can be launched on Linux Mint 20 using the command line interface:
Or from Desktop applications launcher:
Before being able to stream music files you’ll need to create an account or login with existing credentials.
That’s how easy it can be to install and start using Spotify on Linux Mint 20 Desktop machine. We have more articles covering Linux Mint usage.