How To Install rubygem-redcarpet-doc on CentOS 8

rubygem-redcarpet-doc is Documentation for rubygem-redcarpet

Introduction

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

What is rubygem-redcarpet-doc

Documentation for rubygem-redcarpet.

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

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

sudo dnf -y install rubygem-redcarpet-doc

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

sudo yum -y install rubygem-redcarpet-doc

How To Uninstall rubygem-redcarpet-doc on CentOS 8

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

sudo dnf remove rubygem-redcarpet-doc

rubygem-redcarpet-doc Package Contents on CentOS 8

/usr/share/gems/doc/redcarpet-3.3.2
/usr/share/gems/doc/redcarpet-3.3.2/rdoc
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/COPYING.html
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/Object.html
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/Redcarpet
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/Redcarpet.html
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/Redcarpet/CLI.html
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/Redcarpet/Markdown.html
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/Redcarpet/Render
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/Redcarpet/Render.html
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/Redcarpet/Render/Base.html
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/Redcarpet/Render/HTML.html
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/Redcarpet/Render/HTML_TOC.html
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/Redcarpet/Render/ManPage.html
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/Redcarpet/Render/Safe.html
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/Redcarpet/Render/SmartyHTML.html
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/Redcarpet/Render/SmartyPants.html
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/Redcarpet/Render/StripDown.html
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/Redcarpet/Render/XHTML.html
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/RedcarpetCompat.html
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/css
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/css/fonts.css
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/css/rdoc.css
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/ext
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/ext/redcarpet
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/ext/redcarpet/Makefile.html
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/fonts
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/fonts/Lato-Light.ttf
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/fonts/Lato-LightItalic.ttf
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/fonts/Lato-Regular.ttf
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/fonts/Lato-RegularItalic.ttf
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/fonts/SourceCodePro-Bold.ttf
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/fonts/SourceCodePro-Regular.ttf
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/images
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/images/add.png
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/images/arrow_up.png
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/images/brick.png
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/images/brick_link.png
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/images/bug.png
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/images/bullet_black.png
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/images/bullet_toggle_minus.png
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/images/bullet_toggle_plus.png
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/images/date.png
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/images/delete.png
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/images/find.png
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/images/loadingAnimation.gif
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/images/macFFBgHack.png
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/images/package.png
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/images/page_green.png
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/images/page_white_text.png
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/images/page_white_width.png
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/images/plugin.png
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/images/ruby.png
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/images/tag_blue.png
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/images/tag_green.png
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/images/transparent.png
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/images/wrench.png
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/images/wrench_orange.png
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/images/zoom.png
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/index.html
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/js
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/js/darkfish.js
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/js/jquery.js
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/js/navigation.js
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/js/navigation.js.gz
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/js/search.js
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/js/search_index.js
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/js/search_index.js.gz
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/js/searcher.js
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/js/searcher.js.gz
/usr/share/gems/doc/redcarpet-3.3.2/rdoc/table_of_contents.html
/usr/share/gems/doc/redcarpet-3.3.2/ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Object
/usr/share/gems/doc/redcarpet-3.3.2/ri/Object/cdesc-Object.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/CLI
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/CLI/cdesc-CLI.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/CLI/options_parser-c.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/CLI/parser_object-c.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/CLI/process-c.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/CLI/render_object-c.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Markdown
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Markdown/cdesc-Markdown.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Markdown/new-c.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Markdown/render-i.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Markdown/renderer-i.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/Base
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/Base/cdesc-Base.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/Base/new-c.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/HTML
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/HTML/cdesc-HTML.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/HTML/new-c.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/HTML_TOC
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/HTML_TOC/cdesc-HTML_TOC.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/HTML_TOC/new-c.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/ManPage
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/ManPage/block_code-i.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/ManPage/cdesc-ManPage.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/ManPage/codespan-i.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/ManPage/double_emphasis-i.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/ManPage/emphasis-i.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/ManPage/header-i.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/ManPage/linebreak-i.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/ManPage/list-i.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/ManPage/list_item-i.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/ManPage/normal_text-i.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/ManPage/paragraph-i.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/Safe
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/Safe/block_code-i.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/Safe/cdesc-Safe.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/Safe/html_escape-i.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/Safe/new-c.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/SmartyHTML
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/SmartyHTML/cdesc-SmartyHTML.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/SmartyPants
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/SmartyPants/cdesc-SmartyPants.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/SmartyPants/postprocess-i.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/SmartyPants/render-c.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/StripDown
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/StripDown/cdesc-StripDown.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/StripDown/header-i.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/StripDown/image-i.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/StripDown/link-i.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/StripDown/paragraph-i.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/XHTML
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/XHTML/cdesc-XHTML.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/XHTML/new-c.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/Render/cdesc-Render.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/Redcarpet/cdesc-Redcarpet.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/RedcarpetCompat
/usr/share/gems/doc/redcarpet-3.3.2/ri/RedcarpetCompat/cdesc-RedcarpetCompat.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/RedcarpetCompat/list_to_truthy_hash-i.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/RedcarpetCompat/new-c.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/RedcarpetCompat/parse_extensions_and_renderer_options-i.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/RedcarpetCompat/rename_extensions-i.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/RedcarpetCompat/text-i.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/RedcarpetCompat/to_html-i.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/cache.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/ext
/usr/share/gems/doc/redcarpet-3.3.2/ri/ext/redcarpet
/usr/share/gems/doc/redcarpet-3.3.2/ri/ext/redcarpet/page-Makefile.ri
/usr/share/gems/doc/redcarpet-3.3.2/ri/page-COPYING.ri
/usr/share/gems/gems/redcarpet-3.3.2/Gemfile
/usr/share/gems/gems/redcarpet-3.3.2/Rakefile
/usr/share/gems/gems/redcarpet-3.3.2/redcarpet.gemspec
/usr/share/gems/gems/redcarpet-3.3.2/test
/usr/share/gems/gems/redcarpet-3.3.2/test/benchmark.rb
/usr/share/gems/gems/redcarpet-3.3.2/test/custom_render_test.rb
/usr/share/gems/gems/redcarpet-3.3.2/test/fixtures
/usr/share/gems/gems/redcarpet-3.3.2/test/fixtures/benchmark.md
/usr/share/gems/gems/redcarpet-3.3.2/test/html5_test.rb
/usr/share/gems/gems/redcarpet-3.3.2/test/html_render_test.rb
/usr/share/gems/gems/redcarpet-3.3.2/test/html_toc_render_test.rb
/usr/share/gems/gems/redcarpet-3.3.2/test/markdown_test.rb
/usr/share/gems/gems/redcarpet-3.3.2/test/pathological_inputs_test.rb
/usr/share/gems/gems/redcarpet-3.3.2/test/redcarpet_bin_test.rb
/usr/share/gems/gems/redcarpet-3.3.2/test/redcarpet_compat_test.rb
/usr/share/gems/gems/redcarpet-3.3.2/test/safe_render_test.rb
/usr/share/gems/gems/redcarpet-3.3.2/test/smarty_html_test.rb
/usr/share/gems/gems/redcarpet-3.3.2/test/smarty_pants_test.rb
/usr/share/gems/gems/redcarpet-3.3.2/test/stripdown_render_test.rb
/usr/share/gems/gems/redcarpet-3.3.2/test/test_helper.rb

References

Summary

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