Install KeePassX 2.0 in Ubuntu 16.04, 15.10, 14.04

Last updated: August 4, 2016

KeePassX 2

KeePassX, a native Linux port of KeePass password manager, finally reached the 2.0 release after several years of development.

KeePassX 2 has been rewritten from scratch. It uses the new .kdbx (same as KeePass 2) database format. You can import your .kdb database from 0.4 series from menu Database > Import KeePass 1 database.

New features include:

  • Multiple attachments per entry
  • Add custom key/value pairs to entries
  • Open multiple database in one window

For more details, see official release note.

How to Install KeePassX 2 in Ubuntu:

The official KeePassX PPA does not update at the moment, but a third-party PPA has built the KeePassX 2.0 for Ubuntu 16.04 LTS, Ubuntu 15.04, and Ubuntu 14.04 LTS.

1. Add PPA

Open terminal from Unity Dash, App Launcher, or via Ctrl+Alt+T shortcut key. When it opens, paste below command to add the PPA:

sudo add-apt-repository ppa:eugenesan/ppa

Type in your password when it asks (no visual feedback just type in mind) and hit Enter to continue.

2. After that, upgrade KeePassX by running Software Updater. Or run below commands one by one in terminal:

sudo apt-get update

sudo apt-get install keepassx

For those who don’t want to add PPA, grab the .deb installer directly from HERE.

3. (Optional) As a third-party PPA, it also contains many other applications. You may remove the PPA after installation by either using Software & Updates -> Other Software tab, or running below command in terminal:

sudo add-apt-repository --remove ppa:eugenesan/ppa && sudo apt-get update

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via ubuntuhandbook1@gmail.com Buy me a coffee: https://ko-fi.com/ubuntuhandbook1

14 responses to Install KeePassX 2.0 in Ubuntu 16.04, 15.10, 14.04

  1. one of my “MUST HAVE” apps for my linux installation, good news.

  2. Thx! I’ve been wanting badly for these instructions and the help!!!

  3. Fantastic program — works really well

  4. Jonathan Hartley April 26, 2016 at 1:36 pm

    This is terrible news. The whole reason for using KeePassX was that it supported the old format, so I could share a single database file across many operating systems. :-(

    • Not a bit deal really. All the mobile platforms support kdbx, keepassx now supports kdbx on mac OSX and various *nix flavors. Keepass supports kdbx on windows.

      Which other OS’s do you need support for that aren’t covered between keepassx and keepass ?

  5. How do we know Eugenesan hasn’t built any backdoors or malicious code into the software he’s compiled? I’m making a case for the official PPA to be updated ASAP, and for users to wait till then.

  6. Wow! Finally with Unity support! I always used the “old version” and didn’t noticed, that Unity support is already there. Nice, thank you! :)

  7. Thanks for making KeepassX 2 available for easy install.
    I use the program across Linux/Windows/Windows portable, so it’s invaluable!

  8. This ppa breaks trusty! do NOT install it if you are on trusty.
    It replaces packages (eg metacity-common) with weird versions, thats incompatible with most of the system, that totally breaks mono and its apps like monodevelop.
    ppa-purge cant handle conflicts, you’ll need to manually reinstall broken packages when you’ll remove this ppa, and there’s a plenty of them.

  9. Thank you, works perfectly on 16.04.1!

  10. Hey guys, please consider to NOT use this PPA. When it comes to security nobody should blindly trust those private ppa’s. I installed Keepass2 in ubuntu with simply using:

    sudo apt-get install keepass2

    and afterwards I ran the following command to get plugins working:

    sudo apt-get install mono-complete

    Cheers.

  11. How do I import old files. The program only says open database. I cannot find import database 1. Any answers

  12. I figured it out. I was viewing app in reduced mode. However I have another question. How do I pin app to the dashboard?