How To Install libxcb on CentOS 8

libxcb is A C binding to the X11 protocol A C binding to the X11 protocol

Introduction

In this tutorial we learn how to install libxcb on CentOS 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. libxcb 1.13.1 1.el8 x86_64 229 k libxcb-1.13.1-1.el8.src.rpm appstream A C binding to the X11 protocol https MIT 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install libxcb.

Install libxcb on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install libxcb

Install libxcb on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8

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

sudo dnf remove libxcb

libxcb Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/1205d5e25332e945dd861414a953991ba39610
/usr/lib/.build-id/10
/usr/lib/.build-id/10/d993f29e49207e81aebbdc3fdf01ea2796dd32
/usr/lib/.build-id/16
/usr/lib/.build-id/16/1a4bceab5f07bc4c7ad193509907565fc317d3
/usr/lib/.build-id/20
/usr/lib/.build-id/20/ffc1780e12f0164cd4299b63afcc19dbb8c2d2
/usr/lib/.build-id/22
/usr/lib/.build-id/22/5216ee30c57301ab6c2575bfbf53d9692c5d24
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/0b6ee0f295ec09c36c1ad1b7168673adf1e24e
/usr/lib/.build-id/41
/usr/lib/.build-id/41/cb14df25950e5044f5e922a3c8f3fe9c5d0bde
/usr/lib/.build-id/52
/usr/lib/.build-id/52/82e1afa5164b4b83f304649a67a1171b42fbe5
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/60259cf1b39a0a564a96980a05d67b6e5dc2f6
/usr/lib/.build-id/75
/usr/lib/.build-id/75/d9d305acafe74f2489f23b77ee9864df22b6c5
/usr/lib/.build-id/85
/usr/lib/.build-id/85/ee9c469b418eac75359356dde783a3d78fb056
/usr/lib/.build-id/89
/usr/lib/.build-id/89/fc76fa13b98cef529b60c4ccf4423376452039
/usr/lib/.build-id/93
/usr/lib/.build-id/93/6aed1f23452cee8f30f917fce81f2bf97d2645
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/81e7a0c029fdc2590d6ccd562263b9063e8e1b
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/74d8928a22f32b2521517cf5872b60cea31753
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/5ce20706591482e86e428ec2556eae9da29968
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/73e30472d0d24cc5913beafde1fe91a3678087
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/c7d65292d69553cc7d219fd9e0dcbaf93b9f02
/usr/lib/.build-id/db
/usr/lib/.build-id/db/f73eb5b728066a2cf0cb00cb3d4b177235da65
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/061b3f958f177403dd9fe552951c4fbe4dc064
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/934b15dc95d97db63afe06b0db7aa5451f5905
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/d858ebe4308bbe390d32841dc1f6a7b81cb8cc
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/0e235fc14dccc08f51c4c09bb680b5a3c52bcb
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/143e0e055c7c6ba665321d66f70fff5514db5e
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/15fdb09fd6f2206e6631e1bb5a28893d58a56b
/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/07
/usr/lib/.build-id/07/34f5b3177e2073308ae2be895527dc66d05ee6
/usr/lib/.build-id/12
/usr/lib/.build-id/12/59c6f118d2f4350246c1e9386d7164918ff688
/usr/lib/.build-id/17
/usr/lib/.build-id/17/82055f1c724f5e52d3bf487eec48e1292af7ee
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/a08ba35b03b82c4f92691c6b6a1734f4670753
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/39620224c6ac3545278b9785be6f2dfa784a84
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/038ff81c269d29b26fb156dc486671f4fd8e31
/usr/lib/.build-id/42
/usr/lib/.build-id/42/6127e98ffe3f61e19483025bcd2e5ce2bb5c79
/usr/lib/.build-id/43
/usr/lib/.build-id/43/cb5476d10c8b5c4d0f50bd2efde70021eb0f82
/usr/lib/.build-id/49
/usr/lib/.build-id/49/9acba37ecc346e6e7d4115d3f5e82c9ff53a79
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/bf9c7f485b9991c88de010353eb94ccfea4a27
/usr/lib/.build-id/75
/usr/lib/.build-id/75/07831377d73eb5a7f8036ec2f7abda41d843da
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/c6834399e223c410d334c6f8cceeb48cc4c4b3
/usr/lib/.build-id/92
/usr/lib/.build-id/92/e9faf84675b4de171d8f35164fdc918da64962
/usr/lib/.build-id/93
/usr/lib/.build-id/93/4618d5d8b30349201f880e81bc5a0b69ae773e
/usr/lib/.build-id/97
/usr/lib/.build-id/97/773c41c6db905234d3322d6664dd0aa0d233e9
/usr/lib/.build-id/98
/usr/lib/.build-id/98/f82b5774024b490720e0cc94a9680e1df37cc7
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/a44ee9967f4ab90c4e5e3a967f16cab97bd201
/usr/lib/.build-id/9a/fde7d0afc4fdea659d5caff84b87564904c069
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/f17f0c52ea489ca9e840793f3f9fd84dad02d5
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/dee1ad022509bd9c3bdb829613e8f8aa80cff3
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/0893511f7789a6c700b7b589665e57ebd0d095
/usr/lib/.build-id/db
/usr/lib/.build-id/db/10ecdff2e611364c1b216e7553a9aecef8f551
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/205ca407aabf38e5c72a8f0f9c13ef6507e6c4
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/151db1f0e9b4c8d820de4f6589f0ea85566293
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/28f6e0febb686f0a01d4184b831ea2576fef2b
/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 CentOS 8 using yum and dnf.