How To Install libxcb on Rocky Linux 8

In this tutorial we learn how to install libxcb on Rocky Linux 8. libxcb is A C binding to the X11 protocol

Introduction

In this tutorial we learn how to install libxcb on Rocky Linux 8.

What is libxcb

The X protocol C-language Binding (XCB) is a replacement for Xlib featuring a small footprint, latency hiding, direct access to the protocol, improved threading support, and extensibility.

We can use yum or dnf to install libxcb on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libxcb.

Install libxcb on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libxcb using dnf by running the following command:

sudo dnf -y install libxcb

Install libxcb on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libxcb using yum by running the following command:

sudo yum -y install libxcb

How To Uninstall libxcb on Rocky Linux 8

To uninstall only the libxcb package we can use the following command:

sudo dnf remove libxcb

libxcb Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/ddbfb54b3c7900a916eb176c1a2e1f9220e732
/usr/lib/.build-id/09
/usr/lib/.build-id/09/885953cecf7177e6fc107feb61aa681dace3ec
/usr/lib/.build-id/12
/usr/lib/.build-id/12/80aa7d248e87160ee8ace5ed22824e5381f465
/usr/lib/.build-id/14
/usr/lib/.build-id/14/1eb79c534e6bff95b15847a85471313b33fc27
/usr/lib/.build-id/22
/usr/lib/.build-id/22/f9967a5ca544da3d33d1bb55f96a3b4ea89e94
/usr/lib/.build-id/27
/usr/lib/.build-id/27/0f7db049b6911b0d0d5aacb2c1a27ea607f6fe
/usr/lib/.build-id/32
/usr/lib/.build-id/32/ad3390cecbc2d998c47506157b42bb74b14d48
/usr/lib/.build-id/38
/usr/lib/.build-id/38/a25a2446244e15d92535a5b50fbc451cbdd644
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/1f657a293ea897d56be90cdcecdcdd59bc62e8
/usr/lib/.build-id/42
/usr/lib/.build-id/42/821e125d955f25e3f763e36cb7e67ebf0a2fd7
/usr/lib/.build-id/44
/usr/lib/.build-id/44/661a3e1f9d19701a1f89f5c115deff13eb2fa7
/usr/lib/.build-id/47
/usr/lib/.build-id/47/94bda992fe93f53ee00f092802b7891ad2e332
/usr/lib/.build-id/78
/usr/lib/.build-id/78/33edb5975e8fcdb9a900ef52af2c03c4fb759e
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/712b70b48b80a5a01b6d57b31e18107b91f07a
/usr/lib/.build-id/82
/usr/lib/.build-id/82/8b6c2aca1c0de9e2b2a0bebe77f8028a6f93a0
/usr/lib/.build-id/89
/usr/lib/.build-id/89/4e0e438ecc4fcfa3177332775359b4b1fd0915
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/b67c396bd8d32726ee021ed98c98c418f21e5e
/usr/lib/.build-id/91
/usr/lib/.build-id/91/5def5982b4e7e79fd82df212d9e1e200a663cc
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/8b8df7999e19f0e656687ecfaeb9b247132069
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/2e06ac0e6036c1b74d9307da401c9b32f6c3f9
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/fd3bc653c350cd650750d1ebad529cb0aa103a
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/aa6370a387b33476bca79014687e9d37f7df44
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/44f0e5078829e500369756974059e4813f952f
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/e946454ac1a538795aacd52f8b3165396d26c9
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/6f82549b548bb62aec4c6676f274dcdae3f976
/usr/lib64/libxcb-composite.so.0
/usr/lib64/libxcb-composite.so.0.0.0
/usr/lib64/libxcb-damage.so.0
/usr/lib64/libxcb-damage.so.0.0.0
/usr/lib64/libxcb-dpms.so.0
/usr/lib64/libxcb-dpms.so.0.0.0
/usr/lib64/libxcb-dri2.so.0
/usr/lib64/libxcb-dri2.so.0.0.0
/usr/lib64/libxcb-dri3.so.0
/usr/lib64/libxcb-dri3.so.0.0.0
/usr/lib64/libxcb-glx.so.0
/usr/lib64/libxcb-glx.so.0.0.0
/usr/lib64/libxcb-present.so.0
/usr/lib64/libxcb-present.so.0.0.0
/usr/lib64/libxcb-randr.so.0
/usr/lib64/libxcb-randr.so.0.1.0
/usr/lib64/libxcb-record.so.0
/usr/lib64/libxcb-record.so.0.0.0
/usr/lib64/libxcb-render.so.0
/usr/lib64/libxcb-render.so.0.0.0
/usr/lib64/libxcb-res.so.0
/usr/lib64/libxcb-res.so.0.0.0
/usr/lib64/libxcb-screensaver.so.0
/usr/lib64/libxcb-screensaver.so.0.0.0
/usr/lib64/libxcb-shape.so.0
/usr/lib64/libxcb-shape.so.0.0.0
/usr/lib64/libxcb-shm.so.0
/usr/lib64/libxcb-shm.so.0.0.0
/usr/lib64/libxcb-sync.so.1
/usr/lib64/libxcb-sync.so.1.0.0
/usr/lib64/libxcb-xf86dri.so.0
/usr/lib64/libxcb-xf86dri.so.0.0.0
/usr/lib64/libxcb-xfixes.so.0
/usr/lib64/libxcb-xfixes.so.0.0.0
/usr/lib64/libxcb-xinerama.so.0
/usr/lib64/libxcb-xinerama.so.0.0.0
/usr/lib64/libxcb-xinput.so.0
/usr/lib64/libxcb-xinput.so.0.1.0
/usr/lib64/libxcb-xkb.so.1
/usr/lib64/libxcb-xkb.so.1.0.0
/usr/lib64/libxcb-xselinux.so.0
/usr/lib64/libxcb-xselinux.so.0.0.0
/usr/lib64/libxcb-xtest.so.0
/usr/lib64/libxcb-xtest.so.0.0.0
/usr/lib64/libxcb-xv.so.0
/usr/lib64/libxcb-xv.so.0.0.0
/usr/lib64/libxcb-xvmc.so.0
/usr/lib64/libxcb-xvmc.so.0.0.0
/usr/lib64/libxcb.so.1
/usr/lib64/libxcb.so.1.1.0
/usr/lib/.build-id
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/3ed6cba525c5cfc9169d34feda945000329067
/usr/lib/.build-id/23
/usr/lib/.build-id/23/1be94e6e18215b1e17efe03d5be34239bf795b
/usr/lib/.build-id/23/685683f0ef0318d8af2758f77ec6cd0903f696
/usr/lib/.build-id/28
/usr/lib/.build-id/28/f648655cfae8deafb230d0fd35e686c753d58b
/usr/lib/.build-id/28/fb0c29fcc571b94b8a94824a6156162b3ae9be
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/95c7d09e725a422195040f9dbf4a250e7e9cd2
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/e1cc42cd7b989426199a05ebd55305d10e456e
/usr/lib/.build-id/44
/usr/lib/.build-id/44/ad677d1dc4d8486d9a9e5d0e9967703663ebd5
/usr/lib/.build-id/46
/usr/lib/.build-id/46/5de640d2395bebd0dd52929f8150b62a97e4e2
/usr/lib/.build-id/52
/usr/lib/.build-id/52/4a140992089c5ad4fb3463fad7332d46c4e27a
/usr/lib/.build-id/63
/usr/lib/.build-id/63/e9d2a5266f8aa196af834c3358457581a35336
/usr/lib/.build-id/66
/usr/lib/.build-id/66/0981cec832b8ed9224f0600cc9e68e4f797303
/usr/lib/.build-id/74
/usr/lib/.build-id/74/5d20082888f290db60f6b81a9b21b8d93680de
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/b27d60c6e8ca31bb49b9c0bffe24244ae44f65
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/dc408fcc2eb4e6da992524cf1e43087edf0827
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/8878562143fd2f9afa156755334762500f120b
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/590e40b25e8a19eeb6c268d1f54c5698dec454
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/0a8ad6300c03027e82a927b16142c9c5b2b6e5
/usr/lib/.build-id/c8/e1d5f2c127f6ed5057745825212a7e8886bee1
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/a122ec1bee26d5eddf131403447b8090181ead
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/9ba40df556557f11187ff5754b4542cd72ddda
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/3a9544fac1843e996bcb216f14f099069ef26b
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/2c218fc1d7083a5296443a022aa4b6a7f6f7cf
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/4bf6dee502338e4523996e8575fa9d9f15fc35
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/e261e25659e34b956c8f8036e9d22e9b117508
/usr/lib/libxcb-composite.so.0
/usr/lib/libxcb-composite.so.0.0.0
/usr/lib/libxcb-damage.so.0
/usr/lib/libxcb-damage.so.0.0.0
/usr/lib/libxcb-dpms.so.0
/usr/lib/libxcb-dpms.so.0.0.0
/usr/lib/libxcb-dri2.so.0
/usr/lib/libxcb-dri2.so.0.0.0
/usr/lib/libxcb-dri3.so.0
/usr/lib/libxcb-dri3.so.0.0.0
/usr/lib/libxcb-glx.so.0
/usr/lib/libxcb-glx.so.0.0.0
/usr/lib/libxcb-present.so.0
/usr/lib/libxcb-present.so.0.0.0
/usr/lib/libxcb-randr.so.0
/usr/lib/libxcb-randr.so.0.1.0
/usr/lib/libxcb-record.so.0
/usr/lib/libxcb-record.so.0.0.0
/usr/lib/libxcb-render.so.0
/usr/lib/libxcb-render.so.0.0.0
/usr/lib/libxcb-res.so.0
/usr/lib/libxcb-res.so.0.0.0
/usr/lib/libxcb-screensaver.so.0
/usr/lib/libxcb-screensaver.so.0.0.0
/usr/lib/libxcb-shape.so.0
/usr/lib/libxcb-shape.so.0.0.0
/usr/lib/libxcb-shm.so.0
/usr/lib/libxcb-shm.so.0.0.0
/usr/lib/libxcb-sync.so.1
/usr/lib/libxcb-sync.so.1.0.0
/usr/lib/libxcb-xf86dri.so.0
/usr/lib/libxcb-xf86dri.so.0.0.0
/usr/lib/libxcb-xfixes.so.0
/usr/lib/libxcb-xfixes.so.0.0.0
/usr/lib/libxcb-xinerama.so.0
/usr/lib/libxcb-xinerama.so.0.0.0
/usr/lib/libxcb-xinput.so.0
/usr/lib/libxcb-xinput.so.0.1.0
/usr/lib/libxcb-xkb.so.1
/usr/lib/libxcb-xkb.so.1.0.0
/usr/lib/libxcb-xselinux.so.0
/usr/lib/libxcb-xselinux.so.0.0.0
/usr/lib/libxcb-xtest.so.0
/usr/lib/libxcb-xtest.so.0.0.0
/usr/lib/libxcb-xv.so.0
/usr/lib/libxcb-xv.so.0.0.0
/usr/lib/libxcb-xvmc.so.0
/usr/lib/libxcb-xvmc.so.0.0.0
/usr/lib/libxcb.so.1
/usr/lib/libxcb.so.1.1.0

References

Summary

In this tutorial we learn how to install libxcb on Rocky Linux 8 using yum and dnf.