Introduction to libxcb

The libxcb package provides an interface to the X Window System protocol, which replaces the current Xlib interface. Xlib can also use XCB as a transport layer, allowing software to make requests and receive responses with both.

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

Package Information

libxcb Dependencies


libXau-1.0.11 and xcb-proto-1.16.0



Doxygen-1.10.0 (to generate API documentation) and libxslt-1.1.39

Installation of libxcb

Install libxcb by running the following commands:

./configure $XORG_CONFIG      \
            --without-doxygen \
            --docdir='${datadir}'/doc/libxcb-1.16 &&
LC_ALL=en_US.UTF-8 make

To test the results, issue: make check.

Now, as the root user:

make install

If the package was built as a non-root user, the installed documentation is now owned by this user. As the root user, fix the ownership:

chown -Rv root:root $XORG_PREFIX/share/doc/libxcb-1.16

Command Explanations

LC_ALL=en_US.UTF-8: Some Python 3 script in the building system of this package may fail with certain system locale settings. This environment variable forces a locale setting known to work.

--without-doxygen: Do not use doxygen to generate API documentation (default: auto). Without it, if Doxygen-1.10.0 is installed, the API documentation will be generated and installed.


Installed Programs: None
Installed Libraries:,,,,,,,,,,,,,,,,,,,,,,, and
Installed Directories: $XORG_PREFIX/include/xcb and $XORG_PREFIX/share/doc/libxcb-1.16

Short Descriptions

is an interface to the X Window System protocol