#### Beyond Linux® From Scratch (systemd Edition) - Version r13.0-491

### Chapter 4. Security

- Prev

  GnuTLS-3.8.13

- Next

  gpgmepp-2.0.0

- Up
- Home

# gpgme-2.0.1

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

### Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

### Package Information

- Download (HTTP): https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-2.0.1.tar.bz2

- Download MD5 sum: 73b6d337d02e1829323ef44830e92117

- Download size: 1.3 MB

- Estimated disk space required: 25 MB (with tests)

- Estimated build time: 0.2 SBU (with tests and parallelism=4)

### gpgme Dependencies

#### Required

libassuan-3.0.2

#### Recommended

GnuPG-2.5.19 (as per upstream recommendation)

#### Optional

Doxygen-1.17.0

## Installation of gpgme

Install gpgme by running the following commands:

    mkdir build &&
    cd    build &&

    ../configure --prefix=/usr --disable-static &&
    make

To test the results, you should have GnuPG-2.5.19 installed. If so, run:

    make -k check

Now, as the `root` user:

    make install

## Command Explanations

`--disable-static`: This switch prevents installation of static versions of the libraries.

`--disable-gpg-test`: Use this switch if GnuPG-2.5.19 is not installed.

## Contents

Installed Program: gnupg-key-manage, gpgme-json, and gpgme-tool
Installed Libraries: libgpgme.so
Installed Directory: /usr/share/common-lisp/source/gpgme

### Short Descriptions

gnupg-key-manage | performs a variety of operations on GPG keys, including identifying keys and deleting them
gpgme-json | outputs gpgme commands in JSON format
gpgme-tool | is an assuan server exposing gpgme operations, such as printing fingerprints and keyids with keyservers
`libgpgme.so` | contains the gpgme API functions

- Prev

  GnuTLS-3.8.13

- Next

  gpgmepp-2.0.0

- Up
- Home