sudo apt-get install pinentry-curses
add pinentry-program /usr/bin/pinentry-curses to ~/.gnupg/gpg-agent.conf
#cd
#wget ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-2.1.0.tar.bz2
#wget ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-2.1.0.tar.bz2.sig
#gpg --verify gnupg-2.1.0.tar.bz2
#tar -xvf gnupg-2.1.0.tar.bz2
#cd gnupg-2.1.0
#make -f build-aux/speedo.mk native
#export LD_LIBRARY_PATH="/home/[user]/gnupg-2.1.0/PLAY/inst/lib"
#cd PLAY/inst/bin
#./gpg2
sudo apt-get install pinentry-curses
add pinentry-program /usr/bin/pinentry-curses to ~/.gnupg/gpg-agent.conf
#cd
#wget ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-2.1.0.tar.bz2
#wget ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-2.1.0.tar.bz2.sig
#gpg --verify gnupg-2.1.0.tar.bz2
#tar -xvf gnupg-2.1.0.tar.bz2
#cd gnupg-2.1.0
#make -f build-aux/speedo.mk native
#export LD_LIBRARY_PATH="/home/[user]/gnupg-2.1.0/PLAY/inst/lib"
#cd PLAY/inst/bin
#./gpg2