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

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

## 安装

```sh
sudo av install brew:libwps
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libwps
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libwps
```

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

### Linux

- apk (92%):

```sh
sudo apk add libwps
```

  证据: Alpine Linux edge package indexes: libwps from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install libwps
```

  证据: Fedora Rawhide package metadata: libwps from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#libwps
```

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

- pacman (92%):

```sh
sudo pacman -S libwps
```

  证据: Arch Linux sync databases: libwps from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install libwps-0.4-4
```

  证据: Debian stable package indexes: libwps-0.4-4 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install libwps-0_4-4
```

  证据: openSUSE Tumbleweed package metadata: libwps-0_4-4 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:libwps
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/libwps>
- **版本:** 0.4.14
- **来源摘要:** Library to import files in MS Works format
- **主页:** <https://libwps.sourceforge.net/>
- **上游文档:** <https://libwps.sourceforge.net/>
- **许可证:** LGPL-2.1-or-later OR MPL-2.0
- **源码归档:** <https://downloads.sourceforge.net/project/libwps/libwps/libwps-0.4.14/libwps-0.4.14.tar.xz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- wks2csv (cli)
- wks2raw (cli)
- wks2text (cli)
- wps2html (cli)
- wps2raw (cli)
- wps2text (cli)
- wks2csv (别名)
- wks2raw (别名)
- wks2text (别名)
- wps2html (别名)
- wps2raw (别名)
- wps2text (别名)

## 依赖

- librevenge

## 构建依赖

- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## 版本和新鲜度

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

libwps is an import library for Microsoft Works and related legacy office files, built on librevenge and used by word processors and converters.

### 项目历史

The SourceForge wiki describes libwps as a Microsoft Works DOS/Windows file-format import filter based on librevenge. Its scope widened beyond plain Works word-processing files: the recognized-format list includes Works word processing, spreadsheet, and database files, plus Microsoft Write, Word for DOS, Pocket Word, XYWrite, Lotus, Multiplan, and Quattro Pro variants.

The SourceForge file archive shows libwps 0.1.2 published on 2007-12-13, the 0.2.0 line on 2010-11-16, the 0.3.0 line on 2014-05-23, and the 0.4.0 line on 2015-05-17.

### 采用历史

The project was aimed at integration into office suites and document converters rather than direct end-user operation. Its wiki tells most people to wait for integration into LibreOffice, AbiWord, or Calligra, while offering console tools such as wps2html and wps2odt for users willing to build or script the converter path.

Within the Document Liberation Project ecosystem, libwps fits the pattern of reverse-engineered import libraries that preserve access to documents created in proprietary office programs that no longer define mainstream exchange formats.

### 使用方式

Packagers ship libwps so office suites can import Works files and so command-line tools can convert or inspect old documents in bulk. The package is especially useful in migration, archival cleanup, and recovery of small-business or home-office documents created with Microsoft Works.

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

libwps is package-nerd archaeology: Microsoft Works was common on consumer PCs, but its formats are awkward in modern workflows. A small library package can decide whether an old .wps or .wks file is readable without booting a vintage Windows environment.

### 时间线

- 2007-12-13: libwps 0.1.2 published on SourceForge.
- 2010-11-16: libwps 0.2.0 published on SourceForge.
- 2014-05-23: libwps 0.3.0 published on SourceForge.
- 2015-05-17: libwps 0.4.0 published on SourceForge.
- 2018-06-13: The project wiki notes an update to its browser-based conversion tool.

### Related projects

- Related projects include LibreOffice, AbiWord, Calligra, librevenge, libwpd, libodfgen, and the Document Liberation Project.

### 来源

- <https://sourceforge.net/p/libwps/code/ci/master/tree/>
- <https://sourceforge.net/p/libwps/wiki/Home/>
- <https://sourceforge.net/projects/libwps/files/libwps/>
- <https://www.documentliberation.org/about/>


## 安全说明

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

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

