How To Install python3-pyev on Rocky Linux 8

In this tutorial we learn how to install python3-pyev on Rocky Linux 8. python3-pyev is Python3 binding for the libev library

Introduction

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

What is python3-pyev

The libev for Python3 wrapper - This is a Python extension that gives access to libev library to be called from Python scripts.

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

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

sudo dnf -y install python3-pyev

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

sudo yum -y install python3-pyev

How To Uninstall python3-pyev on Rocky Linux 8

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

sudo dnf remove python3-pyev

python3-pyev Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/f0920d8ba5c3648c0625320f2ce1fcf7a10e26
/usr/lib64/python3.6/site-packages/pyev-0.9.0-py3.6.egg-info
/usr/lib64/python3.6/site-packages/pyev.cpython-36m-x86_64-linux-gnu.so
/usr/share/doc/python3-pyev
/usr/share/doc/python3-pyev/README.md

References

Summary

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