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-7.10 platform.

Package Information

Gcr Dependencies


GLib-2.50.0, libgcrypt-1.7.3, libtasn1-4.9, and p11-kit-0.23.2



GTK-Doc-1.25 and Valgrind-3.11.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 &&

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

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.1. 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 certificate and key files.


contains GObject bindings for PKCS#11.


contains functions for high level crypto parsing.

Last updated on 2016-10-13 09:36:45 -0500