How To Install libxcb on Fedora 34

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

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 7.fc34 x86_64 230 k libxcb-1.13.1-7.fc34.src.rpm fedora A C binding to the X11 protocol http 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libxcb.

Install libxcb on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34

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

sudo dnf remove libxcb

libxcb Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/f8bfdac92fc36a6182d3d8fcae2cf362d92304
/usr/lib/.build-id/10
/usr/lib/.build-id/10/ce37f49a88a34a2d8f94ed50146bce4a06f37c
/usr/lib/.build-id/11
/usr/lib/.build-id/11/1fd6ae295ba0be70e2ec2217078130e4cf87cf
/usr/lib/.build-id/14
/usr/lib/.build-id/14/259bf8c5fb1983df5090744dfe537ad9f78f0c
/usr/lib/.build-id/26
/usr/lib/.build-id/26/de4021fdf0dd9b472cb90943c0486efa0fea8d
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/b537445beb558780eabb9ae49c06327d1cca27
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/c41cb0c114ce4df2f3abfcc7b8cf1d3198b22f
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/8640add6346c7e92521a7e35ef8c24e427d20e
/usr/lib/.build-id/42
/usr/lib/.build-id/42/9021a17806b487414a16b17d501a129f2ce8d5
/usr/lib/.build-id/44
/usr/lib/.build-id/44/fbe5e40df2f6cee664624e067c6fb17841a1e7
/usr/lib/.build-id/49
/usr/lib/.build-id/49/aa64b4795f65d3f03838ba8ebc1640a8c7aab1
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/6c0afc2986256222cfeda3dbbdabfd55abda7e
/usr/lib/.build-id/59
/usr/lib/.build-id/59/112647f707275373614a1ad9008819e35ff1f6
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/8db5ccbd4e15f5707b0aaceaca3964683a07d2
/usr/lib/.build-id/62
/usr/lib/.build-id/62/bbe5ad6a3f3ec91c6d6f9e7b6e47a66fc5be16
/usr/lib/.build-id/74
/usr/lib/.build-id/74/d48d2dfdeba0a9298535323e562ba54c62e3e8
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/90dea0c9d7f17af0c8da57026c4c1fbad643a7
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/0cf622dc70006a16f0cfee31e4023b9b6b0891
/usr/lib/.build-id/97
/usr/lib/.build-id/97/ef1283b9898d3bac5e620c712c5be7b9fc7dee
/usr/lib/.build-id/af
/usr/lib/.build-id/af/83aaa65d3cf55307bf55f2408d42ce2166ca3c
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/f9815d9275e92a4517934b5582c8ec946ca289
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/e51d1bd178e01bdda90efc7929671209ba7b1a
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/44a22da1260b6f0835c6df988b0b0a799e764b
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/687c9738d3bfa43f085f23e9ee7fa98c27a1aa
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/a741e9e835b2ea21cc8954e04132ff8e709c58
/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/08
/usr/lib/.build-id/08/17f057c4584ac59ebf5651729044763e46a693
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/6e1cc6b780296aeeb679f34131b8b1de24f9a2
/usr/lib/.build-id/23
/usr/lib/.build-id/23/c77e6171ffd92af53a8048fa9e0a09a82e5dca
/usr/lib/.build-id/37
/usr/lib/.build-id/37/d5631781973280d700a56710dd3d8189c66393
/usr/lib/.build-id/38
/usr/lib/.build-id/38/8839d11e84634c9fec1bcf62f038807eba1bc1
/usr/lib/.build-id/40
/usr/lib/.build-id/40/f4e9d138da7a8355ea56155650f9f58d2802a1
/usr/lib/.build-id/43
/usr/lib/.build-id/43/273e4b6c87a6bf4a5dddf0b64463b3286dce1e
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/ff57bf25878a68bce19110920c24ca32896859
/usr/lib/.build-id/66
/usr/lib/.build-id/66/83101813721ae14087dbbee00852044d28435a
/usr/lib/.build-id/66/d2788defa07dd101c95c55daa77519f6c45d2d
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/e288c739cd762a438122f0ad6d960557208228
/usr/lib/.build-id/73
/usr/lib/.build-id/73/05d294aeebcef1a156bfa713f6f8678a83e2da
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/4db3e309e6e6140a096015eb644afcd5ab0234
/usr/lib/.build-id/92
/usr/lib/.build-id/92/42dfeec3c8c617d0669178762ddd907d91a4d5
/usr/lib/.build-id/95
/usr/lib/.build-id/95/86a2ff10572e1b43263b0ecefa2f01e540cf97
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/643670793d6f63f52a590cd166e450a81ca019
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/7f3c35ea12006580ddb35513986ed9b2fcde55
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/e69bdac96c3c2092fb46717a98dbe80b520103
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/06f5aa0db51c09de93b9c450fb428542d571df
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/7339f4199ab13082d44b933cecff6018182aaf
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/d237b31c542d20e7055d2a709e697b08300753
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/6fc5c0b25302f7c42065ec85e9201cd605ce4e
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/523c1b62f9ff86a00d551319b2884c7b7523cd
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/74bbcf1cb9c49c76083ba5a4be0e50183bd59e
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/d89876335d5ec26ab4234a3839ae4df00470ce
/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 Fedora 34 using yum and dnf.