# 使用 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
- **版本:** 0.4.2
- **来源摘要:** Programs for accessing Microsoft Word documents
- **主页:** <https://wvware.sourceforge.net/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- wv2-config (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.4.2
## 项目历史与用法

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

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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
