Glam Prestige Journal

Bright entertainment trends with youth appeal.

Can someone download the source code and tell me how to compile KeePassX 0.4 for Ubuntu? I have no clue about programming! No matter what I paste into the terminal I get nothing. Please, help me someone, I beg you, Anonimus :)

Thanks!

1

1 Answer

After you download the source (currently the latest version of the 0.4 series is 0.4.4).

Extract the Tarball

tar -xvf keepassx-0.4.4.tar.gz

Fix the Source

The build process currently fails as standard in Ubuntu 18.04 due to a missing include directive. This needs to be added as follows:

  1. Open the source file keepassx/src/lib/random.cpp using a text editor.
  2. Add the line #include <unistd.h> immediately before the line #include <QCryptographicHash> and save the file.

After editing, the random.cpp file should look like:

...
#include <unistd.h>
#include <QCryptographicHash>
...

Install the Dependencies

sudo apt install qt4-default libxtst-dev build-essential

Build and Install

Ensure you are in the root folder of the source (~/Downloads/keepassx-0.4.4 for example).

qmake
make
sudo checkinstall make install

KeePassX V0.4.4 should now be available within the launcher.

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy