How To Install rubygem-simplecov-html on CentOS 8

rubygem-simplecov-html is Default HTML formatter for SimpleCov

Introduction

In this tutorial we learn how to install rubygem-simplecov-html on CentOS 8.

What is rubygem-simplecov-html

Default HTML formatter for SimpleCov code coverage tool for ruby 1.9+

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

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

sudo dnf -y install rubygem-simplecov-html

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

sudo yum -y install rubygem-simplecov-html

How To Uninstall rubygem-simplecov-html on CentOS 8

To uninstall only the rubygem-simplecov-html package we can use the following command:

sudo dnf remove rubygem-simplecov-html

rubygem-simplecov-html Package Contents on CentOS 8

/usr/share/gems/gems/simplecov-html-0.10.0
/usr/share/gems/gems/simplecov-html-0.10.0/LICENSE
/usr/share/gems/gems/simplecov-html-0.10.0/assets
/usr/share/gems/gems/simplecov-html-0.10.0/assets/javascripts
/usr/share/gems/gems/simplecov-html-0.10.0/assets/javascripts/application.js
/usr/share/gems/gems/simplecov-html-0.10.0/assets/javascripts/libraries
/usr/share/gems/gems/simplecov-html-0.10.0/assets/javascripts/libraries/jquery-1.6.2.min.js
/usr/share/gems/gems/simplecov-html-0.10.0/assets/javascripts/plugins
/usr/share/gems/gems/simplecov-html-0.10.0/assets/javascripts/plugins/highlight.pack.js
/usr/share/gems/gems/simplecov-html-0.10.0/assets/javascripts/plugins/jquery.colorbox.js
/usr/share/gems/gems/simplecov-html-0.10.0/assets/javascripts/plugins/jquery.dataTables.min.js
/usr/share/gems/gems/simplecov-html-0.10.0/assets/javascripts/plugins/jquery.timeago.js
/usr/share/gems/gems/simplecov-html-0.10.0/assets/javascripts/plugins/jquery.url.js
/usr/share/gems/gems/simplecov-html-0.10.0/assets/stylesheets
/usr/share/gems/gems/simplecov-html-0.10.0/assets/stylesheets/application.css
/usr/share/gems/gems/simplecov-html-0.10.0/assets/stylesheets/plugins
/usr/share/gems/gems/simplecov-html-0.10.0/assets/stylesheets/plugins/highlight.css
/usr/share/gems/gems/simplecov-html-0.10.0/assets/stylesheets/plugins/jquery-ui-1.8.4.custom.css
/usr/share/gems/gems/simplecov-html-0.10.0/assets/stylesheets/plugins/jquery.colorbox.css
/usr/share/gems/gems/simplecov-html-0.10.0/assets/stylesheets/reset.css
/usr/share/gems/gems/simplecov-html-0.10.0/assets/stylesheets/screen.css.sass
/usr/share/gems/gems/simplecov-html-0.10.0/lib
/usr/share/gems/gems/simplecov-html-0.10.0/lib/simplecov-html
/usr/share/gems/gems/simplecov-html-0.10.0/lib/simplecov-html.rb
/usr/share/gems/gems/simplecov-html-0.10.0/lib/simplecov-html/version.rb
/usr/share/gems/gems/simplecov-html-0.10.0/public
/usr/share/gems/gems/simplecov-html-0.10.0/public/application.css
/usr/share/gems/gems/simplecov-html-0.10.0/public/application.js
/usr/share/gems/gems/simplecov-html-0.10.0/public/colorbox
/usr/share/gems/gems/simplecov-html-0.10.0/public/colorbox/border.png
/usr/share/gems/gems/simplecov-html-0.10.0/public/colorbox/controls.png
/usr/share/gems/gems/simplecov-html-0.10.0/public/colorbox/loading.gif
/usr/share/gems/gems/simplecov-html-0.10.0/public/colorbox/loading_background.png
/usr/share/gems/gems/simplecov-html-0.10.0/public/favicon_green.png
/usr/share/gems/gems/simplecov-html-0.10.0/public/favicon_red.png
/usr/share/gems/gems/simplecov-html-0.10.0/public/favicon_yellow.png
/usr/share/gems/gems/simplecov-html-0.10.0/public/loading.gif
/usr/share/gems/gems/simplecov-html-0.10.0/public/magnify.png
/usr/share/gems/gems/simplecov-html-0.10.0/public/smoothness
/usr/share/gems/gems/simplecov-html-0.10.0/public/smoothness/images
/usr/share/gems/gems/simplecov-html-0.10.0/public/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
/usr/share/gems/gems/simplecov-html-0.10.0/public/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
/usr/share/gems/gems/simplecov-html-0.10.0/public/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
/usr/share/gems/gems/simplecov-html-0.10.0/public/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
/usr/share/gems/gems/simplecov-html-0.10.0/public/smoothness/images/ui-bg_glass_75_dadada_1x400.png
/usr/share/gems/gems/simplecov-html-0.10.0/public/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
/usr/share/gems/gems/simplecov-html-0.10.0/public/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
/usr/share/gems/gems/simplecov-html-0.10.0/public/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
/usr/share/gems/gems/simplecov-html-0.10.0/public/smoothness/images/ui-icons_222222_256x240.png
/usr/share/gems/gems/simplecov-html-0.10.0/public/smoothness/images/ui-icons_2e83ff_256x240.png
/usr/share/gems/gems/simplecov-html-0.10.0/public/smoothness/images/ui-icons_454545_256x240.png
/usr/share/gems/gems/simplecov-html-0.10.0/public/smoothness/images/ui-icons_888888_256x240.png
/usr/share/gems/gems/simplecov-html-0.10.0/public/smoothness/images/ui-icons_cd0a0a_256x240.png
/usr/share/gems/gems/simplecov-html-0.10.0/views
/usr/share/gems/gems/simplecov-html-0.10.0/views/file_list.erb
/usr/share/gems/gems/simplecov-html-0.10.0/views/layout.erb
/usr/share/gems/gems/simplecov-html-0.10.0/views/source_file.erb
/usr/share/gems/specifications/simplecov-html-0.10.0.gemspec

References

Summary

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