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

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

## インストール

```sh
sudo av install brew:libpinyin
```

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

### macOS

- Homebrew (100%):

```sh
brew install libpinyin
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add libpinyin
```

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

- dnf (92%):

```sh
sudo dnf install libpinyin
```

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

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

- pacman (92%):

```sh
sudo pacman -S libpinyin
```

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

- Debian apt (92%):

```sh
sudo apt install libpinyin-common-dev
```

  証拠: Debian stable package indexes: libpinyin-common-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install libpinyin-data
```

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

## パッケージ情報

- **パッケージキー:** brew:libpinyin
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/libpinyin>
- **バージョン:** 2.10.3
- **ソース概要:** Library to deal with pinyin
- **ホームページ:** <https://github.com/libpinyin/libpinyin>
- **リポジトリ:** <https://github.com/libpinyin/libpinyin>
- **ライセンス:** GPL-3.0-or-later
- **ソースアーカイブ:** <https://github.com/libpinyin/libpinyin/archive/refs/tags/2.10.3.tar.gz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- gen_binary_files (cli)
- gen_unigram (cli)
- import_interpolation (cli)
- gen_binary_files (エイリアス)
- gen_unigram (エイリアス)
- import_interpolation (エイリアス)

## 依存関係

- berkeley-db
- gettext
- glib

## ビルド依存関係

- autoconf
- automake
- libtool
- pkgconf

## インストール挙動

- post-install フック: 未定義
- 注意点: The formula will switch DBM to Tkrzw in version 2.12 which may impact user data.
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 2.10.3
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/libpinyin/libpinyin
- 検出された最新: 2.10.3 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

libpinyin is a library for intelligent sentence-based Chinese pinyin input methods. Its upstream README presents it as the algorithmic core that other input-method frontends can build on.

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

The project lives in the libpinyin GitHub organization and focuses on pinyin processing rather than on a standalone user interface. The repository's public description and README are intentionally short: a library to deal with pinyin and to provide algorithms for sentence-based Chinese input methods.

### 採用の歴史

Its clearest downstream adoption path is ibus-libpinyin, an IBus engine that provides Chinese Pinyin and ZhuYin input methods based on libpinyin. That split is important for packaging because distributions can package the reusable language engine separately from desktop input-method integration.

### 使われ方

Package users usually encounter libpinyin indirectly through desktop input methods. Developers and packagers see its helper programs, including tools for generating binary pinyin data and importing model data.

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

libpinyin is package-nerd interesting because it is language input infrastructure: small, data-driven, and usually invisible until an input method depends on it. It separates Chinese pinyin algorithms from the IBus frontend.

### タイムライン

- 2013: The ibus-libpinyin wiki history shows documented feature work around fuzzy pinyin and correction support.
- 2023: The ibus-libpinyin feature page was updated with pinyin correction, fuzzy pinyin, and ZhuYin-related input behavior.

### Related projects

- ibus-libpinyin is the main related frontend, providing an IBus Chinese Pinyin and ZhuYin input method based on libpinyin.
- IBus is the input-method framework that makes the libpinyin engine available in many Linux desktop sessions.

### ソース

- <https://github.com/libpinyin/ibus-libpinyin>
- <https://github.com/libpinyin/ibus-libpinyin/wiki/ibus-libpinyin-features>
- <https://github.com/libpinyin/libpinyin>
- <https://raw.githubusercontent.com/libpinyin/ibus-libpinyin/main/README>
- <https://raw.githubusercontent.com/libpinyin/libpinyin/main/README>


## セキュリティノート

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:** libpinyin
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Debian apt - libpinyin-common-dev - 2.8.1-1: normalized package name match | Debian stable package indexes: libpinyin-common-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library to deal with PinYin / zhuyin - common development files | https://github.com/libpinyin/libpinyin
- Debian apt - libpinyin-data - 2.8.1-1+b2: normalized package name match | Debian stable package indexes: libpinyin-data from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Data for PinYin / zhuyin input method library | https://github.com/libpinyin/libpinyin
- Debian apt - libpinyin-utils - 2.8.1-1+b2: normalized package name match | Debian stable package indexes: libpinyin-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library to deal with PinYin - utilities | https://github.com/libpinyin/libpinyin
- Debian apt - libpinyin15 - 2.8.1-1+b2: normalized package name match | Debian stable package indexes: libpinyin15 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library to deal with PinYin | https://github.com/libpinyin/libpinyin
- Debian apt - libpinyin15-dev - 2.8.1-1+b2: normalized package name match | Debian stable package indexes: libpinyin15-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library to deal with PinYin - development files | https://github.com/libpinyin/libpinyin
- Debian apt - libzhuyin-dev - 2.8.1-1+b2: normalized package name match | Debian stable package indexes: libzhuyin-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development files for zhuyin input method library | https://github.com/libpinyin/libpinyin
- Debian apt - libzhuyin15 - 2.8.1-1+b2: normalized package name match | Debian stable package indexes: libzhuyin15 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Zhuyin input method library | https://github.com/libpinyin/libpinyin
- Nix - libpinyin: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libpinyin/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libpinyin-common-dev - 2.8.1-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libpinyin-common-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | library to deal with PinYin / zhuyin - common development files | https://github.com/libpinyin/libpinyin
- Ubuntu apt - libpinyin-data - 2.8.1-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libpinyin-data from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Data for PinYin / zhuyin input method library | https://github.com/libpinyin/libpinyin
- Ubuntu apt - libpinyin-utils - 2.8.1-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libpinyin-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library to deal with PinYin - utilities | https://github.com/libpinyin/libpinyin
- Ubuntu apt - libpinyin15 - 2.8.1-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libpinyin15 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | library to deal with PinYin | https://github.com/libpinyin/libpinyin
- Ubuntu apt - libpinyin15-dev - 2.8.1-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libpinyin15-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library to deal with PinYin - development files | https://github.com/libpinyin/libpinyin
- Ubuntu apt - libzhuyin-dev - 2.8.1-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libzhuyin-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Development files for zhuyin input method library | https://github.com/libpinyin/libpinyin
- Ubuntu apt - libzhuyin15 - 2.8.1-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libzhuyin15 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Zhuyin input method library | https://github.com/libpinyin/libpinyin
- apk - libpinyin - 2.11.91-r0: normalized package name match | Alpine Linux edge package indexes: libpinyin from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Library to deal with pinyin | https://github.com/libpinyin/libpinyin


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [glib](https://pkg.so/ja/brew/glib/) - Runtime dependency declared by Homebrew.
- [gettext](https://pkg.so/ja/brew/gettext/) - Runtime dependency declared by Homebrew.
- [berkeley-db](https://pkg.so/ja/brew/berkeley-db/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/ja/brew/pkgconf/) - Build dependency declared by Homebrew.
- [libtool](https://pkg.so/ja/brew/libtool/) - Build dependency declared by Homebrew.
- [autoconf](https://pkg.so/ja/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://pkg.so/ja/brew/automake/) - Build dependency declared by Homebrew.
- [mawk](https://pkg.so/ja/brew/mawk/) - Shares pkgdb curated category or tags: cli, language-runtime, text-processing.
- [objfw](https://pkg.so/ja/brew/objfw/) - Shares pkgdb curated category or tags: cli, language-runtime, library.
- [txr](https://pkg.so/ja/brew/txr/) - Shares pkgdb curated category or tags: cli, language-runtime, text-processing.
- [node](https://pkg.so/ja/brew/node/) - Shares pkgdb curated category or tags: cli, language-runtime.
- [python@3.14](https://pkg.so/ja/brew/python-3-14/) - Shares pkgdb curated category or tags: cli, language-runtime.
- [python@3.13](https://pkg.so/ja/brew/python-3-13/) - Shares pkgdb curated category or tags: cli, language-runtime.
- [go](https://pkg.so/ja/brew/go/) - Shares pkgdb curated category or tags: cli, language-runtime.
- [gcc](https://pkg.so/ja/brew/gcc/) - Shares pkgdb curated category or tags: cli, language-runtime.
- [plenv](https://pkg.so/ja/brew/plenv/) - Local package facts share a topical domain. Shared terms: binary, cli, language, language-runtime, runtime.
- [elm](https://pkg.so/ja/npm/elm/) - Local package facts share a topical domain. Shared terms: binary, cli, language, language-runtime, runtime.

## Combined YAML source

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