Spotify is my favorite streaming music app and I install Spotify in Ubuntu 15.04 or any other OS/version without any fail.
I know that it has a very sleek web UI but installing Spotify desktop app in Ubuntu gives access to a few features I love. These features include desktop notification and sound menu integration. If you are a Spotify fan like me, we shall see how to install Spotify in Ubuntu 15.04 in this quick post.
Now the question is, why am I writing a separate article on Spotify installation in Ubuntu 15.04 when the procedure to install is exactly the same as in previous version. Actually, there is a twist in the tale here. You ‘might’ find out that Spotify doesn’t start in Ubuntu 15.04 after installation. We shall see how to fix that but first let’s see how to install Spotify desktop app in Ubuntu.
Install Spotify in Ubuntu 15.04
Open a terminal and use the following commands:
sudo add-apt-repository "deb http://repository.spotify.com stable non-free"
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59
sudo apt-get update sudo apt-get install spotify-client
Once you have installed the Soptify desktop client, go in Unity Dash, search for it and start it. If you are lucky, Spotify will be playing nice and smooth but if Spotify client does not start in Ubuntu 15.04, don’t worry. There is a known issue and we can easily fix it.
So, Spotify won’t start in Ubuntu 15.04 and if you try to start in terminal, you’ll see a message like:
spotify: error while loading shared libraries: libgcrypt.so.11: cannot open shared object file: No such file or directory
And that gives us the reason why Spotify doesn’t start. We are missing libgcrypt 11. This library is required by Spotify client but it is missing in Ubuntu 15.04 because it uses libgcrypt20 by default. So to fix this issue with Spotify, you can manually install libgcrypt11. Based on your system, download the 32 bit or 64 bit .deb packages from the links below:
Just double click on the downloaded .deb file to install libgcrypt 11. Once it is installed, try to start Spotify again. No need of a reboot. Spotify desktop client should be running smoothly now. Here is a screenshot of Spotify running in my Ubuntu 15.04 Unity.
In near future, if Spotify Linux client is repackaged to libgcrypt20, there will be no such issues. But till then, you’ll have to install it manually. I hope you find this tutorial helpful in installing Spotify on Ubuntu 15.04. Any questions or suggestions are most welcomed.