23 December 2008

HOWTO: Install KeePassX for Ubuntu 'Hardy'

KeePassX is a cross-platform application that can store various bits of useful information like passwords, software license keys, account numbers, etc... in an encrypted database. It is available for Windows, Mac OS X, and Linux, and the database it keeps is portable between these platforms.

The packages for Windows and OS X look pretty straight-forward, but installing it under Ubuntu 8.04 'Hardy' this morning was an unexpected pain. Here's how to do it:

  1. goto the KeePassX downloads page and grab the version under "Linux...Ubuntu 8.04 (Hardy Heron)" labeled "DEB binary package v0.3.4 (x86)".
  2. edit your /etc/apt/sources.list file to enable the 'backports' repositories.
  3. use the Synaptic package manager and install the following: libqt4-core libqt4-gui libqt4-dbus libqt4-network libqt4-script libqt4-test libqt4-xml libqt4-assistant libqt4-designer libqt4-opengl libqt4-svg (you'll probably get all of these, plus a few more, as dependencies once you mark the first few for install).
  4. then launch the gdebi package manager by double-clicking on the KeePassX '.deb' file you downloaded in step 1 and click the 'Install' button.

KeePassX should now install w/o any dependency-based errors and show up in your "Applications..Accessories" menu.

I suspect much of this libqt-based nonsense would be moot if you run the KDE version of Ubuntu named 'Kubuntu,' as KDE itself depends on the Qt libs. But this is how I got it to install under GNOME on the std. Ubuntu 8.04.

Search Lifehacker.com for tips & tricks on using KeePassX, and the orig. Windows version KeePass.

No comments: