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

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

Introduction

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

What is python-cups-doc

Documentation for python-cups.

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

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

sudo dnf -y install python-cups-doc

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

sudo yum -y install python-cups-doc

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

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

sudo dnf remove python-cups-doc

python-cups-doc Package Contents on Rocky Linux 8

/usr/share/doc/python-cups-doc
/usr/share/doc/python-cups-doc/examples
/usr/share/doc/python-cups-doc/examples/cupstree.py
/usr/share/doc/python-cups-doc/html
/usr/share/doc/python-cups-doc/html/cups.html

References

Summary

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