# libmspub を Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper でインストール

libmspub のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:libmspub
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install libmspub
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libmspub
```

  証拠: MacPorts ports tree: graphics/libmspub/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add libmspub
```

  証拠: Alpine Linux edge package indexes: libmspub from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install libmspub
```

  証拠: Fedora Rawhide package metadata: libmspub 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#libmspub
```

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

- pacman (92%):

```sh
sudo pacman -S libmspub
```

  証拠: Arch Linux sync databases: libmspub from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install libmspub-0.1-1
```

  証拠: Debian stable package indexes: libmspub-0.1-1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install libmspub-0_1-1
```

  証拠: openSUSE Tumbleweed package metadata: libmspub-0_1-1 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:libmspub
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.1.5
- **ソース概要:** Interpret and import Microsoft Publisher content
- **ホームページ:** <https://wiki.documentfoundation.org/DLP/Libraries/libmspub>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- pub2raw (エイリアス)
- pub2xhtml (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.1.5
## プロジェクトの歴史と使われ方

libmspub is a Document Liberation Project library and toolset for reading and converting Microsoft Publisher files. It is part of the LibreOffice-adjacent family of small import-filter libraries that turn proprietary office formats into reusable open-source parsing components.

### プロジェクトの歴史

The libmspub repository identifies the project as a library and set of tools for reading and converting Microsoft Publisher files, with build dependencies including Boost, ICU, librevenge, and zlib. Its cgit history shows early 0.0.x tags and the later 0.1.x series, with the 0.1.0 tag appearing in the same long-lived LibreOffice/freedesktop source tree.

The Document Liberation Project context matters: The Document Foundation says LibreOffice developers and file-format engineers began extracting proprietary-format knowledge into reusable libraries, and that the Document Liberation Project was born in April 2014 when the family of libraries had grown large enough to need an independent home.

### 採用の歴史

LibreOffice 4.0, released in 2013, is listed by LibreOffice's own timeline as adding an import filter for Microsoft Publisher files. After the Document Liberation Project launch, libmspub continued as one of the libraries that let non-LibreOffice software reuse the parser instead of carrying the import code only inside an office suite.

The Document Foundation's 2018 DLP announcement names libmspub as the library for importing MS Publisher documents and says the DLP libraries can be used by other software under OSI-compliant licensing.

### 使われ方

libmspub is used through its library API by document converters and through small tools such as pub2raw and pub2xhtml in packaged builds. Its practical job is rescuing .pub content from a proprietary desktop-publishing format into inspectable or convertible output.

### パッケージ好きにとっての重要性

Package maintainers care about libmspub because it turns a historically awkward proprietary desktop-publishing format into a normal shared library dependency. It also illustrates the Document Liberation pattern: one narrow parser library, tied to librevenge, with command-line probes for testing and conversion.

### タイムライン

- 2013: LibreOffice 4.0 release notes list import-filter support for Microsoft Publisher files.
- 2014-04: The Document Liberation Project is born within The Document Foundation framework.
- 2015-04-09: The Document Foundation describes DLP libraries as independent projects with their own maintainers, release schedules, and licenses.
- 2018-01-22: The Document Foundation announces DLP libraries including libmspub for importing MS Publisher documents.
- 2026-05-26: The cgit log records release-maintenance commits in the libmspub repository.

### Related projects

- libmspub sits beside other Document Liberation import libraries such as libvisio, libwps, libmwaw, libpagemaker, libqxp, and libfreehand. Its parser stack is tied to librevenge, the common document-interface framework used by several DLP libraries.

### ソース

- <https://blog.documentfoundation.org/blog/2018/01/22/dlp-five-new-libraries/>
- <https://cgit.freedesktop.org/libreoffice/libmspub/>
- <https://formulae.brew.sh/formula/libmspub>
- <https://github.com/LibreOffice/libmspub>
- <https://wiki.documentfoundation.org/DLP/Libraries/libmspub>
- <https://www.documentliberation.org/about/>
- <https://www.libreoffice.org/libreoffice-timeline/>


## セキュリティノート

library-like package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- library-like package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - libmspub-0.1-1 - 0.1.4-3+b5: normalized package name match | Debian stable package indexes: libmspub-0.1-1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for parsing the mspub file structure | http://www.freedesktop.org/wiki/Software/libmspub
- Debian apt - libmspub-dev - 0.1.4-3+b5: normalized package name match | Debian stable package indexes: libmspub-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for parsing the mspub file structure -- development | http://www.freedesktop.org/wiki/Software/libmspub
- Debian apt - libmspub-doc - 0.1.4-3: normalized package name match | Debian stable package indexes: libmspub-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for parsing the mspub file structure -- documentation | http://www.freedesktop.org/wiki/Software/libmspub
- Debian apt - libmspub-tools - 0.1.4-3+b5: normalized package name match | Debian stable package indexes: libmspub-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for parsing the mspub file structure -- tools | http://www.freedesktop.org/wiki/Software/libmspub
- Nix - libmspub: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libmspub/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libmspub-0.1-1 - 0.1.4-3build7: normalized package name match | Ubuntu 24.04 LTS package indexes: libmspub-0.1-1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | library for parsing the mspub file structure | http://www.freedesktop.org/wiki/Software/libmspub
- Ubuntu apt - libmspub-dev - 0.1.4-3build7: normalized package name match | Ubuntu 24.04 LTS package indexes: libmspub-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | library for parsing the mspub file structure -- development | http://www.freedesktop.org/wiki/Software/libmspub
- Ubuntu apt - libmspub-doc - 0.1.4-3build7: normalized package name match | Ubuntu 24.04 LTS package indexes: libmspub-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | library for parsing the mspub file structure -- documentation | http://www.freedesktop.org/wiki/Software/libmspub
- Ubuntu apt - libmspub-tools - 0.1.4-3build7: normalized package name match | Ubuntu 24.04 LTS package indexes: libmspub-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library for parsing the mspub file structure -- tools | http://www.freedesktop.org/wiki/Software/libmspub
- apk - libmspub - 0.1.4-r24: normalized package name match | Alpine Linux edge package indexes: libmspub from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Import filter and tools for MS Publisher files | https://wiki.documentfoundation.org/DLP/Libraries/libmspub
- apk - libmspub-dev - 0.1.4-r24: normalized package name match | Alpine Linux edge package indexes: libmspub-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Import filter and tools for MS Publisher files (development files) | https://wiki.documentfoundation.org/DLP/Libraries/libmspub
- apk - libmspub-doc - 0.1.4-r24: normalized package name match | Alpine Linux edge package indexes: libmspub-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Import filter and tools for MS Publisher files (documentation) | https://wiki.documentfoundation.org/DLP/Libraries/libmspub
- apk - libmspub-tools - 0.1.4-r24: normalized package name match | Alpine Linux edge package indexes: libmspub-tools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Import filter and tools for MS Publisher files | https://wiki.documentfoundation.org/DLP/Libraries/libmspub
- dnf - libmspub - 0.1.4-41.fc45: normalized package name match | Fedora Rawhide package metadata: libmspub 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 Publisher documents | http://wiki.documentfoundation.org/DLP/Libraries/libmspub
- dnf - libmspub-devel - 0.1.4-41.fc45: normalized package name match | Fedora Rawhide package metadata: libmspub-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for libmspub | http://wiki.documentfoundation.org/DLP/Libraries/libmspub
- dnf - libmspub-doc - 0.1.4-41.fc45: normalized package name match | Fedora Rawhide package metadata: libmspub-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documentation of libmspub API | http://wiki.documentfoundation.org/DLP/Libraries/libmspub


## Combined YAML source

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