How To Install wsmancli.x86_64 on Amazon Linux 2

In this tutorial we learn how to install wsmancli.x86_64 in Amazon Linux 2. wsmancli.x86_64 is WS-Management-Command line Interface

Introduction

In this tutorial we learn how to install wsmancli.x86_64 on Amazon Linux 2.

What is wsmancli.x86_64

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

We can use yum to install wsmancli.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install wsmancli.x86_64.

Install wsmancli.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install wsmancli.x86_64

How To Uninstall wsmancli.x86_64 on Amazon Linux 2

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

sudo yum remove wsmancli.x86_64

wsmancli.x86_64 Package Contents on Amazon Linux 2

/usr/bin/wseventmgr
/usr/bin/wsman
/usr/share/doc/wsmancli-2.6.0
/usr/share/doc/wsmancli-2.6.0/AUTHORS
/usr/share/doc/wsmancli-2.6.0/COPYING
/usr/share/doc/wsmancli-2.6.0/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.x86_64 on Amazon Linux 2 using yum.