How To Install rubygem-ox on Fedora 36

In this tutorial we learn how to install rubygem-ox in Fedora 36. rubygem-ox is Fast XML parser and object serializer

Introduction

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

What is rubygem-ox

A fast XML parser and object serializer that uses only standard C lib. Optimized XML (Ox), as the name implies was written to provide speed optimized XML handling. It was designed to be an alternative to Nokogiri and other Ruby XML parsers for generic XML parsing and as an alternative to Marshal for Object serialization.

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

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

sudo dnf -y install rubygem-ox

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

sudo yum -y install rubygem-ox

How To Uninstall rubygem-ox on Fedora 36

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

sudo dnf remove rubygem-ox

rubygem-ox Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/50c577a742b7cf15e6acafca1f4aeb144b59ae
/usr/lib64/gems/ruby/ox-2.14.8
/usr/lib64/gems/ruby/ox-2.14.8/gem.build_complete
/usr/lib64/gems/ruby/ox-2.14.8/ox
/usr/lib64/gems/ruby/ox-2.14.8/ox/ox.so
/usr/share/gems/gems/ox-2.14.8
/usr/share/gems/gems/ox-2.14.8/LICENSE
/usr/share/gems/gems/ox-2.14.8/lib
/usr/share/gems/gems/ox-2.14.8/lib/ox
/usr/share/gems/gems/ox-2.14.8/lib/ox.rb
/usr/share/gems/gems/ox-2.14.8/lib/ox/bag.rb
/usr/share/gems/gems/ox-2.14.8/lib/ox/cdata.rb
/usr/share/gems/gems/ox-2.14.8/lib/ox/comment.rb
/usr/share/gems/gems/ox-2.14.8/lib/ox/doctype.rb
/usr/share/gems/gems/ox-2.14.8/lib/ox/document.rb
/usr/share/gems/gems/ox-2.14.8/lib/ox/element.rb
/usr/share/gems/gems/ox-2.14.8/lib/ox/error.rb
/usr/share/gems/gems/ox-2.14.8/lib/ox/hasattrs.rb
/usr/share/gems/gems/ox-2.14.8/lib/ox/instruct.rb
/usr/share/gems/gems/ox-2.14.8/lib/ox/node.rb
/usr/share/gems/gems/ox-2.14.8/lib/ox/raw.rb
/usr/share/gems/gems/ox-2.14.8/lib/ox/sax.rb
/usr/share/gems/gems/ox-2.14.8/lib/ox/version.rb
/usr/share/gems/gems/ox-2.14.8/lib/ox/xmlrpc_adapter.rb
/usr/share/gems/specifications/ox-2.14.8.gemspec

References

Summary

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