How To Install xcb-proto.noarch on Amazon Linux 2

In this tutorial we learn how to install xcb-proto.noarch in Amazon Linux 2. xcb-proto.noarch is XCB protocol descriptions

Introduction

In this tutorial we learn how to install xcb-proto.noarch on Amazon Linux 2.

What is xcb-proto.noarch

XCB is a project to enable efficient language bindings to the X11 protocol. This package contains the protocol descriptions themselves. Language bindings use these protocol descriptions to generate code for marshalling the protocol.

We can use yum to install xcb-proto.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install xcb-proto.noarch.

Install xcb-proto.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install xcb-proto.noarch using yum by running the following command:

sudo yum -y install xcb-proto.noarch

How To Uninstall xcb-proto.noarch on Amazon Linux 2

To uninstall only the xcb-proto.noarch package we can use the following command:

sudo yum remove xcb-proto.noarch

xcb-proto.noarch Package Contents on Amazon Linux 2

/usr/lib/python2.7/site-packages/xcbgen
/usr/lib/python2.7/site-packages/xcbgen/__init__.py
/usr/lib/python2.7/site-packages/xcbgen/__init__.pyc
/usr/lib/python2.7/site-packages/xcbgen/__init__.pyo
/usr/lib/python2.7/site-packages/xcbgen/align.py
/usr/lib/python2.7/site-packages/xcbgen/align.pyc
/usr/lib/python2.7/site-packages/xcbgen/align.pyo
/usr/lib/python2.7/site-packages/xcbgen/error.py
/usr/lib/python2.7/site-packages/xcbgen/error.pyc
/usr/lib/python2.7/site-packages/xcbgen/error.pyo
/usr/lib/python2.7/site-packages/xcbgen/expr.py
/usr/lib/python2.7/site-packages/xcbgen/expr.pyc
/usr/lib/python2.7/site-packages/xcbgen/expr.pyo
/usr/lib/python2.7/site-packages/xcbgen/matcher.py
/usr/lib/python2.7/site-packages/xcbgen/matcher.pyc
/usr/lib/python2.7/site-packages/xcbgen/matcher.pyo
/usr/lib/python2.7/site-packages/xcbgen/state.py
/usr/lib/python2.7/site-packages/xcbgen/state.pyc
/usr/lib/python2.7/site-packages/xcbgen/state.pyo
/usr/lib/python2.7/site-packages/xcbgen/xtypes.py
/usr/lib/python2.7/site-packages/xcbgen/xtypes.pyc
/usr/lib/python2.7/site-packages/xcbgen/xtypes.pyo
/usr/share/doc/xcb-proto-1.13
/usr/share/doc/xcb-proto-1.13/COPYING
/usr/share/doc/xcb-proto-1.13/NEWS
/usr/share/doc/xcb-proto-1.13/README
/usr/share/doc/xcb-proto-1.13/TODO
/usr/share/doc/xcb-proto-1.13/xml-xcb.txt
/usr/share/pkgconfig/xcb-proto.pc
/usr/share/xcb
/usr/share/xcb/bigreq.xml
/usr/share/xcb/composite.xml
/usr/share/xcb/damage.xml
/usr/share/xcb/dpms.xml
/usr/share/xcb/dri2.xml
/usr/share/xcb/dri3.xml
/usr/share/xcb/ge.xml
/usr/share/xcb/glx.xml
/usr/share/xcb/present.xml
/usr/share/xcb/randr.xml
/usr/share/xcb/record.xml
/usr/share/xcb/render.xml
/usr/share/xcb/res.xml
/usr/share/xcb/screensaver.xml
/usr/share/xcb/shape.xml
/usr/share/xcb/shm.xml
/usr/share/xcb/sync.xml
/usr/share/xcb/xc_misc.xml
/usr/share/xcb/xcb.xsd
/usr/share/xcb/xevie.xml
/usr/share/xcb/xf86dri.xml
/usr/share/xcb/xf86vidmode.xml
/usr/share/xcb/xfixes.xml
/usr/share/xcb/xinerama.xml
/usr/share/xcb/xinput.xml
/usr/share/xcb/xkb.xml
/usr/share/xcb/xprint.xml
/usr/share/xcb/xproto.xml
/usr/share/xcb/xselinux.xml
/usr/share/xcb/xtest.xml
/usr/share/xcb/xv.xml
/usr/share/xcb/xvmc.xml

References

Summary

In this tutorial we learn how to install xcb-proto.noarch on Amazon Linux 2 using yum.