How To Install rubygem-puppet-resource_api on Rocky Linux 8

In this tutorial we learn how to install rubygem-puppet-resource_api on Rocky Linux 8. rubygem-puppet-resource_api is This library provides a simple way to write new native resources for puppet

Introduction

In this tutorial we learn how to install rubygem-puppet-resource_api on Rocky Linux 8.

What is rubygem-puppet-resource_api

This library provides a simple way to write new native resources for puppet.

We can use yum or dnf to install rubygem-puppet-resource_api on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-puppet-resource_api.

Install rubygem-puppet-resource_api on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install rubygem-puppet-resource_api using dnf by running the following command:

sudo dnf -y install rubygem-puppet-resource_api

Install rubygem-puppet-resource_api on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install rubygem-puppet-resource_api using yum by running the following command:

sudo yum -y install rubygem-puppet-resource_api

How To Uninstall rubygem-puppet-resource_api on Rocky Linux 8

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

sudo dnf remove rubygem-puppet-resource_api

rubygem-puppet-resource_api Package Contents on Rocky Linux 8

/usr/share/gems/gems/puppet-resource_api-1.8.13
/usr/share/gems/gems/puppet-resource_api-1.8.13/.dependency_decisions.yml
/usr/share/gems/gems/puppet-resource_api-1.8.13/.fixtures.yml
/usr/share/gems/gems/puppet-resource_api-1.8.13/LICENSE
/usr/share/gems/gems/puppet-resource_api-1.8.13/NOTICE
/usr/share/gems/gems/puppet-resource_api-1.8.13/bin
/usr/share/gems/gems/puppet-resource_api-1.8.13/bin/console
/usr/share/gems/gems/puppet-resource_api-1.8.13/bin/setup
/usr/share/gems/gems/puppet-resource_api-1.8.13/contrib
/usr/share/gems/gems/puppet-resource_api-1.8.13/contrib/README.md
/usr/share/gems/gems/puppet-resource_api-1.8.13/contrib/pre-commit
/usr/share/gems/gems/puppet-resource_api-1.8.13/lib
/usr/share/gems/gems/puppet-resource_api-1.8.13/lib/puppet
/usr/share/gems/gems/puppet-resource_api-1.8.13/lib/puppet/resource_api
/usr/share/gems/gems/puppet-resource_api-1.8.13/lib/puppet/resource_api.rb
/usr/share/gems/gems/puppet-resource_api-1.8.13/lib/puppet/resource_api/base_context.rb
/usr/share/gems/gems/puppet-resource_api-1.8.13/lib/puppet/resource_api/data_type_handling.rb
/usr/share/gems/gems/puppet-resource_api-1.8.13/lib/puppet/resource_api/glue.rb
/usr/share/gems/gems/puppet-resource_api-1.8.13/lib/puppet/resource_api/io_context.rb
/usr/share/gems/gems/puppet-resource_api-1.8.13/lib/puppet/resource_api/parameter.rb
/usr/share/gems/gems/puppet-resource_api-1.8.13/lib/puppet/resource_api/property.rb
/usr/share/gems/gems/puppet-resource_api-1.8.13/lib/puppet/resource_api/puppet_context.rb
/usr/share/gems/gems/puppet-resource_api-1.8.13/lib/puppet/resource_api/read_only_parameter.rb
/usr/share/gems/gems/puppet-resource_api-1.8.13/lib/puppet/resource_api/simple_provider.rb
/usr/share/gems/gems/puppet-resource_api-1.8.13/lib/puppet/resource_api/transport
/usr/share/gems/gems/puppet-resource_api-1.8.13/lib/puppet/resource_api/transport.rb
/usr/share/gems/gems/puppet-resource_api-1.8.13/lib/puppet/resource_api/transport/wrapper.rb
/usr/share/gems/gems/puppet-resource_api-1.8.13/lib/puppet/resource_api/type_definition.rb
/usr/share/gems/gems/puppet-resource_api-1.8.13/lib/puppet/resource_api/value_creator.rb
/usr/share/gems/gems/puppet-resource_api-1.8.13/lib/puppet/resource_api/version.rb
/usr/share/gems/gems/puppet-resource_api-1.8.13/lib/puppet/util
/usr/share/gems/gems/puppet-resource_api-1.8.13/lib/puppet/util/network_device
/usr/share/gems/gems/puppet-resource_api-1.8.13/lib/puppet/util/network_device/simple
/usr/share/gems/gems/puppet-resource_api-1.8.13/lib/puppet/util/network_device/simple/device.rb
/usr/share/gems/specifications/puppet-resource_api-1.8.13.gemspec

References

Summary

In this tutorial we learn how to install rubygem-puppet-resource_api on Rocky Linux 8 using yum and dnf.