# Install libchewing with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Intelligent phonetic input method library. Version 0.12.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:libchewing
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libchewing
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libchewing
```

  Evidence: MacPorts ports tree: devel/libchewing/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add libchewing
```

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

- Debian apt (92%):

```sh
sudo apt install chewing-tools
```

  Evidence: Debian stable package indexes: chewing-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install libchewing
```

  Evidence: Fedora Rawhide package metadata: libchewing from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#libchewing
```

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

- pacman (92%):

```sh
sudo pacman -S libchewing
```

  Evidence: Arch Linux sync databases: libchewing from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Ubuntu apt (92%):

```sh
sudo apt install libchewing3
```

  Evidence: Ubuntu 24.04 LTS package indexes: libchewing3 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz

- zypper (92%):

```sh
sudo zypper install chewing-cli
```

  Evidence: openSUSE Tumbleweed package metadata: chewing-cli from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:libchewing
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/libchewing>
- **Version:** 0.12.0
- **Source summary:** Intelligent phonetic input method library
- **Homepage:** <https://chewing.im/>
- **Repository:** <https://github.com/chewing/libchewing>
- **Upstream docs:** <https://chewing.im/>
- **License:** LGPL-2.1-only
- **Source archive:** <https://github.com/chewing/libchewing/releases/download/v0.12.0/libchewing-0.12.0.tar.zst>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- chewing-cli (cli)
- chewing-cli (alias)

## Build dependencies

- cmake
- corrosion
- rust
- texinfo

## Uses from macOS

- sqlite

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.12.0
- Local data: ok
- Upstream repository: https://github.com/chewing/libchewing
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

libchewing is the reusable engine behind Chewing, a Traditional Chinese intelligent phonetic input method for Zhuyin/Bopomofo users. In package-manager terms it is the library layer that lets desktop input frameworks share the same phrase-selection and conversion logic instead of each framework embedding its own engine.

### Project history

The project traces its lineage to the original Chewing input method, an XCIN module for X Window System input. The libchewing README identifies Lu-chuan Kung and Kang-pen Chen as the original developers, with sponsorship from Tsan-sheng Hsu at Academia Sinica between 1999 and 2001.

After the original Chewing work stopped, Jim Huang and others formed the Chewing core team in 2002. The team separated the engine from XCIN coupling and continued the project as New Chewing, while the English project name remained Chewing across input-method frameworks.

### Adoption history

Chewing became a common open-source Zhuyin engine because input framework packages could bind to libchewing rather than reimplementing conversion behavior. The project README lists active integrations for Windows TSF, PIME, IBus, HIME, Fcitx, Fcitx5 macOS, and related front ends, plus older integrations such as SCIM, uim, OpenVanilla, and xcin.

### How it is used

Users normally encounter libchewing indirectly through an input-method front end, while developers and packagers see it as a C/Rust-buildable library plus tools. The package exposes `chewing-cli` in Homebrew and is packaged across Linux distributions, BSD-derived ports, Nix, MacPorts, and Homebrew.

### Why package nerds care

libchewing is a good example of why Unix package ecosystems split engines from front ends: the same linguistic data and candidate-selection logic can serve IBus, Fcitx, Windows, and other shells. For package maintainers, the interesting part is not a command-line tool but the stable shared input-method substrate.

### Timeline

- 1999-2001: Original Chewing XCIN module developed with Academia Sinica sponsorship.
- 2002: Jim Huang and others formed the Chewing core team and extended the original work.
- 2026-04-06: GitHub listed libchewing v0.12.0 among the project's releases.

### Related projects

- Related projects include XCIN, IBus-Chewing, Fcitx Chewing integrations, Windows TSF Chewing, PIME, HIME, and the older bimsphone input method mentioned in the libchewing history.

### Sources

