You should first install ghc, cabal, the argon2 library, and zenity For example, on a Debian system: sudo apt-get install ghc cabal-install libargon2-0-dev zenity Then to build and install keysafe: cabal install keysafe