I have been known to rave on how good Spotify is; by the same token, I have been known to rave on how good Linux is, and in particular its incarnation that I tend to use the most - Ubuntu. This post is written to share some insights on using a free Spotify account in Ubuntu land, and it's written because:
- Generally speaking, Spotify does not support Linux.
- While Spotify does offer an experimental Linux version, that version is only accessible to paying Spotify users because thus far Spotify has been unable to integrate ads into the software.
That is... until you install the latest version of Spotify's Windows client, or - as has happened to me - until Spotify upgrades itself automatically to the latest version (currently version 8) without asking for your approval. Once that has happened, Spotify kept on crashing on all my Ubuntu machines. Given how important Spotify is to me I had to fix the problem, and indeed I did so after some Googling and playing around. The rest of this post is here to tell you what I did to get Spotify up and running again in Ubuntu land.
First, a summary for those who know their way around Linux:
- I removed my existing installation of Wine and all the Windows software installed under it.
- I installed the latest version of Wine (not through Ubuntu's repositories).
- I installed winhttp using Winetricks.
- Uninstall all of Wine's Windows applications (I have found that using Wine's own uninstaller to remove Spotify alone did not really remove it):
rm -rf .wine
- Uninstall Wine through the Ubuntu Software Center.
- To remove the last traces of Wine that may still be there, do the following (note the following will still leave menu items and other stuff behind; those do not matter much as far as making Spotify work is concerned):
sudo apt-get remove wine
- Install the latest version of Wine, 1.3.3:
sudo apt-add-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.3
- Start Winetricks, a Linux application which has been installed as part of the new Wine installation.
- Make the following selections in Winetricks' menus:
a. Select the default wine prefix
b. Install a Windows DLL or component
c. Choose to install winhttp (out of the long list of options available).
- Download the latest version of Spotify for Windows (here).
- Install Spotify into Wine by right-clicking the Spotify installation file you've just downloaded and choosing to open it using Wine.
- You may need to set wine up for Spotify again in order to have proper sound (as described here under Wine configuration).