This quick tutorial shows you how to install the Spotify client in Ubuntu 15.04 Vivid and fix the app does not launch issue due to miss library libgcrypt.so.11.
Install Spotify client:
1. Add Spotify’s official Linux repository by running command:
sudo add-apt-repository "deb http://repository.spotify.com stable non-free"
2 Get the secure key:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59
3. Refresh your system package cache via Software Updater, or by running below command:
sudo apt-get update
4. Finally install the client app through Synaptic, or by running command:
sudo apt-get install spotify-client spotify-client-qt
For Gnome-Shell, you may also install the “spotify-client-gnome-support” package:
sudo apt-get install spotify-client-gnome-support
Fix Spotify not launching issue:
Ubuntu 15.04 misses the libgcrypt11 package in its official repositories, so that Spotify won’t launch and you’ll get below error message if you start it from terminal:
spotify: error while loading shared libraries: libgcrypt.so.11: cannot open shared object file: No such file or directory
To fix the issue, just download and install the package from the repository of Ubuntu 14.04 LTS.
Don’t know your OS type? Check it out at top-right corner shutdown menu -> About This Computer.
Once downloaded, click the package to open with Ubuntu Software Center and install it. Finally launch Spotify client from the Dash/App Menu.