How To Install xcb-proto on CentOS 8
Introduction
In this tutorial we learn how to install xcb-proto
on CentOS 8.
What is xcb-proto
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
or dnf
to install xcb-proto
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install xcb-proto.
Install xcb-proto on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install xcb-proto
using dnf
by running the following command:
sudo dnf -y install xcb-proto
Install xcb-proto on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install xcb-proto
using yum
by running the following command:
sudo yum -y install xcb-proto
How To Uninstall xcb-proto on CentOS 8
To uninstall only the xcb-proto
package we can use the following command:
sudo dnf remove xcb-proto
xcb-proto Package Contents on CentOS 8
/usr/lib/python3.6/site-packages/xcbgen
/usr/lib/python3.6/site-packages/xcbgen/__init__.py
/usr/lib/python3.6/site-packages/xcbgen/__pycache__
/usr/lib/python3.6/site-packages/xcbgen/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xcbgen/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/xcbgen/__pycache__/align.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xcbgen/__pycache__/align.cpython-36.pyc
/usr/lib/python3.6/site-packages/xcbgen/__pycache__/error.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xcbgen/__pycache__/error.cpython-36.pyc
/usr/lib/python3.6/site-packages/xcbgen/__pycache__/expr.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xcbgen/__pycache__/expr.cpython-36.pyc
/usr/lib/python3.6/site-packages/xcbgen/__pycache__/matcher.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xcbgen/__pycache__/matcher.cpython-36.pyc
/usr/lib/python3.6/site-packages/xcbgen/__pycache__/state.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xcbgen/__pycache__/state.cpython-36.pyc
/usr/lib/python3.6/site-packages/xcbgen/__pycache__/xtypes.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xcbgen/__pycache__/xtypes.cpython-36.pyc
/usr/lib/python3.6/site-packages/xcbgen/align.py
/usr/lib/python3.6/site-packages/xcbgen/error.py
/usr/lib/python3.6/site-packages/xcbgen/expr.py
/usr/lib/python3.6/site-packages/xcbgen/matcher.py
/usr/lib/python3.6/site-packages/xcbgen/state.py
/usr/lib/python3.6/site-packages/xcbgen/xtypes.py
/usr/share/doc/xcb-proto
/usr/share/doc/xcb-proto/COPYING
/usr/share/doc/xcb-proto/NEWS
/usr/share/doc/xcb-proto/README
/usr/share/doc/xcb-proto/TODO
/usr/share/doc/xcb-proto/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
on CentOS 8 using yum and dnf.