How To Install rubygem-openwsman on Fedora 36

In this tutorial we learn how to install rubygem-openwsman in Fedora 36. rubygem-openwsman is Ruby client bindings for Openwsman

Introduction

In this tutorial we learn how to install rubygem-openwsman on Fedora 36.

What is rubygem-openwsman

The openwsman gem provides a Ruby API to manage systems using the WS-Management protocol.

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

Install rubygem-openwsman 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 rubygem-openwsman using dnf by running the following command:

sudo dnf -y install rubygem-openwsman

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

sudo yum -y install rubygem-openwsman

How To Uninstall rubygem-openwsman on Fedora 36

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

sudo dnf remove rubygem-openwsman

rubygem-openwsman Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/0c6abc3c4fce6d242b0d08b7336c92850e1f63
/usr/lib64/gems/ruby/openwsman-2.7.1
/usr/lib64/gems/ruby/openwsman-2.7.1/_openwsman.so
/usr/lib64/gems/ruby/openwsman-2.7.1/gem.build_complete
/usr/share/doc/rubygem-openwsman
/usr/share/doc/rubygem-openwsman/AUTHORS
/usr/share/doc/rubygem-openwsman/COPYING
/usr/share/doc/rubygem-openwsman/ChangeLog
/usr/share/doc/rubygem-openwsman/README.md
/usr/share/gems/gems/openwsman-2.7.1
/usr/share/gems/gems/openwsman-2.7.1/lib
/usr/share/gems/gems/openwsman-2.7.1/lib/openwsman
/usr/share/gems/gems/openwsman-2.7.1/lib/openwsman.rb
/usr/share/gems/gems/openwsman-2.7.1/lib/openwsman/openwsman.rb
/usr/share/gems/gems/openwsman-2.7.1/lib/openwsman/version.rb
/usr/share/gems/gems/openwsman-2.7.1/lib/openwsman/xmldoc.rb
/usr/share/gems/gems/openwsman-2.7.1/lib/openwsman/xmlnode.rb
/usr/share/gems/specifications/openwsman-2.7.1.gemspec

References

Summary

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