How To Install rubygem-pathspec-doc on CentOS 8

rubygem-pathspec-doc is Documentation for rubygem-pathspec

Introduction

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

What is rubygem-pathspec-doc

Documentaion for rubygem-pathspec

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

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

sudo dnf -y install rubygem-pathspec-doc

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

sudo yum -y install rubygem-pathspec-doc

How To Uninstall rubygem-pathspec-doc on CentOS 8

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

sudo dnf remove rubygem-pathspec-doc

rubygem-pathspec-doc Package Contents on CentOS 8

/usr/share/gems/doc/pathspec-0.2.1
/usr/share/gems/doc/pathspec-0.2.1/rdoc
/usr/share/gems/doc/pathspec-0.2.1/rdoc/PathSpec
/usr/share/gems/doc/pathspec-0.2.1/rdoc/PathSpec.html
/usr/share/gems/doc/pathspec-0.2.1/rdoc/PathSpec/GitIgnoreSpec.html
/usr/share/gems/doc/pathspec-0.2.1/rdoc/PathSpec/RegexSpec.html
/usr/share/gems/doc/pathspec-0.2.1/rdoc/PathSpec/Spec.html
/usr/share/gems/doc/pathspec-0.2.1/rdoc/css
/usr/share/gems/doc/pathspec-0.2.1/rdoc/css/fonts.css
/usr/share/gems/doc/pathspec-0.2.1/rdoc/css/rdoc.css
/usr/share/gems/doc/pathspec-0.2.1/rdoc/fonts
/usr/share/gems/doc/pathspec-0.2.1/rdoc/fonts/Lato-Light.ttf
/usr/share/gems/doc/pathspec-0.2.1/rdoc/fonts/Lato-LightItalic.ttf
/usr/share/gems/doc/pathspec-0.2.1/rdoc/fonts/Lato-Regular.ttf
/usr/share/gems/doc/pathspec-0.2.1/rdoc/fonts/Lato-RegularItalic.ttf
/usr/share/gems/doc/pathspec-0.2.1/rdoc/fonts/SourceCodePro-Bold.ttf
/usr/share/gems/doc/pathspec-0.2.1/rdoc/fonts/SourceCodePro-Regular.ttf
/usr/share/gems/doc/pathspec-0.2.1/rdoc/images
/usr/share/gems/doc/pathspec-0.2.1/rdoc/images/add.png
/usr/share/gems/doc/pathspec-0.2.1/rdoc/images/arrow_up.png
/usr/share/gems/doc/pathspec-0.2.1/rdoc/images/brick.png
/usr/share/gems/doc/pathspec-0.2.1/rdoc/images/brick_link.png
/usr/share/gems/doc/pathspec-0.2.1/rdoc/images/bug.png
/usr/share/gems/doc/pathspec-0.2.1/rdoc/images/bullet_black.png
/usr/share/gems/doc/pathspec-0.2.1/rdoc/images/bullet_toggle_minus.png
/usr/share/gems/doc/pathspec-0.2.1/rdoc/images/bullet_toggle_plus.png
/usr/share/gems/doc/pathspec-0.2.1/rdoc/images/date.png
/usr/share/gems/doc/pathspec-0.2.1/rdoc/images/delete.png
/usr/share/gems/doc/pathspec-0.2.1/rdoc/images/find.png
/usr/share/gems/doc/pathspec-0.2.1/rdoc/images/loadingAnimation.gif
/usr/share/gems/doc/pathspec-0.2.1/rdoc/images/macFFBgHack.png
/usr/share/gems/doc/pathspec-0.2.1/rdoc/images/package.png
/usr/share/gems/doc/pathspec-0.2.1/rdoc/images/page_green.png
/usr/share/gems/doc/pathspec-0.2.1/rdoc/images/page_white_text.png
/usr/share/gems/doc/pathspec-0.2.1/rdoc/images/page_white_width.png
/usr/share/gems/doc/pathspec-0.2.1/rdoc/images/plugin.png
/usr/share/gems/doc/pathspec-0.2.1/rdoc/images/ruby.png
/usr/share/gems/doc/pathspec-0.2.1/rdoc/images/tag_blue.png
/usr/share/gems/doc/pathspec-0.2.1/rdoc/images/tag_green.png
/usr/share/gems/doc/pathspec-0.2.1/rdoc/images/transparent.png
/usr/share/gems/doc/pathspec-0.2.1/rdoc/images/wrench.png
/usr/share/gems/doc/pathspec-0.2.1/rdoc/images/wrench_orange.png
/usr/share/gems/doc/pathspec-0.2.1/rdoc/images/zoom.png
/usr/share/gems/doc/pathspec-0.2.1/rdoc/index.html
/usr/share/gems/doc/pathspec-0.2.1/rdoc/js
/usr/share/gems/doc/pathspec-0.2.1/rdoc/js/darkfish.js
/usr/share/gems/doc/pathspec-0.2.1/rdoc/js/jquery.js
/usr/share/gems/doc/pathspec-0.2.1/rdoc/js/navigation.js
/usr/share/gems/doc/pathspec-0.2.1/rdoc/js/navigation.js.gz
/usr/share/gems/doc/pathspec-0.2.1/rdoc/js/search.js
/usr/share/gems/doc/pathspec-0.2.1/rdoc/js/search_index.js
/usr/share/gems/doc/pathspec-0.2.1/rdoc/js/search_index.js.gz
/usr/share/gems/doc/pathspec-0.2.1/rdoc/js/searcher.js
/usr/share/gems/doc/pathspec-0.2.1/rdoc/js/searcher.js.gz
/usr/share/gems/doc/pathspec-0.2.1/rdoc/table_of_contents.html
/usr/share/gems/doc/pathspec-0.2.1/ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/GitIgnoreSpec
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/GitIgnoreSpec/cdesc-GitIgnoreSpec.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/GitIgnoreSpec/inclusive%3f-i.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/GitIgnoreSpec/match-i.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/GitIgnoreSpec/new-c.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/GitIgnoreSpec/pattern-i.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/GitIgnoreSpec/regex-i.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/GitIgnoreSpec/translate_segment_glob-i.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/RegexSpec
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/RegexSpec/cdesc-RegexSpec.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/RegexSpec/inclusive%3f-i.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/RegexSpec/match-i.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/RegexSpec/new-c.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/Spec
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/Spec/cdesc-Spec.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/Spec/inclusive%3f-i.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/Spec/match-i.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/Spec/new-c.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/Spec/pattern-i.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/Spec/regex-i.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/Spec/to_s-i.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/add-i.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/cdesc-PathSpec.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/drive_letter_to_path-i.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/empty%3f-i.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/from_filename-c.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/from_lines-c.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/match-i.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/match_path-i.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/match_paths-i.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/match_tree-i.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/new-c.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/spec_type-i.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/specs-i.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/PathSpec/specs_matching-i.ri
/usr/share/gems/doc/pathspec-0.2.1/ri/cache.ri
/usr/share/gems/gems/pathspec-0.2.1/spec
/usr/share/gems/gems/pathspec-0.2.1/spec/files
/usr/share/gems/gems/pathspec-0.2.1/spec/files/gitignore_readme
/usr/share/gems/gems/pathspec-0.2.1/spec/files/gitignore_ruby
/usr/share/gems/gems/pathspec-0.2.1/spec/files/gitignore_simple
/usr/share/gems/gems/pathspec-0.2.1/spec/files/regex_simple
/usr/share/gems/gems/pathspec-0.2.1/spec/spec_helper.rb
/usr/share/gems/gems/pathspec-0.2.1/spec/unit
/usr/share/gems/gems/pathspec-0.2.1/spec/unit/pathspec
/usr/share/gems/gems/pathspec-0.2.1/spec/unit/pathspec/gitignorespec_spec.rb
/usr/share/gems/gems/pathspec-0.2.1/spec/unit/pathspec/spec_spec.rb
/usr/share/gems/gems/pathspec-0.2.1/spec/unit/pathspec_spec.rb

References

Summary

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