Install KeePass 2.36 Via PPA in Ubuntu 16.04, 14.04, 17.04

KeePass2

KeePass password manager 2.36 was released early this month with many new features and improvements. Now you can install it via a PPA in Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.04, and derivatives.

KeePass was originally for Windows only, but now uses Mono to run on Linux. For those who want a native Linux password manager software, try KeePassX or KeePassXC.

New features in KeePass 2.36:

  • Added commands ‘Find Duplicate Passwords’ and ‘Find Similar Passwords’.
  • Added command ‘Password Quality Report’.
  • Added option ‘String name’ in the ‘Edit’ -> ‘Find’ dialog.
  • Added option for using a gray tray icon.
  • Added {CMD:/…/} placeholder, which runs a command line.
  • Added {T-CONV:/…/Raw/} placeholder, which inserts a text without encoding it for the current context.
  • Added optional ‘Last Password Modification Time (Based on History)’ entry list column.
  • The internal text editor now supports editing PS1 files.
  • The position and size of the internal data viewer is now remembered and restored.
  • For various dialogs, the maximized state is now remembered and restored.
  • Added configuration option for specifying an expiry date for master keys.
  • Added configuration option for specifying disallowed auto-type target windows.
  • Added workaround for Edge throwing away all keyboard input for a short time after its activation.
  • Added workaround for Mono not properly rendering bold and italic text in rich text boxes.
  • TrlUtil now performs a case-sensitive word validation.

How to Install KeePass 2.36 in Ubuntu:

Open terminal via Ctrl+Alt+T or by searching for “Terminal” from app launcher. When it opens, run following commands one by one:

1. Run command to add the KeePass2 PPA:

sudo add-apt-repository ppa:jtaylor/keepass

Type in your password (no visual feedback while typing due to security reason) when it asks and hit Enter.

KeePass2 PPA

2. Then upgrade KeePass password safe via Software Updater if you have a previous version installed:

upgrade KeePass2

Or run commands to install / upgrade the software:

sudo apt-get update && sudo apt-get install keepass2

Uninstall:

The PPA repository can be removed via Software & Updates utility under Other Software tab. To remove KeePass password safe, simply run command:

sudo apt-get remove --autoremove keepass2

Source