12

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

rubo77
  • 31,573
  • 49
  • 159
  • 281
  • Related bug report: [Please update KeePassX to v2.0 Alpha](https://bugs.launchpad.net/bugs/1128151) – ændrük Apr 10 '13 at 21:57

3 Answers3

12

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
user148439
  • 136
  • 1
  • 3
  • 1
    do this first if you missing any libraries. - sudo apt-get build-dep keepassx - sudo apt-get install ubuntu-dev-tools cmake zlib1g-dev libgcrypt11-dev – Kobe Oct 30 '13 at 17:04
  • This was one of the first open source projects I've ever been able to successfully build; After tens and tens of tries, finally a build system that actually works upon release. – ThorSummoner Jan 22 '16 at 04:26
  • after I've compiled it, can I completely delete the folder "keepassx"? – Incerteza Mar 03 '16 at 17:25
9

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

rubo77
  • 31,573
  • 49
  • 159
  • 281
5

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
Cody Banman
  • 51
  • 1
  • 2