This one is written because to install Keepass2 successfully on Ubuntu 15.04 you need to read and search through at least 5 different sources. So without further ado:
Add ppa’s for Keepass indicator plugin:
sudo add-apt-repository ppa:dlech/keepass2-plugins sudo add-apt-repository ppa:dlech/keepass2-plugins-beta sudo apt-get update
Second one contains updated version with solved problem of missing libmagickwand5 dependency.
The following command will install Keepass2 with indicator plugin and all dependencies that you’ll normally find missing later:
sudo apt-get install keepass2-plugin-application-indicator mono-complete xdotool
Integration with browsers
sudo cp ~/Downloads/KeePassHttp.plgx /usr/lib/keepass2/plugins
And that’s it. You’ve saved few hours of searching through reported issues and other google results. Relax and enjoy using secure password manager comfortably.
P.S.– Remember to always make a backup of your password database. Some kind of synchronization service like ownCloud, Unison + own server or Dropbox +/- encfs might be suitable for you.