Introduction to Libgcrypt

The Libgcrypt package contains a general purpose crypto library based on the code used in GnuPG. The library provides a high level interface to cryptographic building blocks using an extendable and flexible API.

Package Information

Libgcrypt Dependencies



User Notes:

Installation of Libgcrypt

Install Libgcrypt by running the following commands:

./configure --prefix=/usr &&

Only info documentation is shipped in the package tarball. If you wish to build alternate formats of the documentation, you must have teTeX-3.0 installed, then issue the following commands:

make -C doc pdf ps html &&
makeinfo --html --no-split -o doc/gcrypt_nochunks.html doc/gcrypt.texi &&
makeinfo --plaintext       -o doc/gcrypt.txt           doc/gcrypt.texi

To test the results, issue: make check.

Now, as the root user:

make install &&
install -v -m644 -D README /usr/share/doc/libgcrypt-1.2.4/README

If you built the additional documentation, install it by issuing the following commands as the root user:

install -v -m755 -d /usr/share/doc/libgcrypt-1.2.4/html &&
install -v -m644 doc/gcrypt.html/* \
                    /usr/share/doc/libgcrypt-1.2.4/html &&
install -v -m644 doc/gcrypt_*.html \
                    /usr/share/doc/libgcrypt-1.2.4 &&
install -v -m644 doc/gcrypt.{pdf,ps,dvi,txt,texi} \


Installed Program: libgcrypt-config
Installed Libraries: libgcrypt.{so,a}
Installed Directory: /usr/share/doc/libgcrypt-1.2.4

Short Descriptions


is a utility used to configure and build applications based on the libgcrypt(3) library. It can be used to query the C compiler and linker flags which are required to correctly compile and link the application against the libgcrypt(3) library.


contains the cryptographic API functions.

Last updated on 2008-05-10 18:53:20 -0500