How To Install python-xlib-doc on Rocky Linux 8

In this tutorial we learn how to install python-xlib-doc on Rocky Linux 8. python-xlib-doc is Documentation and examples for python-xlib

Introduction

In this tutorial we learn how to install python-xlib-doc on Rocky Linux 8.

What is python-xlib-doc

Install this package if you want the developers’ documentation and examples that tell you how to program with python-xlib.

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

Install python-xlib-doc 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 python-xlib-doc using dnf by running the following command:

sudo dnf -y install python-xlib-doc

Install python-xlib-doc 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 python-xlib-doc using yum by running the following command:

sudo yum -y install python-xlib-doc

How To Uninstall python-xlib-doc on Rocky Linux 8

To uninstall only the python-xlib-doc package we can use the following command:

sudo dnf remove python-xlib-doc

python-xlib-doc Package Contents on Rocky Linux 8

/usr/share/doc/python-xlib-doc
/usr/share/doc/python-xlib-doc/examples
/usr/share/doc/python-xlib-doc/examples/childwin.py
/usr/share/doc/python-xlib-doc/examples/draw-proto.py
/usr/share/doc/python-xlib-doc/examples/draw.py
/usr/share/doc/python-xlib-doc/examples/eventthread.py
/usr/share/doc/python-xlib-doc/examples/get_selection.py
/usr/share/doc/python-xlib-doc/examples/nvcontrol.py
/usr/share/doc/python-xlib-doc/examples/profilex.py
/usr/share/doc/python-xlib-doc/examples/put_selection.py
/usr/share/doc/python-xlib-doc/examples/record_demo.py
/usr/share/doc/python-xlib-doc/examples/run_examples.py
/usr/share/doc/python-xlib-doc/examples/security.py
/usr/share/doc/python-xlib-doc/examples/shapewin.py
/usr/share/doc/python-xlib-doc/examples/threadtest.py
/usr/share/doc/python-xlib-doc/examples/xdamage.py
/usr/share/doc/python-xlib-doc/examples/xfixes-selection-notify.py
/usr/share/doc/python-xlib-doc/examples/xfixes.py
/usr/share/doc/python-xlib-doc/examples/xinerama.py
/usr/share/doc/python-xlib-doc/examples/xinput.py
/usr/share/doc/python-xlib-doc/examples/xlsatoms.py
/usr/share/doc/python-xlib-doc/examples/xrandr.py
/usr/share/doc/python-xlib-doc/html
/usr/share/doc/python-xlib-doc/html/index.html
/usr/share/doc/python-xlib-doc/html/python-xlib.html
/usr/share/doc/python-xlib-doc/html/python-xlib_1.html
/usr/share/doc/python-xlib-doc/html/python-xlib_10.html
/usr/share/doc/python-xlib-doc/html/python-xlib_11.html
/usr/share/doc/python-xlib-doc/html/python-xlib_12.html
/usr/share/doc/python-xlib-doc/html/python-xlib_13.html
/usr/share/doc/python-xlib-doc/html/python-xlib_14.html
/usr/share/doc/python-xlib-doc/html/python-xlib_15.html
/usr/share/doc/python-xlib-doc/html/python-xlib_16.html
/usr/share/doc/python-xlib-doc/html/python-xlib_17.html
/usr/share/doc/python-xlib-doc/html/python-xlib_18.html
/usr/share/doc/python-xlib-doc/html/python-xlib_19.html
/usr/share/doc/python-xlib-doc/html/python-xlib_2.html
/usr/share/doc/python-xlib-doc/html/python-xlib_20.html
/usr/share/doc/python-xlib-doc/html/python-xlib_21.html
/usr/share/doc/python-xlib-doc/html/python-xlib_22.html
/usr/share/doc/python-xlib-doc/html/python-xlib_23.html
/usr/share/doc/python-xlib-doc/html/python-xlib_24.html
/usr/share/doc/python-xlib-doc/html/python-xlib_3.html
/usr/share/doc/python-xlib-doc/html/python-xlib_4.html
/usr/share/doc/python-xlib-doc/html/python-xlib_5.html
/usr/share/doc/python-xlib-doc/html/python-xlib_6.html
/usr/share/doc/python-xlib-doc/html/python-xlib_7.html
/usr/share/doc/python-xlib-doc/html/python-xlib_8.html
/usr/share/doc/python-xlib-doc/html/python-xlib_9.html
/usr/share/doc/python-xlib-doc/html/python-xlib_abt.html
/usr/share/doc/python-xlib-doc/html/python-xlib_toc.html
/usr/share/doc/python-xlib-doc/python-xlib.ps
/usr/share/licenses/python-xlib-doc
/usr/share/licenses/python-xlib-doc/LICENSE

References

Summary

In this tutorial we learn how to install python-xlib-doc on Rocky Linux 8 using yum and dnf.