Introduction to Gcr

The Gcr package contains libraries used for displaying certificates and accessing key stores. It also provides the viewer for crypto files on the GNOME Desktop.

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

Package Information

Gcr Dependencies


GLib-2.56.1, libgcrypt-1.8.3, libtasn1-4.13, and p11-kit-0.23.13



GTK-Doc-1.28 and Valgrind-3.13.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gcr

Installation of Gcr

Install Gcr by running the following commands:

sed -i -r 's:"(/desktop):"/org/gnome\1:' schema/*.xml &&

./configure --prefix=/usr     \
            --sysconfdir=/etc \
            --without-gtk-doc &&

To test the results, issue: make -k check. The tests must be run from an X Terminal or similar.

Now, as the root user:

make install

Command Explanations

sed ... schema/*.xml: This command fixes a deprecated entry in the schema template.

--without-gtk: Use this switch if you haven't installed GTK+-3.22.30. Note that gcr-viewer will not be installed if this is passed to configure.

--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.


Installed Program: gcr-viewer
Installed Libraries: libgck-1.so, libgcr-3.so, libgcr-base-3.so and libgcr-ui-3.so
Installed Directories: /usr/include/gck-1, /usr/{include,share,share/gtk-doc/html}/gcr-3, and /usr/share/gtk-doc/html/gck

Short Descriptions


is used to view certificates and key files.


contains GObject bindings for PKCS#11.


contains functions for high level crypto parsing.

Last updated on 2018-08-23 13:54:05 -0700