How To Install python3-tevent on Rocky Linux 8

In this tutorial we learn how to install python3-tevent on Rocky Linux 8. python3-tevent is Python 3 bindings for the Tevent library

Introduction

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

What is python3-tevent

Python 3 bindings for libtevent

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

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

sudo dnf -y install python3-tevent

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

sudo yum -y install python3-tevent

How To Uninstall python3-tevent on Rocky Linux 8

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

sudo dnf remove python3-tevent

python3-tevent Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/b538b2980e56ba056171fd08cb66df0db1cecc
/usr/lib64/python3.6/site-packages/__pycache__/tevent.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/__pycache__/tevent.cpython-36.pyc
/usr/lib64/python3.6/site-packages/_tevent.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/tevent.py

References

Summary

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