How To Install wsmancli on Fedora 36

In this tutorial we learn how to install wsmancli in Fedora 36. wsmancli is WS-Management-Command line Interface

Introduction

In this tutorial we learn how to install wsmancli on Fedora 36.

What is wsmancli

Command line interface for managing systems using Web Services Management protocol.

We can use yum or dnf to install wsmancli on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install wsmancli.

Install wsmancli on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install wsmancli using dnf by running the following command:

sudo dnf -y install wsmancli

Install wsmancli on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install wsmancli using yum by running the following command:

sudo yum -y install wsmancli

How To Uninstall wsmancli on Fedora 36

To uninstall only the wsmancli package we can use the following command:

sudo dnf remove wsmancli

wsmancli Package Contents on Fedora 36

/usr/bin/wseventmgr
/usr/bin/wsman
/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/f7f39f44a650b89751d95bcaabbe6e14db7237
/usr/lib/.build-id/67
/usr/lib/.build-id/67/579c2b449c03ad1b648a4682f87f362c1f4e17
/usr/share/doc/wsmancli
/usr/share/doc/wsmancli/AUTHORS
/usr/share/doc/wsmancli/COPYING
/usr/share/doc/wsmancli/README
/usr/share/man/man1/wseventmgr.1.gz
/usr/share/man/man1/wsman.1.gz

References

Summary

In this tutorial we learn how to install wsmancli on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).