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

Rime Input Method Engine. Version 1.17.0 via Homebrew; verified 2026-07-01.

## Install

```sh
sudo av install brew:librime
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install librime
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install librime
```

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

### Linux

- apk (92%):

```sh
sudo apk add librime
```

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

- Debian apt (92%):

```sh
sudo apt install librime-bin
```

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

- dnf (92%):

```sh
sudo dnf install librime
```

  Evidence: Fedora Rawhide package metadata: librime 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#librime
```

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

- pacman (92%):

```sh
sudo pacman -S librime
```

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

- zypper (92%):

```sh
sudo zypper install librime-devel
```

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

## Package facts

- **Package key:** brew:librime
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/librime>
- **Version:** 1.17.0
- **Source summary:** Rime Input Method Engine
- **Homepage:** <https://rime.im>
- **Repository:** <https://github.com/rime/librime>
- **Upstream docs:** <https://github.com/rime/librime#readme>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/rime/librime.git>
- **Last updated:** 2026-07-01T22:54:50Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- rime_deployer (cli)
- rime_dict_manager (cli)
- rime_patch (cli)
- rime_table_decompiler (cli)
- rime_deployer (alias)
- rime_dict_manager (alias)
- rime_patch (alias)
- rime_table_decompiler (alias)

## Dependencies

- capnp
- gflags
- glog
- leveldb
- lua
- marisa
- opencc
- yaml-cpp

## Build dependencies

- boost
- cmake
- icu4c@78
- pkgconf

## 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: 1.17.0
- Package-manager updated: 2026-07-01
- Local data: ok
- Upstream repository: https://github.com/rime/librime
- info: No cached GitHub release or tag data was available.
## Project history and usage

librime is the core C++ library for RIME, the Rime Input Method Engine. It provides a modular, extensible Chinese input-method engine with YAML-based schemas, support for shape-based and phonetic input, Traditional Chinese output, OpenCC-based Simplified Chinese conversion, and wrappers for platform input-method front ends.

### Project history

The RIME project presents librime as the core library and lists surrounding projects such as plum for configuration recipes, ibus-rime for Linux/IBus, Weasel for Windows, and Squirrel for macOS. The librime README describes the engine as cross-platform C++ code built on open source technologies and designed around customizable schemas.

Release history visible on GitHub shows active 1.x maintenance from at least 2018 onward, including 1.3.2 on November 12, 2018, 1.5.x releases in June 2019, 1.7.x releases in early 2021, and 1.13.1 released on February 16, 2026.

### Adoption history

librime's adoption comes from users who want a portable, deeply configurable Chinese input method rather than separate platform-specific engines. The same core can support Linux desktops through IBus or Fcitx, macOS through Squirrel, and Windows through Weasel, while user dictionaries and schemas remain part of the broader RIME ecosystem.

For package managers, the library is the reusable dependency underneath desktop IME packages and command-line maintenance tools. That makes it visible not just to end users choosing an input method, but also to packagers dealing with dictionaries, OpenCC, YAML schemas, and desktop integration paths.

### How it is used

Packaged users normally configure RIME by editing schema and dictionary files in the platform-specific Rime user directory, then triggering deployment through the platform front end or tools such as rime_deployer and rime_dict_manager. Developers use librime when building or packaging an input-method front end.

### Why package nerds care

librime is package-nerd significant because it splits an input method into a reusable engine, platform adapters, schemas, dictionaries, and recipe management. That architecture makes it unusually hackable for language input: the package is not just an app, but the core of a configurable typing system.

### Timeline

- 2018-11-12: librime 1.3.2 released.
- 2019-06-06: librime 1.5.0 released.
- 2021-01-17: librime 1.7.0 released.
- 2024-02-10: librime 1.10.0 released.
- 2026-02-16: librime 1.13.1 released.

### Related projects

- Related projects include RIME, plum, ibus-rime, fcitx-rime, fcitx5-rime, Squirrel, Weasel, OpenCC, YAML schema collections, and RIME dictionaries.

### Sources

- <https://github.com/rime/librime>
- <https://github.com/rime/librime/releases/tag/1.10.0>
- <https://github.com/rime/librime/releases/tag/1.13.1>
- <https://github.com/rime/librime/releases/tag/1.5.0>
- <https://rime.im/>
- <https://rime.im/code/>
- <https://rime.im/docs/>


## Security Notes

library-like package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Linux: ~/.config/ibus/rime, ~/.config/fcitx/rime, ~/.local/share/fcitx5/rime/
- macOS: ~/Library/Rime
- Windows: %APPDATA%\Rime
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** librime
- **Version Scheme:** 0
- **Revision:** 1
- **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 - librime-bin - 1.13.1+dfsg1-1: normalized package name match | Debian stable package indexes: librime-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Rime Input Method Engine - utilities | https://github.com/rime/librime
- Debian apt - librime-dev - 1.13.1+dfsg1-1: normalized package name match | Debian stable package indexes: librime-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Rime Input Method Engine, the core library - development files | https://github.com/rime/librime
- Debian apt - librime-plugin-charcode - 1.13.1+dfsg1~git20240319-1: normalized package name match | Debian stable package indexes: librime-plugin-charcode from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Rime Input Method Engine - charcode plugin | https://github.com/rime/librime-charcode
- Debian apt - librime-plugin-lua - 1.13.1+dfsg1~git20241221-1: normalized package name match | Debian stable package indexes: librime-plugin-lua from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Rime Input Method Engine - Lua extension plugin | https://github.com/hchunhui/librime-lua
- Debian apt - librime-plugin-octagram - 1.13.1+dfsg1~git20241118-1: normalized package name match | Debian stable package indexes: librime-plugin-octagram from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Rime Input Method Engine - octagram plugin | https://github.com/lotem/librime-octagram
- Debian apt - librime1t64 - 1.13.1+dfsg1-1: normalized package name match | Debian stable package indexes: librime1t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Rime Input Method Engine - core library | https://github.com/rime/librime
- Nix - librime: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/librime/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - librime-bin - 1.10.0+dfsg1-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: librime-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Rime Input Method Engine - utilities | https://github.com/rime/librime
- Ubuntu apt - librime-dev - 1.10.0+dfsg1-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: librime-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Rime Input Method Engine, the core library - development files | https://github.com/rime/librime
- Ubuntu apt - librime-plugin-charcode - 1.10.0+dfsg1~git20230904-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: librime-plugin-charcode from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Rime Input Method Engine - charcode plugin | https://github.com/rime/librime-charcode
- Ubuntu apt - librime-plugin-lua - 1.10.0+dfsg1~git20230917-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: librime-plugin-lua from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Rime Input Method Engine - Lua extension plugin | https://github.com/hchunhui/librime-lua
- Ubuntu apt - librime-plugin-octagram - 1.10.0+dfsg1~git20230125-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: librime-plugin-octagram from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Rime Input Method Engine - octagram plugin | https://github.com/lotem/librime-octagram
- Ubuntu apt - librime1t64 - 1.10.0+dfsg1-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: librime1t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Rime Input Method Engine - core library | https://github.com/rime/librime
- apk - librime - 1.17.0-r0: normalized package name match | Alpine Linux edge package indexes: librime from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Rime input method engine | https://github.com/rime/librime
- apk - librime-dev - 1.17.0-r0: normalized package name match | Alpine Linux edge package indexes: librime-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Rime input method engine (development files) | https://github.com/rime/librime
- apk - librime-nolog - 1.17.0-r0: normalized package name match | Alpine Linux edge package indexes: librime-nolog from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Rime input method engine (with logging disabled) | https://github.com/rime/librime


## 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.
- [capnp](https://www.automicvault.com/pkg/brew/capnp/) - Runtime dependency declared by Homebrew.
- [gflags](https://www.automicvault.com/pkg/brew/gflags/) - Runtime dependency declared by Homebrew.
- [leveldb](https://www.automicvault.com/pkg/brew/leveldb/) - Runtime dependency declared by Homebrew.
- [lua](https://www.automicvault.com/pkg/brew/lua/) - Runtime dependency declared by Homebrew.
- [marisa](https://www.automicvault.com/pkg/brew/marisa/) - Runtime dependency declared by Homebrew.
- [opencc](https://www.automicvault.com/pkg/brew/opencc/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [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.
- [libchewing](https://www.automicvault.com/pkg/brew/libchewing/) - Shares av.db curated category or tags: cli, input-method, productivity.
- [nuspell](https://www.automicvault.com/pkg/brew/nuspell/) - Shares av.db curated category or tags: c-plus-plus, cli, productivity.
- [a2ps](https://www.automicvault.com/pkg/brew/a2ps/) - Shares av.db curated category or tags: cli, productivity.
- [abook](https://www.automicvault.com/pkg/brew/abook/) - Shares av.db curated category or tags: cli, productivity.
- [acronym](https://www.automicvault.com/pkg/brew/acronym/) - Shares av.db curated category or tags: cli, productivity.
- [ad](https://www.automicvault.com/pkg/brew/ad/) - Shares av.db curated category or tags: cli, productivity.
- [aerc](https://www.automicvault.com/pkg/brew/aerc/) - Shares av.db curated category or tags: cli, productivity.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
