How To Install rubygem-openscap on Fedora 36

In this tutorial we learn how to install rubygem-openscap in Fedora 36. rubygem-openscap is A FFI wrapper around the OpenSCAP library

Introduction

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

What is rubygem-openscap

A FFI wrapper around the OpenSCAP library. The rubygem-openscap provides only a subset of openscap functionality.

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

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

sudo dnf -y install rubygem-openscap

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

sudo yum -y install rubygem-openscap

How To Uninstall rubygem-openscap on Fedora 36

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

sudo dnf remove rubygem-openscap

rubygem-openscap Package Contents on Fedora 36

/usr/share/gems/gems/openscap-0.4.9
/usr/share/gems/gems/openscap-0.4.9/COPYING
/usr/share/gems/gems/openscap-0.4.9/README.md
/usr/share/gems/gems/openscap-0.4.9/lib
/usr/share/gems/gems/openscap-0.4.9/lib/openscap
/usr/share/gems/gems/openscap-0.4.9/lib/openscap.rb
/usr/share/gems/gems/openscap-0.4.9/lib/openscap/all.rb
/usr/share/gems/gems/openscap-0.4.9/lib/openscap/ds
/usr/share/gems/gems/openscap-0.4.9/lib/openscap/ds/arf.rb
/usr/share/gems/gems/openscap-0.4.9/lib/openscap/ds/sds.rb
/usr/share/gems/gems/openscap-0.4.9/lib/openscap/exceptions.rb
/usr/share/gems/gems/openscap-0.4.9/lib/openscap/libc.rb
/usr/share/gems/gems/openscap-0.4.9/lib/openscap/openscap.rb
/usr/share/gems/gems/openscap-0.4.9/lib/openscap/source.rb
/usr/share/gems/gems/openscap-0.4.9/lib/openscap/text.rb
/usr/share/gems/gems/openscap-0.4.9/lib/openscap/version.rb
/usr/share/gems/gems/openscap-0.4.9/lib/openscap/xccdf
/usr/share/gems/gems/openscap-0.4.9/lib/openscap/xccdf.rb
/usr/share/gems/gems/openscap-0.4.9/lib/openscap/xccdf/benchmark.rb
/usr/share/gems/gems/openscap-0.4.9/lib/openscap/xccdf/fix.rb
/usr/share/gems/gems/openscap-0.4.9/lib/openscap/xccdf/group.rb
/usr/share/gems/gems/openscap-0.4.9/lib/openscap/xccdf/ident.rb
/usr/share/gems/gems/openscap-0.4.9/lib/openscap/xccdf/item.rb
/usr/share/gems/gems/openscap-0.4.9/lib/openscap/xccdf/policy.rb
/usr/share/gems/gems/openscap-0.4.9/lib/openscap/xccdf/policy_model.rb
/usr/share/gems/gems/openscap-0.4.9/lib/openscap/xccdf/profile.rb
/usr/share/gems/gems/openscap-0.4.9/lib/openscap/xccdf/reference.rb
/usr/share/gems/gems/openscap-0.4.9/lib/openscap/xccdf/rule.rb
/usr/share/gems/gems/openscap-0.4.9/lib/openscap/xccdf/ruleresult.rb
/usr/share/gems/gems/openscap-0.4.9/lib/openscap/xccdf/session.rb
/usr/share/gems/gems/openscap-0.4.9/lib/openscap/xccdf/tailoring.rb
/usr/share/gems/gems/openscap-0.4.9/lib/openscap/xccdf/testresult.rb
/usr/share/gems/gems/openscap-0.4.9/lib/openscap/xccdf/value.rb
/usr/share/gems/specifications/openscap-0.4.9.gemspec

References

Summary

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