sudo apt-get install libxtst-dev build-essential libqt4-dev qt4-qmake wget http://downloads.sourceforge.net/keepassx/keepassx-0.4.3.tar.gz tar -zxvf keepassx-0.4.3.tar.gz cd keepassx-0.4.3/ qmake-qt4 make sudo make install rm keepassx-0.4.3.tar.gz rm -r keepassx-0.4.3 /usr/bin/keepassx