SEARCH

How-To Geek

Install KeePass Password Safe on Your Ubuntu or Debian-Based Linux System

Have you been wanting an easy way to set KeePass Password Safe 2 up on your Linux systems? Then get ready to rejoice. Now you can get that KeePass goodness on your Ubuntu or Debian-Based Linux system using a PPA, the Command Line, or manual installation files.

To add the new PPA open the Ubuntu Software Center, go to the Edit Menu, and select Software Sources. Access the Other Software Tab in the Software Sources Window and add the first of the PPAs shown below (outlined in red). The second PPA will be automatically added to your system.

Once you have the new PPAs set up, go back to the Ubuntu Software Center and click on the PPA listing for KeePass 2 on the left (highlighted with red in the image). There will be a single listing in the right pane…click Install.

After the installation is complete you can find KeePass2 waiting for you in the Accessories sub-menu.

All that is left to do is get your new password database up and running!

Command Line Installation

For those of you who prefer using the command line for installation use the following commands:

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

Links

KeePass2 PPA at Launchpad

Download KeePass Password Safe for your Debian-Based Linux System [Debian.org] *Note: Manual installation files.

Learn more about the Debian/Ubuntu Releases of KeePass Password Safe [KeePass Password Safe Forums]

Visit the KeePass Password Safe Homepage

Bonus

You can download the wallpaper shown in the screenshots above here:

Hanging the Laundry Out to Dry [Photobucket]

Akemi Iwaya (Asian Angel) is our very own Firefox Fangirl who enjoys working with multiple browsers and loves 'old school' role-playing games. Visit her on Twitter and .

  • Published 05/6/11

Comments (14)

  1. Teotoo

    How does this fare against KeepassX in the Ubuntu Software Centre?

  2. Jeth Calark

    In that last picture, there are a set of icons next to “System”. Are those game icons, and where did you get them? They look amazing!

  3. James Thoenes

    @Teotoo KeepassX is is not compatible with Keepass 2 databases. AFAIK

  4. Terry Chen

    @James Thoenes Yeah, it is actually a port of KeePass 1.x mainly for GNU/Linux. The author is working on KeePassX 2 and it will support KeePass 2.x databases.

  5. Terry Chen

    Well, the package makes installing KeePass 2.x under Linux easier, but it doesn’t do everything for us. The global auto-type feature is not ready yet when you finish installing the debian package. You have to compile the latest version of xdotool and create a system-wide hot key yourself. Refer to the “Running KeePass under Mono (Linux, Mac OS X, BSD, …)” part of the help center: http://keepass.info/help/v2/setup.html#mono.
    For those who want KeePass in other languages, copy the KeePass 2.x language file (*.lngx) to the directory $XDG_DATA_HOME/KeePass. Start KeePass. In the main menu, click ‘View’ – ‘Change Language…’. In the dialog that opens, select your language. In the restarting prompt, click [Yes].
    What I hate about KeePass 2.x under GNU/Linux is that it is dependent on Mono. So I will stick with KeePassX.

  6. Terry Chen

    Installing xdotool with apt-get install xdotool will not work if you need global auto-type feature, because you get a pretty ancient version of xdotool. Go to http://www.semicomplete.com/projects/xdotool/ to download the source code. Extract the tarball and solve the dependencies with sudo apt-get install xorg-dev. Then use sudo make && make install to install xdotool. It’s pretty easy and just don’t panic.

  7. Terry Chen

    Sorry, it is make && sudo make install. Please edit the comment above for me. Thanks!

  8. AsianAngel

    @James Thoenes & Terry Chen – Thanks for joining in on the conversation gentlemen and helping out while I was gone. ^_^ I really appreciate it. ^_^

  9. AsianAngel

    @Jeth Calark – Those icons are still there from when I had a Need for Speed theme set up on my Maverick Meerkat system. ^_^ Here are the links for the whole effect…

    Use the first wallpaper from our:

    Desktop Fun: Need for Speed Wallpaper Collection

    http://www.howtogeek.com/howto/37124/desktop-fun-need-for-speed-wallpaper-collection/

    And grab the whole icon set (.png format) from here:

    Need for Speed Pack

    http://kraytos.deviantart.com/art/Need-for-Speed-Pack-130537388

    The wallpaper and icons also look nice on a Windows system with either a purple or blue Aero colour to match the wallpaper. ^_^

  10. Terry Chen

    @AsianAngel You’re welcome!^_^
    BTW, the process of configuring the auto-type hot key described in the help center is too complicated. We can use gnome-keybinding-properties to set up the hot key. Please follow these steps on Ubuntu Linux:
    Press Alt-F2, enter gnome-keybinding-properties and click [OK].
    Click [Add], enter a name for the hot key(KeePass, for example) and mono /usr/lib/keepass2/KeePass.exe --auto-type, then click [Apply].
    Find and click the appropriate hot key in the list, then specify the hot key of your choice.

  11. Ivan

    Since I can’t import my keepassx files, this is as useful as a milk bucket under a bull.

  12. Ryan

    i use mono to open up keypass in ubunut but i will give this a try. thanks

  13. Jeroen

    I ‘ll keep using keepassX till an update is available in the official repositories. With safety programs you can’t be to carefull when choosing your sources.

  14. Vikas Goel

    I have been trying to use keepass on Mac OS, using mono, but haven’t been able to make it work seamlessly. I want to be able to default open Keepass using mono, but am not able to configure that.

    It would be really nice if someone can detail step by step process on installing KeePass on Mac OS.

Get Free Articles in Your Inbox!

Join 134,000 newsletter readers

Email:

Go check your email!