Skip to content

Instantly share code, notes, and snippets.

@leemour
Created February 16, 2017 09:54
Show Gist options
  • Save leemour/6661d5c5a0835b90cd85d6f54ce5694c to your computer and use it in GitHub Desktop.
Save leemour/6661d5c5a0835b90cd85d6f54ce5694c to your computer and use it in GitHub Desktop.
Keepassx Ubuntu install script (keepass2)
# http://www.linuxrussia.com/2015/12/keepassx2-ubuntu.html
#!/bin/bash -vx
sudo apt-get install build-essential cmake checkinstall libqt4-dev libgcrypt-dev libxtst-dev
export QT_SELECT=qt4
cd /tmp/ && wget https://www.keepassx.org/releases/2.0.3/keepassx-2.0.3.tar.gz && tar xzvf keepassx-2.0.3.tar.gz
cd keepassx-2.0/ && mkdir build && cd build/
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local
sudo checkinstall --pkgname keepassx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment