%general-entities; ]> GPGME-&gpgme-version; GPGME 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. &lfs120_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &gpgme-md5sum; Download size: &gpgme-size; Estimated disk space required: &gpgme-buildsize; Estimated build time: &gpgme-time; GPGME Dependencies Required Optional and (for API documentation), (required if Qt or SWIG are installed; used during the test suite), , &qt5-deps;, and (for language bindings) Installation of GPGME Install GPGME by running the following commands: mkdir build && cd build && ../configure --prefix=/usr --disable-gpg-test && make PYTHONS= If is installed, build the Python 3 binding as a wheel: if swig -version > /dev/null; then srcdir=$PWD/../lang/python \ top_builddir=$PWD \ &build-wheel-cmd; $PWD/lang/python fi To test the results, you should have installed and remove the above. If is installed, it's necessary to adapt the test suite to use the Python 3 binding just built as a wheel as well. Issue: if swig -version > /dev/null; then python3 -m venv testenv && testenv/bin/pip3 install --no-index --find-links=dist --no-cache-dir \ gpg && sed '/PYTHON/s#run-tests.py#& --python-libdir=/dev/null#' \ -i lang/python/tests/Makefile fi && make -k check PYTHONS= PYTHON=$PWD/testenv/bin/python3 Now, as the root user: make install PYTHONS= If is installed, still as the &root; user, install the Python 3 binding: if swig -version > /dev/null; then &install-wheel; gpg fi Command Explanations --disable-gpg-test: if this parameter is not passed to configure, the test programs are built during make stage, which requires . This parameter is not needed if is installed. PYTHONS=: Disable building Python binding using the deprecated python3 setup.py build command. The explicit instruction to build the Python 3 binding with the pip3 wheel command is provided. Contents Installed Program Installed Libraries Installed Directory gpgme-json, and gpgme-tool libgpgme.so, libgpgmepp.so, and libqgpgme.so /usr/include/{gpgme++,qgpgme,QGpgME}, /usr/lib/cmake/{Gpgmepp,QGpgme}. /usr/lib/python&python3-majorver;/site-packages/gpg{,-&gpgme-version;.dist-info}, and /usr/share/common-lisp/source/gpgme Short Descriptions gpgme-json outputs GPGME commands in JSON format gpgme-json gpgme-tool is an assuan server exposing GPGME operations, such as printing fingerprints and keyids with keyservers gpgme-tool libgpgme.so contains the GPGME API functions libgpgme.so libgpgmepp.so contains the C++ GPGME API functions libgpgmepp.so libqgpgme.so contains API functions for handling GPG operations in Qt applications libqgpgme.so