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.



Development versions of BLFS may not build or run some packages properly if dependencies have been updated since the most recent stable versions of the book.

Package Information

libxcb Dependencies


libXau-1.0.11 and xcb-proto-1.15.2



Doxygen-1.9.7 (to generate API documentation) and libxslt-1.1.38

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