Details Lubos Rendek Fedora 24 June 2014
KeePassX is a cross platform password manager to allow users to store and organize password and keep them safe using advanced encryption techniques. This guide describes how to install KeePassX password manager on Fedora Linux.
First download source code from the KeePassX official download page. Example:
$ wget http://www.keepassx.org/releases/keepassx-0.4.3.tar.gz
In the next step we are going to install all prerequisites in order to success fly compile KeePassX:
$ sudo yum install qt-devel qt-config gcc-c++ libXtst-devel
Compilation and Installation
At this point we are ready to decompress KeePassX. Please note your version maybe different:
$ tar xzf keepassx-0.4.3.tar.gz
$ cd keepassx-0.4.3/
and compile using make:
Project MESSAGE: See 'INSTALL' for configuration options.
Project MESSAGE: Install Prefix: /usr
Project MESSAGE: *** Makefile successfully generated.
Project MESSAGE: *** Start make now.
If everything went well now you should have a compiled version of KeePassX available for installation.
$ sudo make install
The above will install KeePassX on your system and should be able to start it from command line using keepassx command:
During the installation I came across compilation error which I believe is bug as getpid definition is missing.
lib/random.cpp: In function ‘void initStdRand()’:
lib/random.cpp:98:19: error: ‘getpid’ was not declared in this scope
stream << getpid();
To fix this problem open
somewhere at the beginning of this document. For example right after