# on Ubuntu 18.04 sudo apt-add-repository ppa:jtaylor/keepass sudo apt update sudo apt install keepass2 # on Ubuntu 20.04 sudo apt install keepass2