How To Install rubygem-metaclass-doc on CentOS 8

rubygem-metaclass-doc is Documentation for rubygem-metaclass

Introduction

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

What is rubygem-metaclass-doc

Documentation for rubygem-metaclass

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

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

sudo dnf -y install rubygem-metaclass-doc

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

sudo yum -y install rubygem-metaclass-doc

How To Uninstall rubygem-metaclass-doc on CentOS 8

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

sudo dnf remove rubygem-metaclass-doc

rubygem-metaclass-doc Package Contents on CentOS 8

/usr/share/gems/doc/metaclass-0.0.4
/usr/share/gems/doc/metaclass-0.0.4/rdoc
/usr/share/gems/doc/metaclass-0.0.4/rdoc/Metaclass
/usr/share/gems/doc/metaclass-0.0.4/rdoc/Metaclass.html
/usr/share/gems/doc/metaclass-0.0.4/rdoc/Metaclass/ObjectMethods.html
/usr/share/gems/doc/metaclass-0.0.4/rdoc/Object.html
/usr/share/gems/doc/metaclass-0.0.4/rdoc/css
/usr/share/gems/doc/metaclass-0.0.4/rdoc/css/fonts.css
/usr/share/gems/doc/metaclass-0.0.4/rdoc/css/rdoc.css
/usr/share/gems/doc/metaclass-0.0.4/rdoc/fonts
/usr/share/gems/doc/metaclass-0.0.4/rdoc/fonts/Lato-Light.ttf
/usr/share/gems/doc/metaclass-0.0.4/rdoc/fonts/Lato-LightItalic.ttf
/usr/share/gems/doc/metaclass-0.0.4/rdoc/fonts/Lato-Regular.ttf
/usr/share/gems/doc/metaclass-0.0.4/rdoc/fonts/Lato-RegularItalic.ttf
/usr/share/gems/doc/metaclass-0.0.4/rdoc/fonts/SourceCodePro-Bold.ttf
/usr/share/gems/doc/metaclass-0.0.4/rdoc/fonts/SourceCodePro-Regular.ttf
/usr/share/gems/doc/metaclass-0.0.4/rdoc/images
/usr/share/gems/doc/metaclass-0.0.4/rdoc/images/add.png
/usr/share/gems/doc/metaclass-0.0.4/rdoc/images/arrow_up.png
/usr/share/gems/doc/metaclass-0.0.4/rdoc/images/brick.png
/usr/share/gems/doc/metaclass-0.0.4/rdoc/images/brick_link.png
/usr/share/gems/doc/metaclass-0.0.4/rdoc/images/bug.png
/usr/share/gems/doc/metaclass-0.0.4/rdoc/images/bullet_black.png
/usr/share/gems/doc/metaclass-0.0.4/rdoc/images/bullet_toggle_minus.png
/usr/share/gems/doc/metaclass-0.0.4/rdoc/images/bullet_toggle_plus.png
/usr/share/gems/doc/metaclass-0.0.4/rdoc/images/date.png
/usr/share/gems/doc/metaclass-0.0.4/rdoc/images/delete.png
/usr/share/gems/doc/metaclass-0.0.4/rdoc/images/find.png
/usr/share/gems/doc/metaclass-0.0.4/rdoc/images/loadingAnimation.gif
/usr/share/gems/doc/metaclass-0.0.4/rdoc/images/macFFBgHack.png
/usr/share/gems/doc/metaclass-0.0.4/rdoc/images/package.png
/usr/share/gems/doc/metaclass-0.0.4/rdoc/images/page_green.png
/usr/share/gems/doc/metaclass-0.0.4/rdoc/images/page_white_text.png
/usr/share/gems/doc/metaclass-0.0.4/rdoc/images/page_white_width.png
/usr/share/gems/doc/metaclass-0.0.4/rdoc/images/plugin.png
/usr/share/gems/doc/metaclass-0.0.4/rdoc/images/ruby.png
/usr/share/gems/doc/metaclass-0.0.4/rdoc/images/tag_blue.png
/usr/share/gems/doc/metaclass-0.0.4/rdoc/images/tag_green.png
/usr/share/gems/doc/metaclass-0.0.4/rdoc/images/transparent.png
/usr/share/gems/doc/metaclass-0.0.4/rdoc/images/wrench.png
/usr/share/gems/doc/metaclass-0.0.4/rdoc/images/wrench_orange.png
/usr/share/gems/doc/metaclass-0.0.4/rdoc/images/zoom.png
/usr/share/gems/doc/metaclass-0.0.4/rdoc/index.html
/usr/share/gems/doc/metaclass-0.0.4/rdoc/js
/usr/share/gems/doc/metaclass-0.0.4/rdoc/js/darkfish.js
/usr/share/gems/doc/metaclass-0.0.4/rdoc/js/jquery.js
/usr/share/gems/doc/metaclass-0.0.4/rdoc/js/navigation.js
/usr/share/gems/doc/metaclass-0.0.4/rdoc/js/navigation.js.gz
/usr/share/gems/doc/metaclass-0.0.4/rdoc/js/search.js
/usr/share/gems/doc/metaclass-0.0.4/rdoc/js/search_index.js
/usr/share/gems/doc/metaclass-0.0.4/rdoc/js/search_index.js.gz
/usr/share/gems/doc/metaclass-0.0.4/rdoc/js/searcher.js
/usr/share/gems/doc/metaclass-0.0.4/rdoc/js/searcher.js.gz
/usr/share/gems/doc/metaclass-0.0.4/rdoc/table_of_contents.html
/usr/share/gems/doc/metaclass-0.0.4/ri
/usr/share/gems/doc/metaclass-0.0.4/ri/Metaclass
/usr/share/gems/doc/metaclass-0.0.4/ri/Metaclass/ObjectMethods
/usr/share/gems/doc/metaclass-0.0.4/ri/Metaclass/ObjectMethods/__metaclass__-i.ri
/usr/share/gems/doc/metaclass-0.0.4/ri/Metaclass/ObjectMethods/cdesc-ObjectMethods.ri
/usr/share/gems/doc/metaclass-0.0.4/ri/Metaclass/cdesc-Metaclass.ri
/usr/share/gems/doc/metaclass-0.0.4/ri/Object
/usr/share/gems/doc/metaclass-0.0.4/ri/Object/cdesc-Object.ri
/usr/share/gems/doc/metaclass-0.0.4/ri/cache.ri
/usr/share/gems/gems/metaclass-0.0.4/Gemfile
/usr/share/gems/gems/metaclass-0.0.4/README.md
/usr/share/gems/gems/metaclass-0.0.4/Rakefile
/usr/share/gems/gems/metaclass-0.0.4/test
/usr/share/gems/gems/metaclass-0.0.4/test/object_methods_test.rb
/usr/share/gems/gems/metaclass-0.0.4/test/test_helper.rb

References

Summary

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