How To Install rubygem-activemodel-serializers-xml on Fedora 36

In this tutorial we learn how to install rubygem-activemodel-serializers-xml in Fedora 36. rubygem-activemodel-serializers-xml is XML serialization for Active Model objects and Active Record models

Introduction

In this tutorial we learn how to install rubygem-activemodel-serializers-xml on Fedora 36.

What is rubygem-activemodel-serializers-xml

XML serialization for your Active Model objects and Active Record models - extracted from Rails.

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

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

sudo dnf -y install rubygem-activemodel-serializers-xml

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

sudo yum -y install rubygem-activemodel-serializers-xml

How To Uninstall rubygem-activemodel-serializers-xml on Fedora 36

To uninstall only the rubygem-activemodel-serializers-xml package we can use the following command:

sudo dnf remove rubygem-activemodel-serializers-xml

rubygem-activemodel-serializers-xml Package Contents on Fedora 36

/usr/share/gems/gems/activemodel-serializers-xml-1.0.2
/usr/share/gems/gems/activemodel-serializers-xml-1.0.2/MIT-LICENSE
/usr/share/gems/gems/activemodel-serializers-xml-1.0.2/lib
/usr/share/gems/gems/activemodel-serializers-xml-1.0.2/lib/active_model
/usr/share/gems/gems/activemodel-serializers-xml-1.0.2/lib/active_model/serializers
/usr/share/gems/gems/activemodel-serializers-xml-1.0.2/lib/active_model/serializers.rb
/usr/share/gems/gems/activemodel-serializers-xml-1.0.2/lib/active_model/serializers/version.rb
/usr/share/gems/gems/activemodel-serializers-xml-1.0.2/lib/active_model/serializers/xml.rb
/usr/share/gems/gems/activemodel-serializers-xml-1.0.2/lib/active_record
/usr/share/gems/gems/activemodel-serializers-xml-1.0.2/lib/active_record/serializers
/usr/share/gems/gems/activemodel-serializers-xml-1.0.2/lib/active_record/serializers/xml_serializer.rb
/usr/share/gems/gems/activemodel-serializers-xml-1.0.2/lib/activemodel-serializers-xml.rb
/usr/share/gems/specifications/activemodel-serializers-xml-1.0.2.gemspec

References

Summary

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