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 7.8-systemd platform.

Package Information

  • Download (HTTP):

  • Download MD5 sum: f97a65e6158775de518ac391935634c2

  • Download size: 508 KB

  • Estimated disk space required: 40 MB (124 MB with doxygen generated documentation)

  • Estimated build time: 0.2 SBU (additional 0.1 to generate API documentation)

libxcb Dependencies


libXau-1.0.8 and xcb-proto-1.11



Doxygen-1.8.10 (to generate API documentation) Check-0.10.0 (to run tests) and libxslt-1.1.28

User Notes:

Installation of libxcb

Install libxcb by running the following commands:

sed -i "s/pthread-stubs//" configure &&
./configure $XORG_CONFIG    \
            --enable-xinput \
            --docdir='${datadir}'/doc/libxcb-1.11.1 &&

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: This switch can be used to disable the API documentation if Doxygen-1.8.10 is installed.


Installed Programs: None
Installed Libraries: and libxcb-*.so
Installed Directories: $XORG_PREFIX/include/xcb and $XORG_PREFIX/share/doc/libxcb-1.11.1

Short Descriptions

is an interface to the X Window System protocol.

Last updated on 2015-11-13 22:15:49 -0600