macOS
brew install opencclocal Homebrew formula metadata
sudo port install openccMacPorts ports tree · textproc/opencc/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für opencc in AI-Agent-Workflows.
Installation
brew install opencclocal Homebrew formula metadata
sudo port install openccMacPorts ports tree · textproc/opencc/Portfile · Quelle: api.github.com
sudo apk add openccAlpine Linux edge package indexes · opencc · Quelle: dl-cdn.alpinelinux.org
sudo apt install openccDebian stable package indexes · opencc · Quelle: deb.debian.org
sudo dnf install openccFedora Rawhide package metadata · opencc · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#openccnixpkgs package indexes · pkgs/by-name/op/opencc/package.nix · Quelle: api.github.com
sudo pacman -S openccArch Linux sync databases · opencc · Quelle: geo.mirror.pkgbuild.com
sudo zypper install openccopenSUSE Tumbleweed package metadata · opencc · Quelle: download.opensuse.org
winget install --id BYVoid.OpenCC -eWindows Package Manager source index · BYVoid.OpenCC · Quelle: cdn.winget.microsoft.com
Überblick
Simplified-traditional Chinese conversion tool
Verlauf
OpenCC, Open Chinese Convert, is a conversion library and CLI for Traditional Chinese, Simplified Chinese, Japanese Shinjitai, regional vocabulary variants, and character/phrase-level Chinese script conversion.
BYVoid's project page describes OpenCC as an open source Traditional/Simplified Chinese conversion project with high-quality phrase dictionaries and a C library, originally hosted on Google Code and GitHub. The source header credits Carbo Kuo and contributors from 2010 onward, giving the project a long maintenance history for what could otherwise look like a simple text filter.
The project evolved from a C/C++ conversion library and command-line tool into a multi-ecosystem package. The README lists installation paths through Debian, Ubuntu, Fedora, Arch Linux, Homebrew, WinGet, Bazel, Node.js, and Python, and includes C, C++, Node.js, and Python usage examples.
OpenCC's release history shows the project treating dictionaries and conversion behavior as first-class software. Version 1.1.0 introduced the `ocd2` dictionary format based on Marisa Trie and reduced dictionary size; version 1.3.x rewrote core conversion paths, added Jieba plugin work, and expanded diagnostics such as segmentation and inspection; version 1.4.0 raised the C++ ABI/SOVERSION to avoid silent ABI mismatches.
OpenCC became a common dependency because script conversion is not just character substitution. The project emphasizes distinctions such as one-simplified-to-many-traditional mappings, variant characters, and regional vocabulary across Mainland China, Taiwan, Hong Kong, and Japanese Shinjitai.
The package's breadth across Python, Node.js, WinGet, Linux distributions, Homebrew, and Bazel makes it useful in desktop tools, web backends, NLP preprocessing, publishing pipelines, chat applications, and input-method ecosystems. OpenCC's own documentation states that it is not a Mandarin/Cantonese translation tool, which helps frame its adoption around orthography and vocabulary variants rather than language translation.
Users run the `opencc` CLI with JSON configurations such as Simplified-to-Traditional, Traditional-to-Simplified, Taiwan phrase, Hong Kong phrase, or Japanese Shinjitai conversion modes. Developers embed the library through C/C++, Python, Node.js, or downstream ports when they need deterministic script conversion inside applications.
Dictionary maintainers and power users use `opencc_dict`, inline dictionaries, JSON/JSONC configuration, resource bundles, and diagnostic modes to inspect segmentation and conversion stages. Those tools matter because many conversion bugs are phrase-boundary or regional-vocabulary bugs rather than simple missing characters.
OpenCC is a deceptively deep package: a text converter with ABI, dictionary format, data-resource packaging, language bindings, prebuilt binaries, and region-sensitive data updates. The interesting packaging work is making the executable, shared library, dictionaries, configs, and bindings agree across platforms.
It is also a good example of data as code. Release notes are dominated by dictionary corrections, phrase additions, normalization behavior, and compatibility work, showing why downstreams need both the binary and the exact data files.
Sicherheitslage
Für opencc wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
opencc | cli | globales Executable | |
opencc_dict | cli | globales Executable | |
opencc_phrase_extract | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/BYVoid/OpenCC
Installationsmetadaten
| Paketschlüssel | brew:opencc |
|---|---|
| Version | 1.4.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/opencc |
| Homepage | https://opencc.byvoid.com/ |
| Repository | https://github.com/BYVoid/OpenCC |
| Upstream-Dokumentation | https://byvoid.github.io/OpenCC |
| Lizenz | Apache-2.0 |
| Quellarchiv | https://github.com/BYVoid/OpenCC/archive/refs/tags/ver.1.4.0.tar.gz |
| Zuletzt aktualisiert | 2026-07-01T22:54:50Z |
| Pulse | updated |
| Abhängigkeiten | marisa |
| Build-Abhängigkeiten | cmake |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | opencc |
| 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-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
libopencc-data 1.1.9+ds1-1
simplified-traditional Chinese conversion library - data files
https://github.com/BYVoid/OpenCC
sudo apt install libopencc-datalibopencc-dev 1.1.9+ds1-1+b1
simplified-traditional Chinese conversion library - development
https://github.com/BYVoid/OpenCC
sudo apt install libopencc-devlibopencc-doc 1.1.9+ds1-1
simplified-traditional Chinese conversion library - document
https://github.com/BYVoid/OpenCC
sudo apt install libopencc-doclibopencc1.1 1.1.9+ds1-1+b1
simplified-traditional Chinese conversion library - runtime
https://github.com/BYVoid/OpenCC
sudo apt install libopencc1.1opencc 1.1.9+ds1-1+b1
simplified-traditional Chinese conversion tool
https://github.com/BYVoid/OpenCC
sudo apt install openccpython3-opencc 1.1.9+ds1-1+b1
simplified-traditional Chinese conversion library - Python 3.x
https://github.com/BYVoid/OpenCC
sudo apt install python3-openccopencc
nix profile install nixpkgs#opencclibopencc-data 1.1.7+ds1-1build1
simplified-traditional Chinese conversion library - data files
https://github.com/BYVoid/OpenCC
sudo apt install libopencc-datalibopencc-dev 1.1.7+ds1-1build1
simplified-traditional Chinese conversion library - development
https://github.com/BYVoid/OpenCC
sudo apt install libopencc-devlibopencc-doc 1.1.7+ds1-1build1
simplified-traditional Chinese conversion library - document
https://github.com/BYVoid/OpenCC
sudo apt install libopencc-doclibopencc1.1 1.1.7+ds1-1build1
simplified-traditional Chinese conversion library - runtime
https://github.com/BYVoid/OpenCC
sudo apt install libopencc1.1opencc 1.1.7+ds1-1build1
simplified-traditional Chinese conversion tool
https://github.com/BYVoid/OpenCC
sudo apt install openccopencc 1.3.1-r0
Open Chinese Convert
sudo apk add openccopencc-dev 1.3.1-r0
Open Chinese Convert (development files)
sudo apk add opencc-devopencc-doc 1.3.1-r0
Open Chinese Convert (documentation)
sudo apk add opencc-docopencc-libs 1.3.1-r0
Open Chinese Convert (libraries)
sudo apk add opencc-libsQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.