# Installer libpinyin avec Homebrew, apk, dnf, Nix, pacman, apt, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de libpinyin pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install libpinyin
```

  Preuve: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add libpinyin
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:libpinyin
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/libpinyin>
- **Version:** 2.10.3
- **Résumé source:** Library to deal with pinyin
- **Page d'accueil:** <https://github.com/libpinyin/libpinyin>
- **Dépôt:** <https://github.com/libpinyin/libpinyin>
- **Licence:** GPL-3.0-or-later
- **Archive source:** <https://github.com/libpinyin/libpinyin/archive/refs/tags/2.10.3.tar.gz>
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- gen_binary_files (cli)
- gen_unigram (cli)
- import_interpolation (cli)
- gen_binary_files (alias)
- gen_unigram (alias)
- import_interpolation (alias)

## Dépendances

- berkeley-db
- gettext
- glib

## Dépendances de compilation

- autoconf
- automake
- libtool
- pkgconf

## Comportement d'installation

- hook post-installation: non défini
- Précautions: The formula will switch DBM to Tkrzw in version 2.12 which may impact user data.
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 2.10.3
- données locales: OK
- dépôt amont: https://github.com/libpinyin/libpinyin
- dernière version détectée: 2.10.3 (à jour)
- info: No package-manager update timestamp was available.
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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.

### Sources

- <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>


## Notes de sécurité

library-like package without higher-risk signals.

- **Risque Geiger:** vert / faible
- library-like package without higher-risk signals

## Détails de la base source

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

## Autres enregistrements de gestionnaires de paquets

- 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


## Liens liés

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


## Sources

- 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
