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

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

Introduction

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

What is openwsman-ruby.x86_64

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

We can use yum to install openwsman-ruby.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-ruby.x86_64.

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

sudo yum -y install openwsman-ruby.x86_64

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

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

sudo yum remove openwsman-ruby.x86_64

openwsman-ruby.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/ruby/vendor_ruby/_openwsman.so
/usr/share/doc/openwsman-ruby-2.6.3
/usr/share/doc/openwsman-ruby-2.6.3/AUTHORS
/usr/share/doc/openwsman-ruby-2.6.3/COPYING
/usr/share/doc/openwsman-ruby-2.6.3/ChangeLog
/usr/share/doc/openwsman-ruby-2.6.3/README.md
/usr/share/ruby/vendor_ruby/openwsman
/usr/share/ruby/vendor_ruby/openwsman/openwsman.rb
/usr/share/ruby/vendor_ruby/openwsman/version.rb
/usr/share/ruby/vendor_ruby/openwsman/xmldoc.rb
/usr/share/ruby/vendor_ruby/openwsman/xmlnode.rb

References

Summary

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