Skip to content

Instantly share code, notes, and snippets.

@drewbug
Last active February 4, 2016 06:26
Show Gist options
  • Save drewbug/8bf7fac5de88e4055c6c to your computer and use it in GitHub Desktop.
Save drewbug/8bf7fac5de88e4055c6c to your computer and use it in GitHub Desktop.
wget https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-2.1.11.tar.bz2
tar xf gnupg-2.1.11.tar.bz2
pushd gnupg-2.1.11

git clone git://git.gnupg.org/libgcrypt.git
pushd libgcrypt

./autogen.sh
./configure --prefix=$PWD --disable-doc
make
make install

popd

./configure --prefix=$PWD --with-libgcrypt-prefix=$PWD/libgcrypt
make
make install

popd

gnupg-2.1.9/bin/gpg2 --version

@drewbug
Copy link
Author

drewbug commented Nov 12, 2015

Leave out the ---with-libgcrypt-prefix and both --prefix options to install system-wide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment