Introduction to GnuPG

The GnuPG package contains a public/private key encryptor. This is becoming 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.8 package.

Package Information

GnuPG Dependencies


OpenSSL-0.9.8g, OpenLDAP-2.3.39, libusb-0.1.12, cURL-7.16.3, an MTA, DocBook-utils-0.6.14, 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 teTeX-3.0 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.

Now, as the root user:

make install &&
chmod -v 4755 /usr/bin/gpg &&

install -v -m755 -d /usr/share/doc/gnupg-1.4.7 &&
mv -v /usr/share/gnupg/{FAQ,faq.html} /usr/share/doc/gnupg-1.4.7 &&
install -v -m644 \
    doc/{highlights-1.4.txt,OpenPGP,samplekeys.asc,DETAILS,*.texi} \

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.7

Command Explanations

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

chmod -v 4755 /usr/bin/gpg: gpg is installed setuid root to avoid swapping out sensitive data.


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.7

Short Descriptions


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


separates key rings.


is a verify only version of gpg.

Last updated on 2008-08-24 11:52:33 -0500