Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 hivex

查看 hivex 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install hivex

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install hivex

MacPorts ports tree · devel/hivex/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add hivex

Alpine Linux edge package indexes · hivex · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install libhivex-bin

Debian stable package indexes · libhivex-bin · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install hivex

Fedora Rawhide package metadata · hivex · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#hivex

nixpkgs package indexes · pkgs/by-name/hi/hivex/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S hivex

Arch Linux sync databases · hivex · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install hivex

openSUSE Tumbleweed package metadata · hivex · 来源: download.opensuse.org

概览

软件包摘要

Library and tools for extracting the contents of Windows Registry hive files

命令和别名

  • hivexget
  • hivexml
  • hivexsh

历史

项目历史与用法

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.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
hivexgetcli全局可执行文件
hivexmlcli全局可执行文件
hivexshcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本1.3.24
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://libguestfs.org

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://libguestfs.orgnone 置信度

安装元数据

软件包元数据

软件包键brew:hivex
版本1.3.24
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/hivex
主页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
依赖gettext, readline
构建依赖pkgconf
macOS 提供的库libxml2
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namehivex
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libhivex-bin 1.3.24-1+b10

utilities for reading and writing Windows Registry hives

http://libguestfs.org/

sudo apt install libhivex-bin
  • Section: otherosfs
  • Architecture: amd64
  • Source Package: hivex
  • 4 依赖
  • normalized package name match
  • 匹配方式:Hivex
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhivex-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhivex-dev 1.3.24-1+b10

library for reading and writing Windows Registry hives

http://libguestfs.org/

sudo apt install libhivex-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: hivex
  • 1 依赖
  • normalized package name match
  • 匹配方式:Hivex
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhivex-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhivex-ocaml 1.3.24-1+b10

OCaml bindings for hivex -- runtime files

http://libguestfs.org/

sudo apt install libhivex-ocaml
  • Section: ocaml
  • Architecture: amd64
  • Source Package: hivex
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Hivex
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhivex-ocaml from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhivex-ocaml-dev 1.3.24-1+b10

OCaml bindings for hivex -- development files

http://libguestfs.org/

sudo apt install libhivex-ocaml-dev
  • Section: ocaml
  • Architecture: amd64
  • Source Package: hivex
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Hivex
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhivex-ocaml-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhivex0 1.3.24-1+b10

library for reading and writing Windows Registry hives

http://libguestfs.org/

sudo apt install libhivex0
  • Section: libs
  • Architecture: amd64
  • Source Package: hivex
  • 1 依赖
  • normalized package name match
  • 匹配方式:Hivex
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhivex0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libwin-hivex-perl 1.3.24-1+b10

Perl bindings to hivex

http://libguestfs.org/

sudo apt install libwin-hivex-perl
  • Section: perl
  • Architecture: amd64
  • Source Package: hivex
  • 4 依赖
  • normalized package name match
  • 匹配方式:Hivex
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libwin-hivex-perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-hivex 1.3.24-1+b10

Python 3 bindings for hivex

http://libguestfs.org/

sudo apt install python3-hivex
  • Section: python
  • Architecture: amd64
  • Source Package: hivex
  • 3 依赖
  • normalized package name match
  • 匹配方式:Hivex
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-hivex from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

ruby-hivex 1.3.24-1+b10

Ruby bindings for hivex

http://libguestfs.org/

sudo apt install ruby-hivex
  • Section: ruby
  • Architecture: amd64
  • Source Package: hivex
  • 4 依赖
  • normalized package name match
  • 匹配方式:Hivex
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ruby-hivex from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

hivex

nix profile install nixpkgs#hivex
  • normalized package name match
  • 匹配方式:Hivex
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/hi/hivex/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libhivex-bin 1.3.23-1build7

utilities for reading and writing Windows Registry hives

http://libguestfs.org/

sudo apt install libhivex-bin
  • Section: universe/otherosfs
  • Architecture: amd64
  • Source Package: hivex
  • 4 依赖
  • normalized package name match
  • 匹配方式:Hivex
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libhivex-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libhivex-dev 1.3.23-1build7

library for reading and writing Windows Registry hives

http://libguestfs.org/

sudo apt install libhivex-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: hivex
  • 1 依赖
  • normalized package name match
  • 匹配方式:Hivex
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libhivex-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libhivex-ocaml 1.3.23-1build7

OCaml bindings for hivex -- runtime files

http://libguestfs.org/

sudo apt install libhivex-ocaml
  • Section: universe/ocaml
  • Architecture: amd64
  • Source Package: hivex
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Hivex
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libhivex-ocaml from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libhivex-ocaml-dev 1.3.23-1build7

OCaml bindings for hivex -- development files

http://libguestfs.org/

sudo apt install libhivex-ocaml-dev
  • Section: universe/ocaml
  • Architecture: amd64
  • Source Package: hivex
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Hivex
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libhivex-ocaml-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libhivex0 1.3.23-1build7

library for reading and writing Windows Registry hives

http://libguestfs.org/

sudo apt install libhivex0
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: hivex
  • 1 依赖
  • normalized package name match
  • 匹配方式:Hivex
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libhivex0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libwin-hivex-perl 1.3.23-1build7

Perl bindings to hivex

http://libguestfs.org/

sudo apt install libwin-hivex-perl
  • Section: universe/perl
  • Architecture: amd64
  • Source Package: hivex
  • 4 依赖
  • normalized package name match
  • 匹配方式:Hivex
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libwin-hivex-perl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

python3-hivex 1.3.23-1build7

Python 3 bindings for hivex

http://libguestfs.org/

sudo apt install python3-hivex
  • Section: universe/python
  • Architecture: amd64
  • Source Package: hivex
  • 3 依赖
  • normalized package name match
  • 匹配方式:Hivex
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-hivex from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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