gnupg-2.1 Install

Murphy mac3iii at
Mon Aug 11 06:56:26 CEST 2014

Hash: SHA1

For some of us relatively new Ubuntu Linux users installing the latest
gnupg can be a challenge.  I usually end up putting Ubuntu into some
strange state before everything works.  I propose a method to help us
newbies.  Successful installation steps on a brand new Oracle VM
VirtualBox installation of Ubuntu 14.04 should be published.  A new
install has no non-standard libraries etc and so should be
reproducible for everyone starting from scratch.  Working in a virtual
environment doesn't mess up your normal installation and you can save
various stages to try something new.  As an example here is what is
required on a new Ubuntu install for Gnupg 2.0.25:

1.  Download, unpack, and verify: libgpg-error-1.13, libgcrypt-1.6.1,
libassuan-2.1.1, libksba-1.3.0, pth-2.0.7
2.  cd new directory, ./configure, make, sudo make install, make
check; each of above in order
3.  sudo apt-get install gtk+-2.0
4.  Download, unpack, verify: pinentry-0.8.3, do the steps in 2 for
pinentry only
5.  Download, unpack, verify: Gnupg-2.0.25
6.  Do step 2 for Gnupg-2.0.25 only
6.  This is garaunteed to pass all 28 tests on a virgin install of
Ubuntu 14.04 and should work on your actual working Ubuntu install
with other versions of Gnupg present.

Now I ask the help of the group.  I have been unsuccessful in doing
the same for the beta version of Gnupg-2.1.  Simply installing npth,
libpg-error, libgcrypt, libksba, and libassuan does not even come
close to succeeding.  npth requires LDAP that requires something
called BerkelyDB that seems to be satisfied by sudo apt-get install
libdb-dev, libdb++-dev (I think).  Even then the compile limps along
and fails 27/29 tests.  If anyone has succeeded in doing this
reproducibly on a virgin Ubuntu install I would appreciate seeing the
detailed steps (and I'm sure others would too).

Hopefully yours, Sandy
Version: GnuPG v1


More information about the Gnupg-users mailing list