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!
11 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.gzFix 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:
- Open the source file
keepassx/src/lib/random.cppusing a text editor. - 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-essentialBuild and Install
Ensure you are in the root folder of the source (~/Downloads/keepassx-0.4.4 for example).
qmake
make
sudo checkinstall make installKeePassX V0.4.4 should now be available within the launcher.
2