KeePass Version 2 on Ubuntu
By Leo Gaggl
EDIT: As of Ubuntu 11.10 (Oneiric Ocelot) this is now much easier as KeePass 2 has finally made it into the repositories
apt-get install keepass2
————————————————————————————————————-
If you need to read KeepPass 2 data files (.kdbx) on Ubuntu (as well as from other platforms such as Windows or Android) you need to run the Portable Version under Mono (.NET Runtime). Make sure you download the Portable Version 2.x from http://keepass.info/download.html
The default Mono Distribution on Ubuntu (V11 Natty) is missing a few dependencies required for KeePassX
apt-get install libmono-accessibility2.0-cil libmono-addins-gui0.2-cil libmono-addins0.2-cil libmono-cairo2.0-cil libmono-corlib2.0-cil libmono-data-tds2.0-cil libmono-i18n-west2.0-cil libmono-management2.0-cil libmono-messaging2.0-cil libmono-posix2.0-cil libmono-security2.0-cil libmono-sharpzip2.84-cil libmono-sqlite2.0-cil libmono-system-data2.0-cil libmono-system-messaging2.0-cil libmono-system-runtime2.0-cil libmono-system-web2.0-cil libmono-system2.0-cil libmono-wcf3.0-cil libmono-webbrowser0.5-cil libmono-winforms2.0-cil libmono2.0-cil mono-2.0-gac mono-csharp-shell mono-gac mono-gmcs mono-runtime ubuntu-mono
You should be able to start by:
mono KeePass.exe
Further info: http://keepass.info/help/v2/setup.html#mono