How To Install ruby-hivex on CentOS 8
Introduction
In this tutorial we learn how to install ruby-hivex
on CentOS 8.
What is ruby-hivex
ruby-hivex contains Ruby bindings for hivex.
We can use yum
or dnf
to install ruby-hivex
on CentOS 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 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 ruby-hivex
using dnf
by running the following command:
sudo dnf -y install ruby-hivex
Install ruby-hivex 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 ruby-hivex
using yum
by running the following command:
sudo yum -y install ruby-hivex
How To Uninstall ruby-hivex on CentOS 8
To uninstall only the ruby-hivex
package we can use the following command:
sudo dnf remove ruby-hivex
ruby-hivex Package Contents on CentOS 8
/usr/lib/.build-id
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/060548c94e2621e9d5bd59efef0189a4d91c3b
/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 CentOS 8 using yum and dnf.