# hivex を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

hivex のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:hivex
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install hivex
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install hivex
```

  証拠: MacPorts ports tree: devel/hivex/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add hivex
```

  証拠: Alpine Linux edge package indexes: hivex from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install libhivex-bin
```

  証拠: Debian stable package indexes: libhivex-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install hivex
```

  証拠: Fedora Rawhide package metadata: hivex from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#hivex
```

  証拠: nixpkgs package indexes: pkgs/by-name/hi/hivex/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S hivex
```

  証拠: Arch Linux sync databases: hivex from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install hivex
```

  証拠: openSUSE Tumbleweed package metadata: hivex from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:hivex
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/hivex>
- **バージョン:** 1.3.24
- **ソース概要:** Library and tools for extracting the contents of Windows Registry hive files
- **ホームページ:** <https://libguestfs.org>
- **リポジトリ:** <https://github.com/libguestfs/hivex>
- **上流ドキュメント:** <https://libguestfs.org/hivex.3.html>
- **ライセンス:** GPL-2.0-or-later AND LGPL-2.1-only
- **ソースアーカイブ:** <https://download.libguestfs.org/hivex/hivex-1.3.24.tar.gz>
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

- hivexget (cli)
- hivexml (cli)
- hivexsh (cli)
- hivexget (エイリアス)
- hivexml (エイリアス)
- hivexsh (エイリアス)

## 依存関係

- gettext
- readline

## ビルド依存関係

- pkgconf

## macOS 提供ライブラリ

- libxml2

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 1.3.24
- ローカルデータ: OK
- 上流リポジトリ: https://libguestfs.org
- 情報: No package-manager update timestamp was available.
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

hivex is the libguestfs project's standalone C library and tool set for reading and writing Windows Registry hive files. It occupies a practical systems niche: it gives Unix and virtualization tooling a structured way to inspect binary Windows registry data without relying on Windows or on textual .REG conversion as the primary interface.

### プロジェクトの歴史

The hivex source identifies Richard W.M. Jones and Red Hat as the authorship line beginning in 2009. Its README describes a self-contained library for Windows Registry hive binary files, derived from earlier registry-format research and tools including NTREG, dumphive, old Samba editreg code, format papers, and reverse engineering work in the libguestfs tree.

The design emphasis was security and robustness around untrusted registry data. The manual describes hivex as designed to be secure against buggy or malicious hive files, and the README contrasts it with NTREG by emphasizing error handling, corrupt and malicious files, and endianness. That made it a natural companion to libguestfs, whose broader purpose is safe access to guest disk images.

hivex developed as a small but important subproject in the libguestfs family. The libguestfs download index lists hivex alongside libguestfs, supermin, nbdkit, and related components, and the libguestfs manual explains that Windows registry support routes through a separate C library called hivex.

### 採用の歴史

hivex adoption has been strongest where Linux and Unix systems need to inspect Windows installations offline: virtualization, rescue, migration, forensics, and image-customization workflows. The libguestfs manual records that before libguestfs 1.19.35 users copied hives out, processed them locally with hivex, and copied them back; from that libguestfs version, major hivex APIs were exposed directly through libguestfs for registry operations inside opened Windows guests.

The Homebrew input facts show the package carried across multiple Unix package ecosystems under names such as brew:hivex, Debian/Ubuntu libhivex-bin, and distribution packages for Alpine, Fedora, Arch, openSUSE, MacPorts, and Nix. That pattern matches hivex's role as infrastructure: many users meet it through image tooling or distribution packages rather than as a standalone application brand.

### 使われ方

Typical use is programmatic registry inspection through the C API or language bindings, or command-line inspection/conversion with tools such as hivexsh, hivexml, hivexget, and hivexregedit. The manual also points users who only need Windows VM registry export or modification toward virt-win-reg, which layers the registry workflow into libguestfs tooling.

Package users care that hivex treats the binary hive as the primary data source. Its README explicitly avoids making textual .REG the main interface because parsing that format can be as troublesome as parsing the binary registry hive itself.

### パッケージ好きにとっての重要性

hivex is a classic package-nerd package: small, old, sharp-edged, and disproportionately important when the job involves foreign operating-system internals. It is the kind of dependency that appears in rescue images, forensic toolchains, VM migration stacks, and distro repositories because it solves a format problem that general-purpose JSON/XML/text tools cannot solve.

Its significance also comes from the libguestfs ecosystem boundary. hivex is independent enough to package as its own formula and library, but close enough to libguestfs that Windows guest registry support in higher-level tools can rely on it.

### タイムライン

- 2009: Richard W.M. Jones and Red Hat authorship line begins for hivex.
- 2012: The GitHub repository for libguestfs/hivex was created as an official source-control mirror.
- libguestfs 1.19.35 era: Major hivex APIs became available directly through the libguestfs API for Windows guest registry access.
- 2024: The libguestfs download index continued listing hivex as a separate source archive family.

### Related projects

- libguestfs: the larger guest disk image toolkit that integrates hivex for Windows registry work.
- virt-win-reg: the higher-level libguestfs tool recommended for exporting or modifying registry data in Windows virtual machines.
- NTREG, dumphive, Samba editreg: earlier registry readers or tools named by hivex as source material or influence.

### ソース

- <https://api.github.com/repos/libguestfs/hivex>
- <https://download.libguestfs.org/>
- <https://libguestfs.org/guestfs.3.html>
- <https://libguestfs.org/hivex.3.html>
- <https://raw.githubusercontent.com/libguestfs/hivex/master/README.md>
- input: source_facts.package-manager


## セキュリティノート

library-like package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- library-like package without higher-risk signals

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** hivex
- **Version Scheme:** 0
- **Revision:** 1
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 他のパッケージマネージャ記録

- Debian apt - libhivex-bin - 1.3.24-1+b10: normalized package name match | Debian stable package indexes: libhivex-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | utilities for reading and writing Windows Registry hives | http://libguestfs.org/
- Debian apt - libhivex-dev - 1.3.24-1+b10: normalized package name match | Debian stable package indexes: libhivex-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for reading and writing Windows Registry hives | http://libguestfs.org/
- Debian apt - libhivex-ocaml - 1.3.24-1+b10: normalized package name match | Debian stable package indexes: libhivex-ocaml from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | OCaml bindings for hivex -- runtime files | http://libguestfs.org/
- Debian apt - libhivex-ocaml-dev - 1.3.24-1+b10: normalized package name match | Debian stable package indexes: libhivex-ocaml-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | OCaml bindings for hivex -- development files | http://libguestfs.org/
- Debian apt - libhivex0 - 1.3.24-1+b10: normalized package name match | Debian stable package indexes: libhivex0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for reading and writing Windows Registry hives | http://libguestfs.org/
- Debian apt - libwin-hivex-perl - 1.3.24-1+b10: normalized package name match | Debian stable package indexes: libwin-hivex-perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Perl bindings to hivex | http://libguestfs.org/
- Debian apt - python3-hivex - 1.3.24-1+b10: normalized package name match | Debian stable package indexes: python3-hivex from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python 3 bindings for hivex | http://libguestfs.org/
- Debian apt - ruby-hivex - 1.3.24-1+b10: normalized package name match | Debian stable package indexes: ruby-hivex from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Ruby bindings for hivex | http://libguestfs.org/
- Nix - hivex: normalized package name match | nixpkgs package indexes: pkgs/by-name/hi/hivex/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libhivex-bin - 1.3.23-1build7: normalized package name match | Ubuntu 24.04 LTS package indexes: libhivex-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | utilities for reading and writing Windows Registry hives | http://libguestfs.org/
- Ubuntu apt - libhivex-dev - 1.3.23-1build7: normalized package name match | Ubuntu 24.04 LTS package indexes: libhivex-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library for reading and writing Windows Registry hives | http://libguestfs.org/
- Ubuntu apt - libhivex-ocaml - 1.3.23-1build7: normalized package name match | Ubuntu 24.04 LTS package indexes: libhivex-ocaml from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | OCaml bindings for hivex -- runtime files | http://libguestfs.org/
- Ubuntu apt - libhivex-ocaml-dev - 1.3.23-1build7: normalized package name match | Ubuntu 24.04 LTS package indexes: libhivex-ocaml-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | OCaml bindings for hivex -- development files | http://libguestfs.org/
- Ubuntu apt - libhivex0 - 1.3.23-1build7: normalized package name match | Ubuntu 24.04 LTS package indexes: libhivex0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library for reading and writing Windows Registry hives | http://libguestfs.org/
- Ubuntu apt - libwin-hivex-perl - 1.3.23-1build7: normalized package name match | Ubuntu 24.04 LTS package indexes: libwin-hivex-perl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Perl bindings to hivex | http://libguestfs.org/
- Ubuntu apt - python3-hivex - 1.3.23-1build7: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-hivex from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Python 3 bindings for hivex | http://libguestfs.org/


## 関連リンク

- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Package ecosystem packages](https://www.automicvault.com/ja/pkg/package-ecosystem-tools/) - Matched package manager, installer, dependency, registry, or publishing metadata.
- [Homebrew utility packages](https://www.automicvault.com/ja/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [gettext](https://www.automicvault.com/ja/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/ja/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [augeas](https://www.automicvault.com/ja/pkg/brew/augeas/) - Shares av.db curated category or tags: cli, library, system.
- [cahute](https://www.automicvault.com/ja/pkg/brew/cahute/) - Shares av.db curated category or tags: cli, library, system.
- [chmlib](https://www.automicvault.com/ja/pkg/brew/chmlib/) - Shares av.db curated category or tags: cli, library, system.
- [cpu_features](https://www.automicvault.com/ja/pkg/brew/cpu-features/) - Shares av.db curated category or tags: cli, library, system.
- [cpuid](https://www.automicvault.com/ja/pkg/brew/cpuid/) - Shares av.db curated category or tags: cli, library, system.
- [dbus-glib](https://www.automicvault.com/ja/pkg/brew/dbus-glib/) - Shares av.db curated category or tags: cli, library, system.
- [hwloc](https://www.automicvault.com/ja/pkg/brew/hwloc/) - Shares av.db curated category or tags: cli, library, system.
- [isa-l](https://www.automicvault.com/ja/pkg/brew/isa-l/) - Shares av.db curated category or tags: cli, library, system.
- [bareos-client](https://www.automicvault.com/ja/pkg/brew/bareos-client/) - Local package facts share a topical domain. Shared terms: cli, gettext, readline, system.
- [clifm](https://www.automicvault.com/ja/pkg/brew/clifm/) - Local package facts share a topical domain. Shared terms: cli, gettext, readline, system.

## Combined YAML source

View the package source record on GitHub. [combined/hivex.yml](https://github.com/automic-vault/db/blob/main/combined/hivex.yml)


## ソース

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
