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

Package Information

libxcb Dependencies


libXau-1.0.9 and xcb-proto-1.14.1



Doxygen-1.9.2 (to generate API documentation) and libxslt-1.1.34

User Notes:

Installation of libxcb

Install libxcb by running the following commands:

CFLAGS="${CFLAGS:--O2 -g} -Wno-error=format-extra-args" \
PYTHON=python3                \
./configure $XORG_CONFIG      \
            --without-doxygen \
            --docdir='${datadir}'/doc/libxcb-1.14 &&

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

CFLAGS=...: This variable fixes building this package with GCC-10 and later.

PYTHON=python3: This variable forces configure to use python3 instead of python2. The configure script for this package will automatically default to python2 if it is present.

--without-doxygen: Do not use doxygen to generate API documentation (default: auto). Without it, if Doxygen-1.9.2 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.14

Short Descriptions

is an interface to the X Window System protocol

Last updated on