I’m a big fan of Spotify, a music listening service that lets you listen to top songs for free with minimal advertising. I’m also interested in programmatically generating Spotify playlists, so of course I’ll be doing that work on a Linux machine. So I need a way to run Spotify on Linux.
Spotify offers an Ubuntu version of their software in deb format, but that’s not particularly helpful for me since I’m on Archlinux. It took a bit to figure out, but here are the steps to get Spotify running on Archlinux via wine.
1) Install wine and assorted utilities
sudo pacman -S wine wine_gecko winetricks
2) Configure wine for an initial run
winecfg
3) Install native winhttp code from Windows
winetricks winhttp
4) Install and run spotify
winetricks spotify
At this point, I was up and running with Spotify on Archlinux with wine, sound and everything! If there are issues, check the output and try to work from there for debugging. Before I had native winhttp installed, the app would crash immediately after log-in, which is the first time that the winhttp code is run with Spotify on wine. If you have no sound, then muck around in the Audio tab of winecfg and see if you can get it going. In general, ALSA is quite stable and pretty default. If it doesn’t work, you can fall back to the older OSS sound output too.
Either way, I’m now enjoying running Spotify through wine on my Archlinux laptop with no issues. Good luck getting yours set up too!
Post a Comment