How To Install hivex on CentOS 7
Introduction
In this tutorial we learn how to install hivex
on CentOS 7.
What is hivex
Hive files are the undocumented binary files that Windows uses to store the Windows Registry on disk. Hivex is a library that can read and write to these files. ‘hivexsh’ is a shell you can use to interactively navigate a hive binary file. ‘hivexregedit’ lets you export and merge to the textual regedit format. ‘hivexml’ can be used to convert a hive file to a more useful XML format. In order to get access to the hive files themselves, you can copy them from a Windows machine. They are usually found in %systemroot%\system32\config. For virtual machines we recommend using libguestfs or guestfish to copy out these files. libguestfs also provides a useful high-level tool called ‘virt-win-reg’ (based on hivex technology) which can be used to query specific registry keys in an existing Windows VM. For OCaml bindings, see ‘ocaml-hivex-devel’. For Perl bindings, see ‘perl-hivex’. For Python bindings, see ‘python-hivex’. For Ruby bindings, see ‘ruby-hivex’. Hive files are the undocumented binary files that Windows uses to store the Windows Registry on disk. Hivex is a library that can read and write to these files. ‘hivexsh’ is a shell you can use to interactively navigate a hive binary file. ‘hivexregedit’ lets you export and merge to the textual regedit format. ‘hivexml’ can be used to convert a hive file to a more useful XML format. In order to get access to the hive files themselves, you can copy them from a Windows machine. They are usually found in %systemroot%\system32\config. For virtual machines we recommend using libguestfs or guestfish to copy out these files. libguestfs also provides a useful high-level tool called ‘virt-win-reg’ (based on hivex technology) which can be used to query specific registry keys in an existing Windows VM. For OCaml bindings, see ‘ocaml-hivex-devel’. For Perl bindings, see ‘perl-hivex’. For Python bindings, see ‘python-hivex’. For Ruby bindings, see ‘ruby-hivex’.
We can use yum
or dnf
to install hivex
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install hivex.
Install hivex on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install hivex
using yum
by running the following command:
Install hivex on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install hivex
using dnf
by running the following command:
How To Uninstall hivex on CentOS 7
To uninstall only the hivex
package we can use the following command:
References
Summary
In this tutorial we learn how to install hivex
on CentOS 7 using yum
and dnf
.