How To Install openwsman-python3 on Rocky Linux 8

In this tutorial we learn how to install openwsman-python3 on Rocky Linux 8. openwsman-python3 is Python bindings for openwsman client API

Introduction

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

What is openwsman-python3

This package provides Python3 bindings to access the openwsman client API.

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

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

sudo dnf -y install openwsman-python3

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

sudo yum -y install openwsman-python3

How To Uninstall openwsman-python3 on Rocky Linux 8

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

sudo dnf remove openwsman-python3

openwsman-python3 Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/79
/usr/lib/.build-id/79/5d4f1c20417baa84501ac02761ae0c17cc0fa7
/usr/lib64/python3.6/site-packages/__pycache__/pywsman.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/__pycache__/pywsman.cpython-36.pyc
/usr/lib64/python3.6/site-packages/_pywsman.so
/usr/lib64/python3.6/site-packages/pywsman.py
/usr/share/doc/openwsman-python3
/usr/share/doc/openwsman-python3/AUTHORS
/usr/share/doc/openwsman-python3/COPYING
/usr/share/doc/openwsman-python3/ChangeLog
/usr/share/doc/openwsman-python3/README.md

References

Summary

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