Add the repository to the software centre. The standard version in software centre is old.
ppa:jtaylor/keepass
Search for ‘KeepassX’ and install.
Auto fill-in
By default, you can’t fill in the user credantials automatically. To make this possible, you have to install another program called ‘xdotool’.
$ sudo apt-get install xdotool