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.
$ sudo yum install cmake gcc-c++ qt-devel qt libgcrypt libgcrypt-devel libXtst libXtst-devel
NOTE* GIT version https://github.com/keepassx/keepassx uses QT5 plus other packages.
$ wget https://www.keepassx.org/releases/2.0/keepassx-2.0.tar.gz
$ tar zxvf keepassx-2.0.tar.gz
$ cd keepassx-2.0
Create UNIX Makefiles
$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_VERBOSE_MAKEFILE=ON -DWITH_GUI_TESTS=ON
Compile and install
$ sudo make install