How To Install openwsman-python3 on AlmaLinux 8

In this tutorial we learn how to install openwsman-python3 in AlmaLinux 8. openwsman-python3 is Python bindings for openwsman client API

Introduction

In this tutorial we learn how to install openwsman-python3 on AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove openwsman-python3

References

Summary

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