- Debian apt - libwps-0.4-4 - 0.4.14-2+b2: normalized package name match | Debian stable package indexes: libwps-0.4-4 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Works text file format import filter library (shared library) | https://sourceforge.net/projects/libwps/
- Debian apt - libwps-dev - 0.4.14-2+b2: normalized package name match | Debian stable package indexes: libwps-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Works text file format import filter library (development) | https://sourceforge.net/projects/libwps/
- Debian apt - libwps-doc - 0.4.14-2: normalized package name match | Debian stable package indexes: libwps-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Works text file format import filter library (documentation) | https://sourceforge.net/projects/libwps/
- Debian apt - libwps-tools - 0.4.14-2+b2: normalized package name match | Debian stable package indexes: libwps-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Tools from libwps for converting Works text documents to HTML/RAW/Text | https://sourceforge.net/projects/libwps/
- Nix - libwps: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libwps/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libwps-0.4-4 - 0.4.14-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libwps-0.4-4 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Works text file format import filter library (shared library) | https://sourceforge.net/projects/libwps/
- Ubuntu apt - libwps-dev - 0.4.14-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libwps-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Works text file format import filter library (development) | https://sourceforge.net/projects/libwps/
- Ubuntu apt - libwps-doc - 0.4.14-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libwps-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Works text file format import filter library (documentation) | https://sourceforge.net/projects/libwps/
- Ubuntu apt - libwps-tools - 0.4.14-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libwps-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Tools from libwps for converting Works text documents to HTML/RAW/Text | https://sourceforge.net/projects/libwps/
- apk - libwps - 0.4.14-r0: normalized package name match | Alpine Linux edge package indexes: libwps from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Import filter and tools for Microsoft Works files | https://sourceforge.net/projects/libwps/
- apk - libwps-dev - 0.4.14-r0: normalized package name match | Alpine Linux edge package indexes: libwps-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Import filter and tools for Microsoft Works files (development files) | https://sourceforge.net/projects/libwps/
- apk - libwps-doc - 0.4.14-r0: normalized package name match | Alpine Linux edge package indexes: libwps-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Import filter and tools for Microsoft Works files (documentation) | https://sourceforge.net/projects/libwps/
- apk - libwps-tools - 0.4.14-r0: normalized package name match | Alpine Linux edge package indexes: libwps-tools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Import filter and tools for Microsoft Works files | https://sourceforge.net/projects/libwps/
- dnf - libwps - 0.4.14-8.fc45: normalized package name match | Fedora Rawhide package metadata: libwps from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | A library for import of Microsoft Works documents | http://libwps.sourceforge.net/
- dnf - libwps-devel - 0.4.14-8.fc45: normalized package name match | Fedora Rawhide package metadata: libwps-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Development files for libwps | http://libwps.sourceforge.net/
- dnf - libwps-doc - 0.4.14-8.fc45: normalized package name match | Fedora Rawhide package metadata: libwps-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Documentation of libwps API | http://libwps.sourceforge.net/


## 相关链接

- [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.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://pkg.so/zh-hans/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [writerperfect](https://pkg.so/zh-hans/brew/writerperfect/) - Popular package that depends on this formula.
- [libwpd](https://pkg.so/zh-hans/brew/libwpd/) - Shares pkgdb curated category or tags: cli, document-import, documents, library, productivity.
- [libwpg](https://pkg.so/zh-hans/brew/libwpg/) - Shares pkgdb curated category or tags: cli, documents, library, productivity.
- [diff-pdf](https://pkg.so/zh-hans/brew/diff-pdf/) - Shares pkgdb curated category or tags: cli, documents, productivity.
- [doxx](https://pkg.so/zh-hans/brew/doxx/) - Shares pkgdb curated category or tags: cli, documents, productivity.
- [libvisio](https://pkg.so/zh-hans/brew/libvisio/) - Shares pkgdb curated category or tags: cli, document-import, file-format, productivity.
- [libcdr](https://pkg.so/zh-hans/brew/libcdr/) - Shares pkgdb curated category or tags: cli, file-format, library, productivity.
- [libmspub](https://pkg.so/zh-hans/brew/libmspub/) - Shares pkgdb curated category or tags: cli, file-format, library, productivity.
- [libmwaw](https://pkg.so/zh-hans/brew/libmwaw/) - Shares pkgdb curated category or tags: cli, file-format, library, productivity.

## Combined YAML source

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