How To Install python3-priority on Rocky Linux 8

In this tutorial we learn how to install python3-priority on Rocky Linux 8. python3-priority is A pure-Python implementation of the HTTP/2 priority tree

Introduction

In this tutorial we learn how to install python3-priority on Rocky Linux 8.

What is python3-priority

A HTTP/2 Priority Implementation Priority is a pure-Python implementation of the priority logic for HTTP/2, set out in RFC 7540 Section 5.3 (Stream Priority)_. This logic allows for clients to express a preference for how the server allocates its (limited) resources to the many outstanding HTTP requests that may be running over a single HTTP/2 connection.

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

Install python3-priority 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 python3-priority using dnf by running the following command:

sudo dnf -y install python3-priority

Install python3-priority 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 python3-priority using yum by running the following command:

sudo yum -y install python3-priority

How To Uninstall python3-priority on Rocky Linux 8

To uninstall only the python3-priority package we can use the following command:

sudo dnf remove python3-priority

python3-priority Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/priority
/usr/lib/python3.6/site-packages/priority-1.3.0-py3.6.egg-info
/usr/lib/python3.6/site-packages/priority-1.3.0-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/priority-1.3.0-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/priority-1.3.0-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/priority-1.3.0-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/priority/__init__.py
/usr/lib/python3.6/site-packages/priority/__pycache__
/usr/lib/python3.6/site-packages/priority/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/priority/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/priority/__pycache__/priority.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/priority/__pycache__/priority.cpython-36.pyc
/usr/lib/python3.6/site-packages/priority/priority.py
/usr/share/doc/python3-priority
/usr/share/doc/python3-priority/README.rst
/usr/share/licenses/python3-priority
/usr/share/licenses/python3-priority/LICENSE

References

Summary

In this tutorial we learn how to install python3-priority on Rocky Linux 8 using yum and dnf.