Spotify has accumulated an impressive assortment of compatible platforms, such as Mac OS, Windows OS, iOS, Android, etc. through its Spotify desktop app or web player. Despite this, Linux, one of the free and open-source software operating systems is yet to support Spotify apps.
Up to now, the official release for Spotify on Linux app isn't expected soon. Fortunately, to play Spotify music on Linux, there are still two possible yet effective workarounds to achieve this goal: One is to install Spotify client in Linux using another way, the other is to download Spotify music offline and transfer them to Linux for listening. Just reading on this article to learn the detailed steps.
Part 1. How to Install Spotify Client on Linux
Although there is no supported Spotify desktop app to work well on Linux development machines, you can still find two ways to install Spotify for Linux, which come from Spotify's engineers who love to listen to Spotify music on Linux. Now, just try the Snap or Deb package to install Spotify with ease.
Snap Install Spotify
Step 1. Please make sure the Snap is installed on your system in advance. If not, please type the following command: sudo apt-get install snapd to install it successfully.
Step 2. Once finished the above step, you can refer to this command: sudo snap install spotify to install Spotify Snap app on your Linux.
Step 3. Now, you can find Spotify for Linux app from the application menu and use the play/pause, forward/backward media keys to enjoy Spotify music and playlists on Linux.
Tips: Snaps app is fully compatible with Ubuntu 18.04, 17.10 and 16.04.
Debian Install Spotify
Step 1. Firstly, you need to verify the downloaded package by adding the Spotify repository signing keys.
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90
Step 2. Add the Spotify repository
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
Step 3. Update list of available packages
sudo apt-get update
Step 4. Install Spotify for Linux
sudo apt-get install spotify-client
If you are still confused when using the above ways, you can refer to the more detailed guide supported by Spotify itself: How to Download Spotify for Linux.
Part 2. How to Download and Sync Spotify Music to Linux
If there is a little difficult to install Spotify app on Linux by using the above two ways or you are just displeasure with its performance and stability, you can have a try another alternative solution to make it possible. Just use AudFree Spotify Music Converter to download Spotify music and playlists offline and convert them to common audio files on your Mac or Windows computer and then sync them to the local drive on your Linux.
- Step 1Import Spotify music/playlists to AudFree
- Open this professional Spotify program, and then you can discover songs, playlists or albums on launched Spotify app and then click the 'three-dots' icon to copy the Spotify playlist URL and paste it to the search box on AudFree to load them to AudFree for downloading. Another way is to drag and drop favorite Spotify files to AudFree's conversion window directly.
- Step 2Customize output format for Linux
- This all-in-one Spotify converter allows users to customize output formats and other audio settings to enhance listening experience. Just enter to the top menu bar and choose 'Preference' -> 'Convert' button to open the setting window to personalize audio parameters. If you are using free Spotify account, you'd better to set bit rate as 320 kbps and sample rate as 414,000 Hz to get higher audio quality.
- Step 3Download and convert Spotify playlist
- Once all settings are ready, please simply press the 'Convert' button at the bottom-right corner. You can see the converting process, which means that AudFree Spotify Music Converter is downloading Spotify music and playlists to plain audio files supported by Linux. The conversion time depends on how many audio files you have added into AudFree.
- Step 4 Play Spotify music and tracks on Linux
- You can click the 'file' icon to be navigated to destination folder and locate converted Spotify files. Now, you just need to move Spotify tracks to the USB flash drive from your Mac or Windows computer and then sync them to Ubuntu computer for playback. Once done, you can use any portable music player, like VLC, to play Spotify playlists on Linux without problem.
Tips: You can use Spotify for Linux to download songs and tracks offline with Spotify premium subscription charging $9.99 per month. But there is no soup for free users to download music from Spotify on Linux. With the assistance of AudFree Spotify Music Converter, you don't need to worry about this issue anymore as it supports for both free and premium users on Spotify to make Spotify songs available offline. You need to pay for $19.95 to get the full version of AudFree program once and for all. Obviously, it's a smart deal. Now, just choose a way to get Spotify music on Linux and play Spotify files on it freely.