Wednesday, December 30, 2015

KeePassX 2.0 On Redhat 6 / Cent OS 6 / OL6

I'm sure we all know the virtues of long, complex and unrememberable passwords and the need for a tool to store them. My favourite has been KeePass, with a shared database on a cloud drive.

KeePassX has long been around for native Linux support, but hasn't been compatibility with the KeePass 2 (Professional Edition) database format kdbx. Well the excellent authors have release KeePassX 2.0 which is a rewrite with kdbx support.  Currently only available as source code, the following instructions will help you to compile and install on Redhat 6/ CentOS 6 /Oracle Linux 6.

Required packages
$ sudo yum install cmake gcc-c++ qt-devel qt libgcrypt libgcrypt-devel libXtst libXtst-devel

NOTE* GIT version uses QT5 plus other packages.

Download source
$ wget
$ tar zxvf keepassx-2.0.tar.gz
$ cd keepassx-2.0

Create UNIX Makefiles

Compile and install
$ make
$ sudo make install

$ /usr/local/bin/keepassx