How To Install xcb-util on AlmaLinux 8

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

Introduction

In this tutorial we learn how to install xcb-util on AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove xcb-util

References

Summary

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