# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 0.4.14
- **来源摘要:** Library to import files in MS Works format
- **主页:** <https://libwps.sourceforge.net/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documentation of libwps API | http://libwps.sourceforge.net/


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