How To Install rubygem-declarative_authorization on Fedora 36

In this tutorial we learn how to install rubygem-declarative_authorization in Fedora 36. rubygem-declarative_authorization is Provides readable authorization rules for Rails

Introduction

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

What is rubygem-declarative_authorization

Provides readable authorization rules for Rails.

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

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

sudo dnf -y install rubygem-declarative_authorization

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

sudo yum -y install rubygem-declarative_authorization

How To Uninstall rubygem-declarative_authorization on Fedora 36

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

sudo dnf remove rubygem-declarative_authorization

rubygem-declarative_authorization Package Contents on Fedora 36

/usr/share/gems/gems/declarative_authorization-0.5.7
/usr/share/gems/gems/declarative_authorization-0.5.7/CHANGELOG
/usr/share/gems/gems/declarative_authorization-0.5.7/MIT-LICENSE
/usr/share/gems/gems/declarative_authorization-0.5.7/README.rdoc
/usr/share/gems/gems/declarative_authorization-0.5.7/Rakefile
/usr/share/gems/gems/declarative_authorization-0.5.7/app
/usr/share/gems/gems/declarative_authorization-0.5.7/app/controllers
/usr/share/gems/gems/declarative_authorization-0.5.7/app/controllers/authorization_rules_controller.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/app/controllers/authorization_usages_controller.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/app/helpers
/usr/share/gems/gems/declarative_authorization-0.5.7/app/helpers/authorization_rules_helper.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/app/views
/usr/share/gems/gems/declarative_authorization-0.5.7/app/views/authorization_rules
/usr/share/gems/gems/declarative_authorization-0.5.7/app/views/authorization_rules/_change.erb
/usr/share/gems/gems/declarative_authorization-0.5.7/app/views/authorization_rules/_show_graph.erb
/usr/share/gems/gems/declarative_authorization-0.5.7/app/views/authorization_rules/_suggestions.erb
/usr/share/gems/gems/declarative_authorization-0.5.7/app/views/authorization_rules/change.html.erb
/usr/share/gems/gems/declarative_authorization-0.5.7/app/views/authorization_rules/graph.dot.erb
/usr/share/gems/gems/declarative_authorization-0.5.7/app/views/authorization_rules/graph.html.erb
/usr/share/gems/gems/declarative_authorization-0.5.7/app/views/authorization_rules/index.html.erb
/usr/share/gems/gems/declarative_authorization-0.5.7/app/views/authorization_usages
/usr/share/gems/gems/declarative_authorization-0.5.7/app/views/authorization_usages/index.html.erb
/usr/share/gems/gems/declarative_authorization-0.5.7/authorization_rules.dist.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/config
/usr/share/gems/gems/declarative_authorization-0.5.7/config/routes.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/garlic_example.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/init.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/lib
/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization
/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization/authorization.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization/development_support
/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization/development_support/analyzer.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization/development_support/change_analyzer.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization/development_support/change_supporter.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization/development_support/development_support.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization/helper.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization/in_controller.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization/in_model.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization/maintenance.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization/obligation_scope.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization/rails_legacy.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization/railsengine.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization/reader.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/lib/tasks
/usr/share/gems/gems/declarative_authorization-0.5.7/lib/tasks/authorization_tasks.rake
/usr/share/gems/gems/declarative_authorization-0.5.7/test
/usr/share/gems/gems/declarative_authorization-0.5.7/test/authorization_test.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/test/controller_filter_resource_access_test.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/test/controller_test.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/test/database.yml
/usr/share/gems/gems/declarative_authorization-0.5.7/test/dsl_reader_test.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/test/helper_test.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/test/maintenance_test.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/test/model_test.rb
/usr/share/gems/gems/declarative_authorization-0.5.7/test/schema.sql
/usr/share/gems/gems/declarative_authorization-0.5.7/test/test_helper.rb
/usr/share/gems/specifications/declarative_authorization-0.5.7.gemspec

References

Summary

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