- <https://chewing.im/>
- <https://formulae.brew.sh/formula/libchewing>
- <https://github.com/chewing/libchewing>


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libchewing
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - chewing-tools - 0.9.1-1: normalized package name match | Debian stable package indexes: chewing-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | intelligent phonetic input method library (tools) | https://chewing.im
- Debian apt - libchewing3 - 0.9.1-1: normalized package name match | Debian stable package indexes: libchewing3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | intelligent phonetic input method library | https://chewing.im
- Debian apt - libchewing3-data - 0.9.1-1: normalized package name match | Debian stable package indexes: libchewing3-data from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | intelligent phonetic input method library - data files | https://chewing.im
- Debian apt - libchewing3-dev - 0.9.1-1: normalized package name match | Debian stable package indexes: libchewing3-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | intelligent phonetic input method library (developer version) | https://chewing.im
- Nix - libchewing: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libchewing/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libchewing3 - 0.6.0-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libchewing3 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | intelligent phonetic input method library | https://chewing.im
- Ubuntu apt - libchewing3-data - 0.6.0-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libchewing3-data from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | intelligent phonetic input method library - data files | https://chewing.im
- Ubuntu apt - libchewing3-dev - 0.6.0-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libchewing3-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | intelligent phonetic input method library (developer version) | https://chewing.im
- apk - libchewing - 0.12.0-r0: normalized package name match | Alpine Linux edge package indexes: libchewing from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Intelligent Chinese phonetic input method | https://chewing.im/
- apk - libchewing-dev - 0.12.0-r0: normalized package name match | Alpine Linux edge package indexes: libchewing-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Intelligent Chinese phonetic input method (development files) | https://chewing.im/
- apk - libchewing-tools - 0.12.0-r0: normalized package name match | Alpine Linux edge package indexes: libchewing-tools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Intelligent Chinese phonetic input method (command line tools) | https://chewing.im/
- apk - libchewing-tools-doc - 0.12.0-r0: normalized package name match | Alpine Linux edge package indexes: libchewing-tools-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Intelligent Chinese phonetic input method (man pages for tools) | https://chewing.im/
- dnf - libchewing - 0.12.0-3.fc45: normalized package name match | Fedora Rawhide package metadata: libchewing from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Intelligent phonetic input method library for Traditional Chinese | https://chewing.im
- dnf - libchewing-devel - 0.12.0-3.fc45: normalized package name match | Fedora Rawhide package metadata: libchewing-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development files for libchewing | https://chewing.im
- dnf - python3-libchewing - 0.12.0-3.fc45: normalized package name match | Fedora Rawhide package metadata: python3-libchewing from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Python binding for libchewing | https://chewing.im
- pacman - libchewing - 0.12.0-1: normalized package name match | Arch Linux sync databases: libchewing from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Intelligent Chinese phonetic input method | https://chewing.im/


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://www.automicvault.com/pkg/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [texinfo](https://www.automicvault.com/pkg/brew/texinfo/) - Build dependency declared by Homebrew.
- [fanyi](https://www.automicvault.com/pkg/brew/fanyi/) - Shares av.db curated category or tags: chinese, cli, productivity.
- [fcitx-remote-for-osx](https://www.automicvault.com/pkg/brew/fcitx-remote-for-osx/) - Shares av.db curated category or tags: cli, input-method, productivity.
- [libcdr](https://www.automicvault.com/pkg/brew/libcdr/) - Shares av.db curated category or tags: cli, library, productivity.
- [liblouis](https://www.automicvault.com/pkg/brew/liblouis/) - Shares av.db curated category or tags: cli, library, productivity.
- [libmspub](https://www.automicvault.com/pkg/brew/libmspub/) - Shares av.db curated category or tags: cli, library, productivity.
- [librime](https://www.automicvault.com/pkg/brew/librime/) - Shares av.db curated category or tags: cli, input-method, productivity.
- [libwpd](https://www.automicvault.com/pkg/brew/libwpd/) - Shares av.db curated category or tags: cli, library, productivity.
- [libwpg](https://www.automicvault.com/pkg/brew/libwpg/) - Shares av.db curated category or tags: cli, library, productivity.

## Combined YAML source

View the package source record on GitHub. [combined/libchewing.yml](https://github.com/automic-vault/db/blob/main/combined/libchewing.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
