Contents[Hide]
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.

1. KeePassX Download

First download source code from the KeePassX official download page. Example:
$ wget http://www.keepassx.org/releases/keepassx-0.4.3.tar.gz

2. Installation Prerequisites

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

3. 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:
$ qmake-qt4 
Project MESSAGE: See 'INSTALL' for configuration options.
Project MESSAGE: Install Prefix: /usr
Project MESSAGE: *** Makefile successfully generated.
Project MESSAGE: *** Start make now.
$ make
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:
$ keepassx
keepassX linux installation

4. Troubleshooting

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 src/lib/random.cpp and add:
#include <unistd.h> 
somewhere at the beginning of this document. For example right after #include <QTime>

Free Linux eBooks

Do you have the right skills?

Our IT Skills Watch page reflects an up to date IT skills demand leaning towards the Linux and Unix environment. We have considered a number of skills and operating systems.

See the result...

Linux Online Training

Learn to run Linux servers and prepare for LPI certification with Linux Academy. 104 available video lessons with PDF course notes with your own server!

Go to top