On 11/22/2017 06:00 AM, Dmitry Gudkov wrote: > ...clear instructions to compile the latest version for Ubuntu 16.04.3? Hi Dmitry - I haven't finished testing Werner's suggestions but this will work on Ubuntu 16.04: 1. create an empty file: gpg223.sh and cut, paste and save the following:
cd ~/Downloads version=gnupg-2.2.3 wget https://gnupg.org/ftp/gcrypt/gnupg/$version.tar.bz2 wget https://gnupg.org/ftp/gcrypt/gnupg/$version.tar.bz2.sig tar xf $version.tar.bz2 cd $version sudo apt-get update sudo apt-get install -y libldap2-dev sudo apt-get install -y gtk+-2 sudo apt-get install -y rng-tools sudo apt-get install -y libbz2-dev sudo apt-get install -y zlib1g-dev sudo apt-get install -y libgmp-dev sudo apt-get install -y nettle-dev sudo apt-get install -y libgnutls28-dev sudo apt-get install -y libsqlite3-dev sudo apt-get install -y adns-tools sudo apt-get install -y libreadline-dev sudo apt-get install -y qtbase5-dev sudo apt-get install -y pinentry-gtk2 sudo apt-get install -y pcscd scdaemon sudo make -f build-aux/speedo.mk INSTALL_PREFIX=/usr/local speedo_pkg_gnupg_configure='--enable-g13 --enable-wks-tools' native sudo ldconfig 2. run the above in the location you saved it: sudo bash gpg223.sh 3. after maybe 5-10 minutes it should complete the compilation, check the install: gpg --version 4. create subdirectories (if necessary) with: gpg -K 5. use nano to create a configuration file: nano ~/.gnupg/gpg-agent.conf 6. add the line: pinentry-program /usr/bin/pinentry-gtk-2 7. save by ctrl-x, y, enter One final note for 32 bit machines or operating systems (VM in 32 bit mode or Raspberry Pi) I found the following change is needed: 1. sudo nano /etc/ld.so.conf 2. add as the first line: include /etc/ld.so.conf.d/libc.conf 3. save 4. sudo ldconfig Hope it works for you! Murphy
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users