How To Install python2-hyperframe on Rocky Linux 8

In this tutorial we learn how to install python2-hyperframe on Rocky Linux 8. python2-hyperframe is HTTP/2 framing layer for Python

Introduction

In this tutorial we learn how to install python2-hyperframe on Rocky Linux 8.

What is python2-hyperframe

Pure-Python HTTP/2 framing This library contains the HTTP/2 framing code used in the hyper project. It provides a pure-Python codebase that is capable of decoding a binary stream into HTTP/2 frames. This library is used directly by hyper and a number of other projects to provide HTTP/2 frame decoding logic.

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

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

sudo dnf -y install python2-hyperframe

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

sudo yum -y install python2-hyperframe

How To Uninstall python2-hyperframe on Rocky Linux 8

To uninstall only the python2-hyperframe package we can use the following command:

sudo dnf remove python2-hyperframe

python2-hyperframe Package Contents on Rocky Linux 8

/usr/lib/python2.7/site-packages/hyperframe
/usr/lib/python2.7/site-packages/hyperframe-5.2.0-py2.7.egg-info
/usr/lib/python2.7/site-packages/hyperframe-5.2.0-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/hyperframe-5.2.0-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/hyperframe-5.2.0-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/hyperframe-5.2.0-py2.7.egg-info/top_level.txt
/usr/lib/python2.7/site-packages/hyperframe/__init__.py
/usr/lib/python2.7/site-packages/hyperframe/__init__.pyc
/usr/lib/python2.7/site-packages/hyperframe/__init__.pyo
/usr/lib/python2.7/site-packages/hyperframe/exceptions.py
/usr/lib/python2.7/site-packages/hyperframe/exceptions.pyc
/usr/lib/python2.7/site-packages/hyperframe/exceptions.pyo
/usr/lib/python2.7/site-packages/hyperframe/flags.py
/usr/lib/python2.7/site-packages/hyperframe/flags.pyc
/usr/lib/python2.7/site-packages/hyperframe/flags.pyo
/usr/lib/python2.7/site-packages/hyperframe/frame.py
/usr/lib/python2.7/site-packages/hyperframe/frame.pyc
/usr/lib/python2.7/site-packages/hyperframe/frame.pyo
/usr/share/doc/python2-hyperframe
/usr/share/doc/python2-hyperframe/README.rst
/usr/share/licenses/python2-hyperframe
/usr/share/licenses/python2-hyperframe/LICENSE

References

Summary

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