How To Install libxcb on Fedora 36

In this tutorial we learn how to install libxcb in Fedora 36. libxcb is A C binding to the X11 protocol

Introduction

In this tutorial we learn how to install libxcb on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libxcb.

Install libxcb on Fedora 36 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 Fedora 36 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 Fedora 36

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

sudo dnf remove libxcb

libxcb Package Contents on Fedora 36

---
title: "How To Install libxcb on Fedora 36"
linkTitle: "libxcb"
type: "docs"
description: "In this tutorial we learn how to install libxcb in Fedora 36. libxcb is A C binding to the X11 protocol"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/libxcb-featured.png
---

## Introduction

In this tutorial we learn how to install `libxcb` on Fedora 36.

### 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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libxcb.

## Install libxcb on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
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 Fedora 36 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 Fedora 36

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

sudo dnf remove libxcb

libxcb Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/08
/usr/lib/.build-id/08/a716503df96de00f992ddaa2381360a6725ceb
/usr/lib/.build-id/08/e1700254bdca6324e216b7e4ac1be3372bc7a3
/usr/lib/.build-id/24
/usr/lib/.build-id/24/107e74a9bf739c3e57c136c8c1cfb26ef03690
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/1e3557c57a6c048dd636b292fd7f440fc6d7f2
/usr/lib/.build-id/34
/usr/lib/.build-id/34/73bd544e24b83896e0aa46b1b89eff456b101f
/usr/lib/.build-id/34/b507541e2fa67042887258fa3fc7961d4d57cc
/usr/lib/.build-id/39
/usr/lib/.build-id/39/9f86fd9c70187a85bd88ea16d480bdc106aefa
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/ac8756abdb38c5961e578c864ee3abb066fe61
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/c53a5898375a1066439b41c3c88724d75c28c2
/usr/lib/.build-id/50
/usr/lib/.build-id/50/43a71060315c961f56b569248467fe6cff748a
/usr/lib/.build-id/58
/usr/lib/.build-id/58/fc491cf12b226de809e4498a0bbfcd06165024
/usr/lib/.build-id/67
/usr/lib/.build-id/67/342bcca66a6135a56901f3059147a966ac93a7
/usr/lib/.build-id/71
/usr/lib/.build-id/71/d5814b05fde6e51c5b9b0becc34fe4d04aa273
/usr/lib/.build-id/82
/usr/lib/.build-id/82/7aa1070156282cecff51dbd5caeb73a4c0e5c4
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/b6a30eb7b6e9263453ca421e964f52caf88933
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/1e066c9a757b60b27c6b7ef7c6c40a84cd9e43
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/bdc27a3f882a67551592f62936b386661ad61c
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/155aae64f8d6fe90cb4a5613457824764dce27
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/e21c2abe0b67cb4a128674ff9a544aff13f5d9
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/5d427b9e62dfff1836d39aa793ce76ef249388
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/38e33ddbe01bd765fa8904390b703d6993cb6d
/usr/lib/.build-id/ce/5ea0335f7baf79c824f4557b40aecd17c7629f
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/e6d01c0ee37f8efb7aa2f3ee233885f48f8b0e
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/7657352b5424dbfb331c56b64e94f6ff63db24
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/ca7feb236e953e290a053ff1f734fac71c5630
/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 36 using yum and [dnf]((/fedora/36/dnf/).

/usr/lib/.build-id /usr/lib/.build-id/09 /usr/lib/.build-id/09/bc5ad39c1b6db65faec93dd84b3475863bc1be /usr/lib/.build-id/0e /usr/lib/.build-id/0e/5f10d44775dc773793a8cc2a66d6b7878533d7 /usr/lib/.build-id/1f /usr/lib/.build-id/1f/c9706bb40aafdbdbbd5b2848c22f3e92dfcd25 /usr/lib/.build-id/20 /usr/lib/.build-id/20/0fe5bc6e395606abf9dde7589ce24312d6a0d7 /usr/lib/.build-id/20/77b4cd06425998469df7f58dab6f1479f61283 /usr/lib/.build-id/25 /usr/lib/.build-id/25/3a0eb8ac2963f4c4abca5388fd559f5f78850a /usr/lib/.build-id/27 /usr/lib/.build-id/27/1b4e0b14741168b1c21c51a58f824ead337ec8 /usr/lib/.build-id/2e /usr/lib/.build-id/2e/f6238234379420d2ff245f6d64c596ed7c7dad /usr/lib/.build-id/33 /usr/lib/.build-id/33/6800d3907152d278ffd0894f4d62711262809f /usr/lib/.build-id/3e /usr/lib/.build-id/3e/94728465183f7751e6a1d53ea393cc11cb8004 /usr/lib/.build-id/49 /usr/lib/.build-id/49/c69914fdf5eae0b18ba55a2f52c4d34c653f2b /usr/lib/.build-id/51 /usr/lib/.build-id/51/c5a5c3d66aaebaf95fafc5a9906b3275c14844 /usr/lib/.build-id/55 /usr/lib/.build-id/55/b8583f2fdfcfd83d34429b0f2b2092cf41c6d4 /usr/lib/.build-id/a2 /usr/lib/.build-id/a2/dd9b885b8bfa372eea8f2fa6ef4a12246e244e /usr/lib/.build-id/b5 /usr/lib/.build-id/b5/4318cb38eca053e3365fe9797ab9c05834878e /usr/lib/.build-id/b5/57629bc47fea6de9edb4534378f26906bc5d80 /usr/lib/.build-id/d0 /usr/lib/.build-id/d0/63787b0fc1c22d4e07ae2948df4a615b5acecb /usr/lib/.build-id/d0/c4181fb8966d4bebc5b0bd27182a6fba6709b4 /usr/lib/.build-id/df /usr/lib/.build-id/df/78e52dff37560ce11f9ab0928c7b7569487fde /usr/lib/.build-id/e5 /usr/lib/.build-id/e5/5a074882c4c9357934efcf295654ea5badcce1 /usr/lib/.build-id/e9 /usr/lib/.build-id/e9/f20bf38edb68991a8672dcbfe694bad0309126 /usr/lib/.build-id/f0 /usr/lib/.build-id/f0/5c7e20ec206f96ed76a650b8553a44146b840a /usr/lib/.build-id/fa /usr/lib/.build-id/fa/a786c645fb45c7f332b69ba782d4b03f9759a9 /usr/lib/.build-id/fa/d0466063421d1c4112c388415421dcee196801 /usr/lib/.build-id/fb /usr/lib/.build-id/fb/ced0e7ad8d199aa8ef61f70562df0bdf07dc3d /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


## References

* [libxcb website](http://xcb.freedesktop.org/)

## Summary

In this tutorial we learn how to install `libxcb` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).