# 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **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>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

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

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 2.10.3
## 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

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


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