how to install KeePassX 2.0 Alpha on ubuntu

On the KeePassX site there is only a Linux version 0.4.3 for download.

how can I install the latest version on Ubuntu?

The problem is, that Version 0.4 is basically unmaintained.

see: https://www.keepassx.org/dev/issues/78#change-186


Solution 1:

I didn't have any trouble building from source:

# Assuming you have basic build tools already installed
sudo apt-get install cmake libgcrypt11-dev
git clone https://github.com/keepassx/keepassx.git
cd keepassx/
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local
make 2>&1 | tee make.log
sudo make install 2>&1 | tee make-install.log

Solution 2:

In this Related bug report: Please update KeePassX to v2.0 Alpha

The developer now offers a PPA with daily builds for those who would like to test it: https://launchpad.net/~keepassx/+archive/daily

Solution 3:

Just to simplify things. To install from the repository robo77 mentioned:

sudo apt-add-repository ppa:keepassx/daily
sudo apt-get update
sudo apt-get install keepassx