# 使用 Homebrew, MacPorts, Nix 安装 wv2

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

## 安装

```sh
sudo av install brew:wv2
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install wv2
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install wv2
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#wv2
```

  证据: nixpkgs package indexes: pkgs/by-name/wv/wv2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:wv2
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/wv2>
- **版本:** 0.4.2
- **来源摘要:** Programs for accessing Microsoft Word documents
- **主页:** <https://wvware.sourceforge.net/>
- **上游文档:** <https://wvware.sourceforge.net/>
- **许可证:** LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only
- **源码归档:** <https://downloads.sourceforge.net/project/wvware/wv2-0.4.2.tar.bz2>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- wv2-config (cli)
- wv2-config (别名)

## 依赖

- glib
- libgsf

## 构建依赖

- cmake
- pkgconf

## 安装行为

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

## 版本和新鲜度

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

wv2 is a C++ Microsoft Word binary-document access library associated with the older wvWare project. Its package-manager niche is not an end-user converter as much as a compatibility library for software that needed to import legacy .doc files.

### 项目历史

The wvWare project began as mswordview and was renamed after the maintainers judged the original name too close to Microsoft's Word Viewer. The wv project supplied code for reading Word 6, 95, 97, and 2000 formats, and its site records use by AbiWord and influence on KWord's importer.

wv2 appeared as the intended second-generation library. A Debian intent-to-package notice for wv2 0.0.9 described it as a library for accessing Microsoft Word documents and as an eventual replacement for the wv library, with upstream authors from the AbiWord and KDE/KWord orbit.

### 采用历史

The historical adoption story is mostly desktop-office plumbing: wvWare states that its library was used by AbiWord, while wv2 was packaged by Unix distributions as a Word import library for KWord/KOffice-era workflows. The small Homebrew package is therefore a fossil from the period when free office suites had to reverse-engineer Microsoft binary formats.

### 使用方式

Developers used wv2 through its library and config helper rather than as a standalone document converter. Its value was in giving applications a way to parse old Word binary files for import or conversion before OOXML and newer document libraries became the dominant path.

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

wv2 matters because it sits at the intersection of early open-source office suites, KDE/KOffice import filters, and the painful packaging of proprietary binary office formats. It is a small package, but it explains why old dependency graphs still contain libgsf-era Word import code.

### 时间线

- 2000-08-28: SourceForge records the wvWare project registration.
- 2000: Dom Lachowicz took over wv maintenance from original author Caolan McNamara in late August 2000.
- 2002: Debian packaging discussion described wv2 0.0.9 as an eventual replacement for wv.
- 2005: wv 1.2.0 switched to libgsf, libxml2, and glib, reflecting GNOME-office-era library consolidation.

### Related projects

- wv2 is related to wv/wvWare, AbiWord, KWord/KOffice, libgsf, and the broader family of document import libraries for legacy Microsoft Office formats.

### 来源

- <https://freshports.org/textproc/wv2/>
- <https://groups.google.com/g/linux.debian.devel/c/2W3GIXAUG-I>
- <https://sourceforge.net/projects/wvware/>
- <https://wvware.sourceforge.net/>


## 安全说明

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:** wv2
- **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

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

- Nix - wv2: normalized package name match | nixpkgs package indexes: pkgs/by-name/wv/wv2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - wv2: normalized package name match | MacPorts ports tree: textproc/wv2/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.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [glib](https://pkg.so/zh-hans/brew/glib/) - Runtime dependency declared by Homebrew.
- [libgsf](https://pkg.so/zh-hans/brew/libgsf/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [wv](https://pkg.so/zh-hans/brew/wv/) - Package name indicates the same formula family.
- [pymupdf](https://pkg.so/zh-hans/brew/pymupdf/) - Shares pkgdb curated category or tags: cli, developer-tools, document-processing, library.
- [harfbuzz](https://pkg.so/zh-hans/brew/harfbuzz/) - Shares pkgdb curated category or tags: cli, developer-tools, library.
- [gettext](https://pkg.so/zh-hans/brew/gettext/) - Shares pkgdb curated category or tags: cli, developer-tools, library.
- [pango](https://pkg.so/zh-hans/brew/pango/) - Shares pkgdb curated category or tags: cli, developer-tools, library.
- [libarchive](https://pkg.so/zh-hans/brew/libarchive/) - Shares pkgdb curated category or tags: cli, developer-tools, library.
- [ada-url](https://pkg.so/zh-hans/brew/ada-url/) - Shares pkgdb curated category or tags: cli, developer-tools, library.
- [libdeflate](https://pkg.so/zh-hans/brew/libdeflate/) - Shares pkgdb curated category or tags: cli, developer-tools, library.

## Combined YAML source

View the package source record on GitHub. [combined/wv2.yml](https://github.com/mxcl/pkgdb/blob/main/combined/wv2.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
