How To Install rubygem-rspec-support on CentOS 8

rubygem-rspec-support is Common functionality to Rspec series

Introduction

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

What is rubygem-rspec-support

RSpec RSpec suitable for internal use only at this time.

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

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

sudo dnf -y install rubygem-rspec-support

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

sudo yum -y install rubygem-rspec-support

How To Uninstall rubygem-rspec-support on CentOS 8

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

sudo dnf remove rubygem-rspec-support

rubygem-rspec-support Package Contents on CentOS 8

/usr/share/gems/gems/rspec-support-3.7.1
/usr/share/gems/gems/rspec-support-3.7.1/Changelog.md
/usr/share/gems/gems/rspec-support-3.7.1/LICENSE.md
/usr/share/gems/gems/rspec-support-3.7.1/README.md
/usr/share/gems/gems/rspec-support-3.7.1/lib
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/caller_filter.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/comparable_version.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/differ.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/directory_maker.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/encoded_string.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/fuzzy_matcher.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/hunk_generator.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/matcher_definition.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/method_signature_verifier.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/mutex.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/object_formatter.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/recursive_const_methods.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/reentrant_mutex.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/ruby_features.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/source
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/source.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/source/location.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/source/node.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/source/token.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/spec
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/spec.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/spec/deprecation_helpers.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/spec/formatting_support.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/spec/in_sub_process.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/spec/library_wide_checks.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/spec/shell_out.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/spec/stderr_splitter.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/spec/string_matcher.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/spec/with_isolated_directory.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/spec/with_isolated_stderr.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/version.rb
/usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/warnings.rb
/usr/share/gems/specifications/rspec-support-3.7.1.gemspec

References

Summary

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