macOS
brew install libpinyinlocal Homebrew formula metadata
brew
Library to deal with pinyin. Version 2.10.3 via Homebrew; verified 2026-04-18.
install
brew install libpinyinlocal Homebrew formula metadata
sudo apk add libpinyinAlpine Linux edge package indexes · libpinyin · source: dl-cdn.alpinelinux.org
sudo apt install libpinyin-common-devDebian stable package indexes · libpinyin-common-dev · source: deb.debian.org
sudo dnf install libpinyinFedora Rawhide package metadata · libpinyin · source: dl.fedoraproject.org
nix profile install nixpkgs#libpinyinnixpkgs package indexes · pkgs/by-name/li/libpinyin/package.nix · source: api.github.com
sudo pacman -S libpinyinArch Linux sync databases · libpinyin · source: geo.mirror.pkgbuild.com
sudo zypper install libpinyin-dataopenSUSE Tumbleweed package metadata · libpinyin-data · source: download.opensuse.org
overview
Library to deal with pinyin
history
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.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
gen_binary_files | cli | global executable | |
gen_unigram | cli | global executable | |
import_interpolation | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/libpinyin/libpinyin
install metadata
| Package key | brew:libpinyin |
|---|---|
| Version | 2.10.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libpinyin |
| Homepage | https://github.com/libpinyin/libpinyin |
| Repository | https://github.com/libpinyin/libpinyin |
| Upstream docs | https://github.com/libpinyin/libpinyin#readme |
| License | GPL-3.0-or-later |
| Source archive | https://github.com/libpinyin/libpinyin/archive/refs/tags/2.10.3.tar.gz |
| Last updated | 2026-04-18T21:51:53-04:00 |
| Pulse | updated |
| Dependencies | berkeley-db, gettext, glib |
| Build dependencies | autoconf, automake, libtool, pkgconf |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
| Caveats | The formula will switch DBM to Tkrzw in version 2.12 which may impact user data. |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libpinyin-common-dev 2.8.1-1
library to deal with PinYin / zhuyin - common development files
https://github.com/libpinyin/libpinyin
sudo apt install libpinyin-common-devlibpinyin-data 2.8.1-1+b2
Data for PinYin / zhuyin input method library
https://github.com/libpinyin/libpinyin
sudo apt install libpinyin-datalibpinyin-utils 2.8.1-1+b2
library to deal with PinYin - utilities
https://github.com/libpinyin/libpinyin
sudo apt install libpinyin-utilslibpinyin15 2.8.1-1+b2
library to deal with PinYin
https://github.com/libpinyin/libpinyin
sudo apt install libpinyin15libpinyin15-dev 2.8.1-1+b2
library to deal with PinYin - development files
https://github.com/libpinyin/libpinyin
sudo apt install libpinyin15-devlibzhuyin-dev 2.8.1-1+b2
Development files for zhuyin input method library
https://github.com/libpinyin/libpinyin
sudo apt install libzhuyin-devlibzhuyin15 2.8.1-1+b2
Zhuyin input method library
https://github.com/libpinyin/libpinyin
sudo apt install libzhuyin15libpinyin
nix profile install nixpkgs#libpinyinlibpinyin-common-dev 2.8.1-1build3
library to deal with PinYin / zhuyin - common development files
https://github.com/libpinyin/libpinyin
sudo apt install libpinyin-common-devlibpinyin-data 2.8.1-1build3
Data for PinYin / zhuyin input method library
https://github.com/libpinyin/libpinyin
sudo apt install libpinyin-datalibpinyin-utils 2.8.1-1build3
library to deal with PinYin - utilities
https://github.com/libpinyin/libpinyin
sudo apt install libpinyin-utilslibpinyin15 2.8.1-1build3
library to deal with PinYin
https://github.com/libpinyin/libpinyin
sudo apt install libpinyin15libpinyin15-dev 2.8.1-1build3
library to deal with PinYin - development files
https://github.com/libpinyin/libpinyin
sudo apt install libpinyin15-devlibzhuyin-dev 2.8.1-1build3
Development files for zhuyin input method library
https://github.com/libpinyin/libpinyin
sudo apt install libzhuyin-devlibzhuyin15 2.8.1-1build3
Zhuyin input method library
https://github.com/libpinyin/libpinyin
sudo apt install libzhuyin15libpinyin 2.11.91-r0
Library to deal with pinyin
https://github.com/libpinyin/libpinyin
sudo apk add libpinyinsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.