How To Install rubygem-hoe on CentOS 8

rubygem-hoe is Hoe is a simple rake/rubygems helper for project Rakefiles

Introduction

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

What is rubygem-hoe

Hoe is a rake/rubygems helper for project Rakefiles. It helps generate rubygems and includes a dynamic plug-in system allowing for easy extensibility. Hoe ships with plug-ins for all your usual project tasks including rdoc generation, testing, packaging, and deployment. Plug-ins Provided * Hoe * Hoe * Hoe * Hoe * Hoe * Hoe * Hoe * Hoe * Hoe * Hoe * Hoe See class rdoc for help. Hint

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

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

sudo dnf -y install rubygem-hoe

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

sudo yum -y install rubygem-hoe

How To Uninstall rubygem-hoe on CentOS 8

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

sudo dnf remove rubygem-hoe

rubygem-hoe Package Contents on CentOS 8

/usr/bin/sow
/usr/share/gems/gems/hoe-3.20.0
/usr/share/gems/gems/hoe-3.20.0/History.rdoc
/usr/share/gems/gems/hoe-3.20.0/Hoe.pdf
/usr/share/gems/gems/hoe-3.20.0/Manifest.txt
/usr/share/gems/gems/hoe-3.20.0/README.rdoc
/usr/share/gems/gems/hoe-3.20.0/Rakefile
/usr/share/gems/gems/hoe-3.20.0/bin
/usr/share/gems/gems/hoe-3.20.0/bin/sow
/usr/share/gems/gems/hoe-3.20.0/lib
/usr/share/gems/gems/hoe-3.20.0/lib/hoe
/usr/share/gems/gems/hoe-3.20.0/lib/hoe.rb
/usr/share/gems/gems/hoe-3.20.0/lib/hoe/clean.rb
/usr/share/gems/gems/hoe-3.20.0/lib/hoe/compiler.rb
/usr/share/gems/gems/hoe-3.20.0/lib/hoe/debug.rb
/usr/share/gems/gems/hoe-3.20.0/lib/hoe/deps.rb
/usr/share/gems/gems/hoe-3.20.0/lib/hoe/flay.rb
/usr/share/gems/gems/hoe-3.20.0/lib/hoe/flog.rb
/usr/share/gems/gems/hoe-3.20.0/lib/hoe/gem_prelude_sucks.rb
/usr/share/gems/gems/hoe-3.20.0/lib/hoe/gemcutter.rb
/usr/share/gems/gems/hoe-3.20.0/lib/hoe/inline.rb
/usr/share/gems/gems/hoe-3.20.0/lib/hoe/newb.rb
/usr/share/gems/gems/hoe-3.20.0/lib/hoe/package.rb
/usr/share/gems/gems/hoe-3.20.0/lib/hoe/publish.rb
/usr/share/gems/gems/hoe-3.20.0/lib/hoe/racc.rb
/usr/share/gems/gems/hoe-3.20.0/lib/hoe/rake.rb
/usr/share/gems/gems/hoe-3.20.0/lib/hoe/rcov.rb
/usr/share/gems/gems/hoe-3.20.0/lib/hoe/rdoc.rb
/usr/share/gems/gems/hoe-3.20.0/lib/hoe/signing.rb
/usr/share/gems/gems/hoe-3.20.0/lib/hoe/test.rb
/usr/share/gems/gems/hoe-3.20.0/lib/minitest
/usr/share/gems/gems/hoe-3.20.0/lib/minitest/test_task.rb
/usr/share/gems/gems/hoe-3.20.0/template
/usr/share/gems/gems/hoe-3.20.0/template/.autotest.erb
/usr/share/gems/gems/hoe-3.20.0/template/History.txt.erb
/usr/share/gems/gems/hoe-3.20.0/template/Manifest.txt.erb
/usr/share/gems/gems/hoe-3.20.0/template/README.txt.erb
/usr/share/gems/gems/hoe-3.20.0/template/Rakefile.erb
/usr/share/gems/gems/hoe-3.20.0/template/bin
/usr/share/gems/gems/hoe-3.20.0/template/bin/file_name.erb
/usr/share/gems/gems/hoe-3.20.0/template/lib
/usr/share/gems/gems/hoe-3.20.0/template/lib/file_name.rb.erb
/usr/share/gems/gems/hoe-3.20.0/template/test
/usr/share/gems/gems/hoe-3.20.0/template/test/test_file_name.rb.erb
/usr/share/gems/specifications/hoe-3.20.0.gemspec

References

Summary

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