# 使用 Homebrew, MacPorts 安装 vmdktool

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

## 安装

```sh
sudo av install brew:vmdktool
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install vmdktool
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install vmdktool
```

  证据: MacPorts ports tree: sysutils/vmdktool/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:vmdktool
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/vmdktool>
- **版本:** 1.4
- **来源摘要:** Converts raw filesystems to VMDK files and vice versa
- **主页:** <https://manned.org/vmdktool>
- **上游文档:** <https://manned.org/vmdktool>
- **许可证:** BSD-2-Clause
- **源码归档:** <https://people.freebsd.org/~brian/vmdktool/vmdktool-1.4.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- vmdktool (cli)
- vmdktool (别名)

## 构建依赖

- groff

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.4
- 本地数据: OK
- 上游仓库: https://manned.org/vmdktool
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

vmdktool is a small Unix command-line utility for converting raw filesystem or disk images to VMware VMDK files and back again, and for inspecting VMDK table information. Its own manual frames it as a practical image-construction tool rather than a general virtualization suite.

### 项目历史

The vmdktool manual says Brian Somers originally wrote the program in 2009 after being unable to find free tools for creating VMDK files. The same history section says it was used and fixed at companies where the author worked before being released publicly in 2012, after which support was added for the VMDK format update from version 1.1 to version 5.0.

### 使用方式

Typical use is direct and file-oriented: inspect an image with `vmdktool -i`, convert a raw filesystem image to a stream-optimized VMDK with `-v`, or extract raw data from a VMDK with random-access or streaming modes. The manual examples show using the tool in image-editing workflows where a VMDK is unpacked, mounted, modified, and repacked.

### 为什么软件包爱好者会关心

For package users, vmdktool is notable because it occupies the narrow gap between raw disk-image manipulation and full virtualization products. It is the kind of tiny sysadmin utility that becomes useful in automated VM image pipelines, especially where a free, scriptable VMDK converter is preferred over a vendor GUI.

### 时间线

- 2009: Brian Somers writes vmdktool to fill a free-tooling gap for creating VMDK files.
- 2012: vmdktool is released to the general public.
- 2012: Support is added for the VMDK specification update from version 1.1 to version 5.0.

### 来源

- FreeBSD vmdktool manual: https://man.freebsd.org/cgi/man.cgi?query=vmdktool&sektion=8&manpath=FreeBSD+Ports+15.0
- vmdktool manual source mirror with HISTORY section: https://raw.githubusercontent.com/glennmatthews/vmdktool/master/vmdktool.8


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

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

## 其他软件包管理器记录

- MacPorts - vmdktool: normalized package name match | MacPorts ports tree: sysutils/vmdktool/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Matched curated package taxonomy and local package facts.
- [groff](https://pkg.so/zh-hans/brew/groff/) - Build dependency declared by Homebrew.
- [qemu](https://pkg.so/zh-hans/brew/qemu/) - Shares pkgdb curated category or tags: cli, system, virtualization.
- [virt-manager](https://pkg.so/zh-hans/brew/virt-manager/) - Shares pkgdb curated category or tags: cli, system, virtualization.
- [libosinfo](https://pkg.so/zh-hans/brew/libosinfo/) - Shares pkgdb curated category or tags: cli, system, virtualization.
- [lume](https://pkg.so/zh-hans/brew/lume/) - Shares pkgdb curated category or tags: cli, system, virtualization.
- [osinfo-db-tools](https://pkg.so/zh-hans/brew/osinfo-db-tools/) - Shares pkgdb curated category or tags: cli, system, virtualization.
- [nemu](https://pkg.so/zh-hans/brew/nemu/) - Shares pkgdb curated category or tags: cli, system, virtualization.
- [xz](https://pkg.so/zh-hans/brew/xz/) - Shares pkgdb curated category or tags: cli, system.
- [zstd](https://pkg.so/zh-hans/brew/zstd/) - Shares pkgdb curated category or tags: cli, system.
- [e2tools](https://pkg.so/zh-hans/brew/e2tools/) - Local package facts share a topical domain. Shared terms: cli, disk, files, filesystem, filesystems.
- [dysk](https://pkg.so/zh-hans/brew/dysk/) - Local package facts share a topical domain. Shared terms: cli, disk, filesystem, filesystems, system.
- [erdtree](https://pkg.so/zh-hans/brew/erdtree/) - Local package facts share a topical domain. Shared terms: cli, disk, filesystem, filesystems, system.

## Combined YAML source

View the package source record on GitHub. [combined/vmdktool.yml](https://github.com/mxcl/pkgdb/blob/main/combined/vmdktool.yml)


## 来源

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