How To Install rubygem-rdiscount-doc on CentOS 8

rubygem-rdiscount-doc is Documentation for rubygem-rdiscount

Introduction

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

What is rubygem-rdiscount-doc

This package contains Rakefile, test directory and documentation for rubygem-rdiscount.

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

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

sudo dnf -y install rubygem-rdiscount-doc

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

sudo yum -y install rubygem-rdiscount-doc

How To Uninstall rubygem-rdiscount-doc on CentOS 8

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

sudo dnf remove rubygem-rdiscount-doc

rubygem-rdiscount-doc Package Contents on CentOS 8

/usr/share/gems/doc/rdiscount-2.2.0.1
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/COPYING.html
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/Object.html
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/RDiscount.html
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/RbConfig.html
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/css
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/css/fonts.css
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/css/rdoc.css
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/ext
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/ext/Makefile.html
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/ext/VERSION.html
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/ext/blocktags.html
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/fonts
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/fonts/Lato-Light.ttf
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/fonts/Lato-LightItalic.ttf
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/fonts/Lato-Regular.ttf
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/fonts/Lato-RegularItalic.ttf
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/fonts/SourceCodePro-Bold.ttf
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/fonts/SourceCodePro-Regular.ttf
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/images
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/images/add.png
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/images/arrow_up.png
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/images/brick.png
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/images/brick_link.png
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/images/bug.png
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/images/bullet_black.png
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/images/bullet_toggle_minus.png
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/images/bullet_toggle_plus.png
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/images/date.png
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/images/delete.png
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/images/find.png
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/images/loadingAnimation.gif
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/images/macFFBgHack.png
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/images/package.png
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/images/page_green.png
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/images/page_white_text.png
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/images/page_white_width.png
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/images/plugin.png
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/images/ruby.png
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/images/tag_blue.png
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/images/tag_green.png
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/images/transparent.png
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/images/wrench.png
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/images/wrench_orange.png
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/images/zoom.png
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/index.html
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/js
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/js/darkfish.js
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/js/jquery.js
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/js/navigation.js
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/js/navigation.js.gz
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/js/search.js
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/js/search_index.js
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/js/search_index.js.gz
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/js/searcher.js
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/js/searcher.js.gz
/usr/share/gems/doc/rdiscount-2.2.0.1/rdoc/table_of_contents.html
/usr/share/gems/doc/rdiscount-2.2.0.1/ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/Object
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/Object/cdesc-Object.ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/Object/sized_int-i.ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/RDiscount
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/RDiscount/autolink-i.ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/RDiscount/cdesc-RDiscount.ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/RDiscount/filter_html-i.ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/RDiscount/filter_styles-i.ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/RDiscount/fold_lines-i.ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/RDiscount/footnotes-i.ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/RDiscount/generate_toc-i.ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/RDiscount/new-c.ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/RDiscount/no_image-i.ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/RDiscount/no_links-i.ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/RDiscount/no_pseudo_protocols-i.ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/RDiscount/no_strikethrough-i.ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/RDiscount/no_superscript-i.ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/RDiscount/no_tables-i.ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/RDiscount/safelink-i.ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/RDiscount/smart-i.ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/RDiscount/strict-i.ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/RDiscount/text-i.ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/RDiscount/to_html-i.ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/RDiscount/toc_content-i.ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/RbConfig
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/RbConfig/cdesc-RbConfig.ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/cache.ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/ext
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/ext/page-Makefile.ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/ext/page-VERSION.ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/ext/page-blocktags.ri
/usr/share/gems/doc/rdiscount-2.2.0.1/ri/page-COPYING.ri
/usr/share/gems/gems/rdiscount-2.2.0.1/README.markdown
/usr/share/gems/gems/rdiscount-2.2.0.1/Rakefile
/usr/share/gems/gems/rdiscount-2.2.0.1/rdiscount.gemspec
/usr/share/gems/gems/rdiscount-2.2.0.1/test
/usr/share/gems/gems/rdiscount-2.2.0.1/test/benchmark.rb
/usr/share/gems/gems/rdiscount-2.2.0.1/test/benchmark.txt
/usr/share/gems/gems/rdiscount-2.2.0.1/test/markdown_test.rb
/usr/share/gems/gems/rdiscount-2.2.0.1/test/rdiscount_test.rb

References

Summary

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