How To Install rubygem-aruba on CentOS 8

rubygem-aruba is CLI Steps for Cucumber, hand-crafted for you in Aruba

Introduction

In this tutorial we learn how to install rubygem-aruba on CentOS 8.

What is rubygem-aruba

Aruba is Cucumber extension for Command line applications written in any programming language.

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

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

sudo dnf -y install rubygem-aruba

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

sudo yum -y install rubygem-aruba

How To Uninstall rubygem-aruba on CentOS 8

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

sudo dnf remove rubygem-aruba

rubygem-aruba Package Contents on CentOS 8

/usr/share/gems/gems/aruba-0.14.14
/usr/share/gems/gems/aruba-0.14.14/LICENSE
/usr/share/gems/gems/aruba-0.14.14/README.md
/usr/share/gems/gems/aruba-0.14.14/bin
/usr/share/gems/gems/aruba-0.14.14/bin/aruba
/usr/share/gems/gems/aruba-0.14.14/lib
/usr/share/gems/gems/aruba-0.14.14/lib/aruba
/usr/share/gems/gems/aruba-0.14.14/lib/aruba.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/api
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/api.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/api/bundler.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/api/commands.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/api/core.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/api/deprecated.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/api/environment.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/api/filesystem.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/api/text.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/aruba_path.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/basic_configuration
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/basic_configuration.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/basic_configuration/option.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/cli.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/colorizer.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/command.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/config
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/config.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/config/jruby.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/config_wrapper.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/console
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/console.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/console/help.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/contracts
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/contracts/absolute_path.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/contracts/enum.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/contracts/is_power_of_two.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/contracts/relative_path.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/cucumber
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/cucumber.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/cucumber/command.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/cucumber/core.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/cucumber/deprecated.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/cucumber/environment.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/cucumber/file.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/cucumber/hooks.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/cucumber/rvm.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/cucumber/testing_frameworks.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/errors.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/event_bus
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/event_bus.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/event_bus/name_resolver.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/events.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/extensions
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/extensions/string
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/extensions/string/strip.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/file_size.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/generators
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/generators/script_file.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/hooks.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/in_config_wrapper.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/in_process.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/initializer.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/jruby.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/base
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/base/base_matcher.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/base/object_formatter.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/collection
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/collection.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/collection/all.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/collection/include_an_object.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/command
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/command.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/command/be_successfully_executed.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/command/have_exit_status.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/command/have_finished_in_time.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/command/have_output.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/command/have_output_on_stderr.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/command/have_output_on_stdout.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/command/have_output_size.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/deprecated
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/deprecated.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/deprecated/file.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/directory
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/directory.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/directory/be_an_existing_directory.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/directory/have_sub_directory.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/environment.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/file
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/file.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/file/be_a_command_found_in_path.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/file/be_an_existing_executable.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/file/be_an_existing_file.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/file/have_file_content.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/file/have_file_size.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/file/have_same_file_content.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/path
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/path.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/path/a_path_matching_pattern.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/path/be_an_absolute_path.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/path/be_an_existing_path.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/path/have_permissions.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/path/match_path_pattern.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/rspec_matcher_include_regexp.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/string
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/string.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/string/include_output_string.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/string/match_output_string.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/matchers/string/output_string_eq.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/platform.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/platforms
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/platforms/announcer.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/platforms/aruba_file_creator.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/platforms/aruba_fixed_size_file_creator.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/platforms/aruba_logger.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/platforms/command_monitor.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/platforms/determine_disk_usage.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/platforms/determine_file_size.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/platforms/disk_usage_calculator.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/platforms/filesystem_status.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/platforms/local_environment.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/platforms/simple_table.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/platforms/unix_command_string.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/platforms/unix_environment_variables.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/platforms/unix_platform.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/platforms/unix_which.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/platforms/windows_command_string.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/platforms/windows_environment_variables.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/platforms/windows_platform.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/platforms/windows_which.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/processes
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/processes/basic_process.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/processes/debug_process.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/processes/in_process.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/processes/spawn_process.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/reporting.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/rspec.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/runtime.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/setup.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/spawn_process.rb
/usr/share/gems/gems/aruba-0.14.14/lib/aruba/version.rb
/usr/share/gems/specifications/aruba-0.14.14.gemspec

References

Summary

In this tutorial we learn how to install rubygem-aruba on CentOS 8 using yum and dnf.