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

Package Information

  • Download (HTTP):

  • Download MD5 sum: 28e552bd78bc1050b6b26ca1db0e5bb6

  • Download size: 600 KB

  • Estimated disk space required: 28 MB (with tests, add 62 MB for doxygen docs)

  • Estimated build time: 0.3 SBU (with tests, add 1.4 SBU for doxygen docs)

Additional Downloads

libxcb Dependencies


libXau-1.0.8 and xcb-proto-1.12



Doxygen-1.8.14 (to generate API documentation) and libxslt-1.1.32

User Notes:

Installation of libxcb

If building with Python 3, issue the following command:

patch -Np1 -i ../libxcb-1.12-python3-1.patch

Install libxcb by running the following commands:

sed -i "s/pthread-stubs//" configure &&

./configure $XORG_CONFIG      \
            --enable-xinput   \
            --without-doxygen \
            --docdir='${datadir}'/doc/libxcb-1.12 &&

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

sed "s/pthread-stubs//" -i configure: This sed removes dependency on libpthread-stubs package which is useless on Linux.

--enable-xinput: This switch enables XCB Xinput extension.

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

Short Descriptions

is an interface to the X Window System protocol.

Last updated on 2018-02-17 15:35:13 -0800