How To Install ruby-hivex on Rocky Linux 8

In this tutorial we learn how to install ruby-hivex on Rocky Linux 8. ruby-hivex is Ruby bindings for hivex

Introduction

In this tutorial we learn how to install ruby-hivex on Rocky Linux 8.

What is ruby-hivex

ruby-hivex contains Ruby bindings for hivex.

We can use yum or dnf to install ruby-hivex on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install ruby-hivex.

Install ruby-hivex on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install ruby-hivex using dnf by running the following command:

sudo dnf -y install ruby-hivex

Install ruby-hivex on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install ruby-hivex using yum by running the following command:

sudo yum -y install ruby-hivex

How To Uninstall ruby-hivex on Rocky Linux 8

To uninstall only the ruby-hivex package we can use the following command:

sudo dnf remove ruby-hivex

ruby-hivex Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/83
/usr/lib/.build-id/83/6a87e1c56ea1a198ceb0c9272d62a361ac4d98
/usr/lib64/ruby/vendor_ruby/_hivex.so
/usr/share/doc/ruby-hivex
/usr/share/doc/ruby-hivex/api
/usr/share/doc/ruby-hivex/api/Hivex
/usr/share/doc/ruby-hivex/api/Hivex.html
/usr/share/doc/ruby-hivex/api/Hivex/Error.html
/usr/share/doc/ruby-hivex/api/Hivex/Hivex.html
/usr/share/doc/ruby-hivex/api/README_rdoc.html
/usr/share/doc/ruby-hivex/api/created.rid
/usr/share/doc/ruby-hivex/api/css
/usr/share/doc/ruby-hivex/api/css/fonts.css
/usr/share/doc/ruby-hivex/api/css/rdoc.css
/usr/share/doc/ruby-hivex/api/fonts
/usr/share/doc/ruby-hivex/api/fonts/Lato-Light.ttf
/usr/share/doc/ruby-hivex/api/fonts/Lato-LightItalic.ttf
/usr/share/doc/ruby-hivex/api/fonts/Lato-Regular.ttf
/usr/share/doc/ruby-hivex/api/fonts/Lato-RegularItalic.ttf
/usr/share/doc/ruby-hivex/api/fonts/SourceCodePro-Bold.ttf
/usr/share/doc/ruby-hivex/api/fonts/SourceCodePro-Regular.ttf
/usr/share/doc/ruby-hivex/api/images
/usr/share/doc/ruby-hivex/api/images/add.png
/usr/share/doc/ruby-hivex/api/images/arrow_up.png
/usr/share/doc/ruby-hivex/api/images/brick.png
/usr/share/doc/ruby-hivex/api/images/brick_link.png
/usr/share/doc/ruby-hivex/api/images/bug.png
/usr/share/doc/ruby-hivex/api/images/bullet_black.png
/usr/share/doc/ruby-hivex/api/images/bullet_toggle_minus.png
/usr/share/doc/ruby-hivex/api/images/bullet_toggle_plus.png
/usr/share/doc/ruby-hivex/api/images/date.png
/usr/share/doc/ruby-hivex/api/images/delete.png
/usr/share/doc/ruby-hivex/api/images/find.png
/usr/share/doc/ruby-hivex/api/images/loadingAnimation.gif
/usr/share/doc/ruby-hivex/api/images/macFFBgHack.png
/usr/share/doc/ruby-hivex/api/images/package.png
/usr/share/doc/ruby-hivex/api/images/page_green.png
/usr/share/doc/ruby-hivex/api/images/page_white_text.png
/usr/share/doc/ruby-hivex/api/images/page_white_width.png
/usr/share/doc/ruby-hivex/api/images/plugin.png
/usr/share/doc/ruby-hivex/api/images/ruby.png
/usr/share/doc/ruby-hivex/api/images/tag_blue.png
/usr/share/doc/ruby-hivex/api/images/tag_green.png
/usr/share/doc/ruby-hivex/api/images/transparent.png
/usr/share/doc/ruby-hivex/api/images/wrench.png
/usr/share/doc/ruby-hivex/api/images/wrench_orange.png
/usr/share/doc/ruby-hivex/api/images/zoom.png
/usr/share/doc/ruby-hivex/api/index.html
/usr/share/doc/ruby-hivex/api/js
/usr/share/doc/ruby-hivex/api/js/darkfish.js
/usr/share/doc/ruby-hivex/api/js/jquery.js
/usr/share/doc/ruby-hivex/api/js/navigation.js
/usr/share/doc/ruby-hivex/api/js/navigation.js.gz
/usr/share/doc/ruby-hivex/api/js/search.js
/usr/share/doc/ruby-hivex/api/js/search_index.js
/usr/share/doc/ruby-hivex/api/js/search_index.js.gz
/usr/share/doc/ruby-hivex/api/js/searcher.js
/usr/share/doc/ruby-hivex/api/js/searcher.js.gz
/usr/share/doc/ruby-hivex/api/table_of_contents.html
/usr/share/doc/ruby-hivex/index.html
/usr/share/ruby/vendor_ruby/hivex.rb

References

Summary

In this tutorial we learn how to install ruby-hivex on Rocky Linux 8 using yum and dnf.