How To Install python3-priority on AlmaLinux 8

In this tutorial we learn how to install python3-priority in AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove python3-priority

References

Summary

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