Introduction to GnuPG

The GnuPG package contains a public/private key encryptor. This is useful for signing files or emails as proof of identity and preventing tampering with the contents of the file or email. For a more enhanced version of GnuPG which supports S/MIME, see the GnuPG-2.0.21 package.

This package is known to build and work properly using an LFS-7.4 platform.

Package Information

GnuPG Dependencies


OpenLDAP-2.4.36, libusb-compat-0.1.5, cURL-7.32.0, an MTA, and docbook-to-man

User Notes:

Installation of GnuPG

Install GnuPG by running the following commands:

./configure --prefix=/usr --libexecdir=/usr/lib &&

If you have texlive-20130530 installed and you wish to create documentation in alternate formats, issue the following command:

make -C doc pdf html

To test the results, issue: make check.

Note that if you have already installed GnuPG 2, the instructions below will overwrite /usr/share/man/man1/gpg-zip.1. Now, as the root user:

make install &&

install -v -m755 -d /usr/share/doc/gnupg-1.4.14 &&
cp      -v          /usr/share/gnupg/FAQ \
                    /usr/share/doc/gnupg-1.4.14 &&
install -v -m644    doc/{highlights-1.4.txt,OpenPGP,samplekeys.asc,DETAILS} \

If you created alternate formats of the documentation, install it using the following command as the root user:

cp -v -R doc/gnupg1.{html,pdf} /usr/share/doc/gnupg-1.4.14

Command Explanations

--libexecdir=/usr/lib: This command creates a gnupg directory in /usr/lib instead of /usr/libexec.


Installed Programs: gpg, gpg-zip, gpgsplit, and gpgv
Installed Libraries: None
Installed Directories: /usr/lib/gnupg, /usr/share/gnupg and /usr/share/doc/gnupg-1.4.14

Short Descriptions


is the backend (command-line interface) for this OpenPGP implementation.


shell script that implements a gpg-ized version of tar.


separates key rings.


is a verify only version of gpg.

Last updated on 2013-08-22 15:40:33 -0700