Introduction to GPGME

The GPGME package is a C library that allows cryptography support to be added to a program. It is designed to make access to public key crypto engines like GnuPG or GpgSM easier for applications. GPGME provides a high-level crypto API for encryption, decryption, signing, signature verification and key management.

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

Package Information

  • Download (HTTP):

  • Download MD5 sum: 78b1533c593478982ee2fc548260c563

  • Download size: 1.3 MB

  • Estimated disk space required: 135 MB (with all bindings)

  • Estimated build time: 0.4 SBU (with parallelism=4; with all bindings, add 0.2 SBU for tests)

GPGME Dependencies




Doxygen-1.8.14 (for API documentation), GnuPG-2.2.4 (required if Qt or SWIG are installed; used during the testsuite), Clisp-2.49, Python-2.7.14, Qt-5.10.1, and/or SWIG-3.0.12 (for language bindings)

User Notes:

Installation of GPGME

Install GPGME by running the following commands:

./configure --prefix=/usr --disable-gpg-test &&

To test the results, you should have GnuPG-2.2.4 installed and remove the --disable-gpg-test above. Issue: make check.

Now, as the root user:

make install

Command Explanations

--disable-gpg-test: if this parameter is not passed to configure, the test programs are built during make stage, which requires GnuPG-2.2.4. This parameter is not needed if GnuPG-2.2.4 is installed.


Installed Program: gpgme-config and gpgme-tool
Installed Libraries: and
Installed Directory: /usr/share/common-lisp/source/gpgme

Short Descriptions


is used to obtain GPGME compilation and linking information.


prints fingerprint and keyid with keyservers.

contains the GPGME API functions for applications using pthread.

contains the GPGME API functions.

Last updated on 2018-02-22 07:11:22 -0800