10

I'd like to run KeePass2 on Ubuntu 10.04 - how do I do that?

fossfreedom
  • 171,546
  • 47
  • 376
  • 404
jrg
  • 60,101
  • 54
  • 172
  • 246
  • Might I suggest using keepassX? It's available in the repositories and I haven't found anything wrong with it yet (been using it for years now). – iamatrain Oct 16 '15 at 11:28
  • 1
    @iamatrain and others: KeePassX didn't support the newer kdbx-database format (password history, multiple attachments, custom entries with [protected in-memory streams](http://keepass.info/features.html) e.g. storing recovery passwords safely and a lot more features), the latest version of KeePassX (2.0) finally released this month supports the newer format and is a complete rewrite. There are no PPAs yet from developers/maintainers/contributors, but it's easy and quick to build. – LiveWireBT Dec 12 '15 at 09:26

2 Answers2

6

enter image description here

10.04 - lucid

I've been running Keepass2 on Lucid using the standard mono in the repositories (mono -V = mono JIT compiler version 2.4.4)

Note - from the keepass website this is an "unsupported" configuration... however, I'm happy with that since I've never had any issues running this configuration and it means I dont need that one extra PPA that could make my system "unstable" :)

to install

Download the portable KeePass package (v2.19 at the time of writing this). This is a zip package which should open in Archive Manager. Extract the contents into its own folder - for example ~/Downloads/keepass

Install the mono windows forms:

sudo apt-get install libmono-winforms2.0-cil mono-devel

Finally, lets create a keyboard shortcut Alt+K

Run System - Preferences - Keyboard Shortcuts

Add a new shortcuts with the command:

bash -c "cd ~/Downloads/keepass; mono KeePass.exe"

Bind that to Alt+K

To install on 11.04 and above

It is available in the repositories, you can install it. It is the keepass2 package.

keepass2 Install keepass2

fossfreedom
  • 171,546
  • 47
  • 376
  • 404
  • I can't find anything related stating that this is an unsupported configuration, but there is a section about [Mono](http://keepass.info/help/v2/setup.html#mono) and various distributions or platforms now. I also found a [Keebuntu](https://github.com/dlech/Keebuntu) repository that I wanted to mention here. – LiveWireBT Jul 13 '15 at 12:34
  • I had to install `mono-complete` to get it to work together with KeePassRPC ... – 0xC0000022L Sep 25 '19 at 21:34
2

For Ubuntu 12.04 and above

The latest KeePass version is available through this PPA (as of today 2.30) :

sudo apt-add-repository ppa:jtaylor/keepass
sudo apt-get update
sudo apt-get install keepass2

keepass screenshot

hg8
  • 13,410
  • 12
  • 71
  • 103