How To Install openwsman-perl.x86_64 on Amazon Linux 2

In this tutorial we learn how to install openwsman-perl.x86_64 in Amazon Linux 2. openwsman-perl.x86_64 is Perl bindings for openwsman client API

Introduction

In this tutorial we learn how to install openwsman-perl.x86_64 on Amazon Linux 2.

What is openwsman-perl.x86_64

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

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

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

sudo yum -y install openwsman-perl.x86_64

How To Uninstall openwsman-perl.x86_64 on Amazon Linux 2

To uninstall only the openwsman-perl.x86_64 package we can use the following command:

sudo yum remove openwsman-perl.x86_64

openwsman-perl.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/perl5/vendor_perl/openwsman.so
/usr/share/doc/openwsman-perl-2.6.3
/usr/share/doc/openwsman-perl-2.6.3/AUTHORS
/usr/share/doc/openwsman-perl-2.6.3/COPYING
/usr/share/doc/openwsman-perl-2.6.3/ChangeLog
/usr/share/doc/openwsman-perl-2.6.3/README.md
/usr/share/perl5/vendor_perl/openwsman.pm

References

Summary

In this tutorial we learn how to install openwsman-perl.x86_64 on Amazon Linux 2 using yum.