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

Package Information

libxcb Dependencies


libXau-1.0.9 and xcb-proto-1.15.2



Doxygen-1.9.4 (to generate API documentation) and libxslt-1.1.36

User Notes:

Installation of libxcb

Install libxcb by running the following commands:

PYTHON=python3                \
./configure $XORG_CONFIG      \
            --without-doxygen \
            --docdir='${datadir}'/doc/libxcb-1.15 &&

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

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.4 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.15

Short Descriptions

is an interface to the X Window System protocol