How To Install xcb-util on Rocky Linux 8

In this tutorial we learn how to install xcb-util on Rocky Linux 8. xcb-util is Convenience libraries sitting on top of libxcb

Introduction

In this tutorial we learn how to install xcb-util on Rocky Linux 8.

What is xcb-util

The xcb-util module provides a number of libraries which sit on top of libxcb, the core X protocol library, and some of the extension libraries. These experimental libraries provide convenience functions and interfaces which make the raw X protocol more usable. Some of the libraries also provide client-side code which is not strictly part of the X protocol but which have traditionally been provided by Xlib.

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

Install xcb-util 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 xcb-util using dnf by running the following command:

sudo dnf -y install xcb-util

Install xcb-util 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 xcb-util using yum by running the following command:

sudo yum -y install xcb-util

How To Uninstall xcb-util on Rocky Linux 8

To uninstall only the xcb-util package we can use the following command:

sudo dnf remove xcb-util

xcb-util Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/3050300d6ce03283ebe89d0ef1736b7f1defc1
/usr/lib/libxcb-util.so.1
/usr/lib/libxcb-util.so.1.0.0
/usr/share/doc/xcb-util
/usr/share/doc/xcb-util/README
/usr/share/licenses/xcb-util
/usr/share/licenses/xcb-util/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/29697a0d8704dc865985b938347a1c698dc55b
/usr/lib64/libxcb-util.so.1
/usr/lib64/libxcb-util.so.1.0.0
/usr/share/doc/xcb-util
/usr/share/doc/xcb-util/README
/usr/share/licenses/xcb-util
/usr/share/licenses/xcb-util/COPYING

References

Summary

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