How To Install python3-openipmi on Rocky Linux 8

In this tutorial we learn how to install python3-openipmi on Rocky Linux 8. python3-openipmi is IPMI Python language bindings

Introduction

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

What is python3-openipmi

The OpenIPMI-python package contains the Python language bindings for OpenIPMI.

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

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

sudo dnf -y install python3-openipmi

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

sudo yum -y install python3-openipmi

How To Uninstall python3-openipmi on Rocky Linux 8

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

sudo dnf remove python3-openipmi

python3-openipmi Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/55
/usr/lib/.build-id/55/afdf726d5e0c1b8e0053da35b6d56407f9f1a5
/usr/lib64/python3.6/site-packages/OpenIPMI.py
/usr/lib64/python3.6/site-packages/_OpenIPMI.la
/usr/lib64/python3.6/site-packages/_OpenIPMI.so
/usr/lib64/python3.6/site-packages/__pycache__/OpenIPMI.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/__pycache__/OpenIPMI.cpython-36.pyc

References

Summary

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