How To Install rubygem-hocon on CentOS 8
Introduction
In this tutorial we learn how to install rubygem-hocon
on CentOS 8.
What is rubygem-hocon
A port of the Java Typesafe Config library to Ruby. https
We can use yum
or dnf
to install rubygem-hocon
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-hocon.
Install rubygem-hocon on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install rubygem-hocon
using dnf
by running the following command:
sudo dnf -y install rubygem-hocon
Install rubygem-hocon on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install rubygem-hocon
using yum
by running the following command:
sudo yum -y install rubygem-hocon
How To Uninstall rubygem-hocon on CentOS 8
To uninstall only the rubygem-hocon
package we can use the following command:
sudo dnf remove rubygem-hocon
rubygem-hocon Package Contents on CentOS 8
/usr/bin/hocon
/usr/share/gems/gems/hocon-1.3.0
/usr/share/gems/gems/hocon-1.3.0/LICENSE
/usr/share/gems/gems/hocon-1.3.0/lib
/usr/share/gems/gems/hocon-1.3.0/lib/hocon
/usr/share/gems/gems/hocon-1.3.0/lib/hocon.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/cli.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/config.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/config_error.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/config_factory.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/config_include_context.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/config_includer_file.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/config_list.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/config_mergeable.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/config_object.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/config_parse_options.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/config_parseable.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/config_render_options.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/config_resolve_options.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/config_syntax.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/config_util.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/config_value.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/config_value_factory.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/config_value_type.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/abstract_config_node.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/abstract_config_node_value.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/abstract_config_object.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/abstract_config_value.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/array_iterator.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/config_boolean.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/config_concatenation.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/config_delayed_merge.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/config_delayed_merge_object.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/config_document_parser.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/config_double.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/config_impl.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/config_impl_util.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/config_include_kind.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/config_int.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/config_node_array.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/config_node_comment.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/config_node_complex_value.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/config_node_concatenation.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/config_node_field.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/config_node_include.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/config_node_object.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/config_node_path.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/config_node_root.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/config_node_simple_value.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/config_node_single_token.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/config_null.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/config_number.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/config_parser.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/config_reference.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/config_string.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/container.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/default_transformer.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/from_map_mode.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/full_includer.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/memo_key.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/mergeable_value.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/origin_type.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/parseable.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/path.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/path_builder.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/path_parser.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/replaceable_merge_stack.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/resolve_context.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/resolve_memos.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/resolve_result.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/resolve_source.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/resolve_status.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/simple_config.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/simple_config_document.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/simple_config_list.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/simple_config_object.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/simple_config_origin.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/simple_include_context.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/simple_includer.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/substitution_expression.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/token.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/token_type.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/tokenizer.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/tokens.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/unmergeable.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/unsupported_operation_error.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/impl/url.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/parser
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/parser.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/parser/config_document.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/parser/config_document_factory.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/parser/config_node.rb
/usr/share/gems/gems/hocon-1.3.0/lib/hocon/version.rb
/usr/share/gems/specifications/hocon-1.3.0.gemspec
References
Summary
In this tutorial we learn how to install rubygem-hocon
on CentOS 8 using yum and dnf.